Tagged: javascript error, variable product, woocommerce
Everything used to work fine when creating variable products with multiple attributes and variations. Now we are unable to add attributes/variations or save those options. Enfold & WP & Woocommerce are all up to date. Plugins turned off except Woo & table shipping. The one avia.js in the enfold child theme has been deleted. It looks like there are thousands of javascript errors on the product edit page.
Hi hmsvictory!
Can you please reuplaod the theme files through FTP and let us know if that will solve your issue?
Thanks a lot
Regards,
Basilis
That was the first thing I did, but I reupload the theme again just to be sure – no improvement. The problem is still there.
Hi,
Can you please update your PHP version to at least 5.6? You are currently on v5.4.43.
Best regards,
Yigit
Good idea. It worked!
As I test and work with it more, I did find one more problem.
Previously I had customized avia.js in the child theme to prevent lightbox from working on one page-id. Today I created a new customized avia.js using the most recent avia.js from the theme download. When I add that to the child theme, I still have problems in the product attributes & variations. When I delete the avia.js from the child theme js folder, everything works as normal. Very unusual.
Hi,
I don’t think we could help you with this kind of customization, but feel free to let us know about those customizations you want to do. Show us the content of your avia.js which is causing problems.
Best regards,
Andy