Variation change javascript hooks
-
Hello.
I’m trying to hook into the javascript hooks for variation changes (add-to-cart-variation.js) but i can’t seem to get any response from any of them. I’m currently bypassing this by using the jQuery ajaxSuccess function to check when the variation changes. This works and I get the all the data i need from the ajax responseJSON.The goal is to show the variation price for each individual variation. But now we want to add the ability to change the parent variable product as well, and this workaround will not work anymore. Is there any specific reason why the hooks would not work, or is there anything i should be doing other than just initialising them like any other js ?
The topic ‘Variation change javascript hooks’ is closed to new replies.