#836 Product variation does not work due to undefined doAjaxPrice function (v6.3.1)

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Product variations are not working on the product details page.
The generated JavaScript currently calls:
doAjaxPrice(12, 'option-2')
This results in the following console error:
Uncaught ReferenceError: doAjaxPrice is not defined
The function should be called through the J2Commerce namespace instead:
window.J2Commerce.doAjaxPrice(12, 'option-2')
Please update the generated variation handler to use window.J2Commerce.doAjaxPrice() so that product variation selection and price updates work correctly.

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.