I made a custom product page for woocommerce. After the update of enfold to the latest version, javascript I added inline using <script> tags is not working anymore. How can this be solved?
Hey Plottershop,
Without seeing the actual problem it’s going to be difficult to help you out.
Best regards,
Rikard
See my content-single-product.php
The js code is not working here
Hi,
Great, thanks for the code. Could we see the problem on an actual website as well please? Are you seeing any error messages in the console?
Best regards,
Rikard
Hi Plottershop,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria
I was able to fix it by hooking it in the footer.
Hi,
Great, glad you found a solution. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
I am also facing the same issue. after updating of theme to latest version my custom javascript stopped working.
Steps:
1. go to given URL
2. Add any product to cart
3. Go to Checkout page
If you use jquery, you have to place it in a no conflict wrapper.
Hi,
Thanks for sharing @plottershop
Best regards,
Rikard