[Skip to main content](#vessel-content)

#   no update on VAT-ID change

##

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#272419](#272419) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272419 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")* was created by *[peteo](/forum/user/33887-peteo "View peteo's Profile")*

-- HikaShop version -- : 3.1
-- Joomla version -- : 3.7
-- PHP version -- : 7.1

I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with Code:

window.hikashop.toggleField(this.value,'address_vat','address_1_1',0,'hikashop_checkout_');

not being executed when that field changes.

The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.

How can I debug that? There is no JS error in the console.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272426](#272426) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272426 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Hi,

Thank you for your feedback. That's not a javascript problem. It's a caching issue on the server-side.
I've added a big patch on a few files to fix that.
Download again the install package on our website and install it on yours and you'll get the patches.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#272489](#272489) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272489 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

I installed the update. Now the VAT update works again but all custom fields of type "item" are missing in the checkout even when I have no overrides in place.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago -  9 years 5 months ago [\#272491](#272491) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272491 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

... and the link in the order confirmation email points to the homepage, not to the order.

- [ ![hika1&#95;2017-06-22.PNG](/forum/attachment/38849) ](/forum/attachment/38849 "...2017-06-22.PNG") [ ](/forum/attachment/38849?download=1 "...2017-06-22.PNG")

Last edit: 9 years 5 months ago by [peteo](/forum/user/33887-peteo "View peteo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272530](#272530) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272530 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Hi,

We didn't change these and they still work for us.
Please provide a backend access and the instructions to reproduce these issues so that we can check on them.
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272616](#272616) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272616 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Hi,

We've found the issue for the custom item fields.
Download again the install package on our website again and install it again and you'll get the patch for that.

Regarding the link which doesn't work, this link has been added as a customization of the HTML version on your end with such custom code: Code:

&lt;?php echo sprintf(JText::_('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE'), $data-&gt;order_number); echo ' &lt;a href="https://kite-and-windsurfing-guide.com'.$data-&gt;order_url.'"&gt;'.JText::_('HIKASHOP_ORDERSUMMARYONLINE').'&lt;/a&gt;'.PHP_EOL; ?&gt;

So that has to be fixed on your end. I would recommend to use instead the variable $data-&gt;order-&gt;order_url which already contains the full link to access the order.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#272622](#272622) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272622 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Thanks. Installed it but still cant see custom fields in the checkout. Just try it yourself with the workflow I decribed in the email.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#272623](#272623) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272623 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

... and you reintroduced the initial bug "no update on VAT-ID change", so I downgrade to the version from yesterday ...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#272634](#272634) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272634 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Can I help debugging that? I really need to solve that quickly. I have no idea what my users are ordering as long as there are no values in the product customisation.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272625](#272625) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272625 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Hi,

We didn't reintroduced the problem with the VAT-ID change. The custom field fix is not related to that.
Also, I've checked your link but you have another problem which isn't linked to the fix.
The add to cart link you've added manually on your page is not valid. I get that:
[ www.kite-and-windsurfing-guide.com/check...ata-Array/cid-1.html](https://www.kite-and-windsurfing-guide.com/checkout/product/updatecart/quantity-1/add-0/checkout-1/data-Array/cid-1.html)
That's because the SEF system doesn't handle [] in the URLs.
You should extract the custom field parameters from the URL and add them to the URL after the call to the SEF function and it will work.

Best regards,
Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 5 months ago [\#272663](#272663) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272663 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

> You should extract the custom field parameters from the URL and add them to the URL after the call to the SEF function

Ok. How?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 5 months ago [\#272673](#272673) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[no update on VAT-ID change](/forum/27-checkout/890825-no-update-on-vat-id-change#272673 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  I have a one page checkout. When a user enters a valid VAT-ID in the address section above the cart, the cart should update accordingly using AJAX so the appropriate VAT is applied. There seems to be an issue with  not being executed when that field changes.  The correct tax rule is only applied after saving the address block including the VAT-ID field AND a manual reload of the page.  How can I debug that? There is no JS error in the console.")*

Hi,

I can't say exactly. It depends on how you added that button on that link.
What code did you add to get that "Proceed to Checkout" button there ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MDgyNS1uby11cGRhdGUtb24tdmF0LWlkLWNoYW5nZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
