-- 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
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.