Variable Product – add_to_cart_variation.js not called
-
Hi.
I have created a custom theme and tried to integrate woocommerce into it.
Everything works fine EXCEPT… The add-to-cart-variation.min.js is not called on page load for variable products, so nothing happens when selecting an attribute fron the dropdown. Switching back to twentytwelve theme resolves the issue and the script is called and attributes updated accordingly. Obviously it is a problem with my theme.I have tried calling the script manually and including it in enqueued scripts and in the header, but the script does not manage to run through the initial function and “please choose product options” is displayed.
I have tried everything i can find on the forums but to no avail.
Thanks,
JT
- The topic ‘Variable Product – add_to_cart_variation.js not called’ is closed to new replies.