Home › Forums › Basel support forum › JS error in console
JS error in console
- This topic has 6 replies, 2 voices, and was last updated 4 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
October 28, 2020 at 6:03 pm #236872
Marketing strategijeParticipantHi,
this is my problem. After updating my plugins and wordpress and theme on latest version, everything falls apart. Product add-ons (variations) are not working.
This is the live site before update where you can see on the frontend how everything is working:
Now this is the test site after update:
https://izradaweba.online/topchair/
And here you can see on product that I cant see product variations like I can on live site.
Before contacting you I contacted plugin support and they told me:
“I’ve checked your website and there is a JS error in console related this theme file:
https://izradaweba.online/topchair/wp-content/themes/basel/js/slick.min.js?ver=5.3.0”Also I can add this, why this error occurs?
Uncaught TypeError: a[f].slick is undefined
slick https://izradaweba.online/topchair/wp-content/themes/basel/js/slick.min.js?ver=5.3.0:19
swatchesVariations https://izradaweba.online/topchair/wp-content/themes/basel/js/functions.js?ver=5.3.0:4827
jQuery 7
onFoundVariation https://izradaweba.online/topchair/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=4.6.1:1
jQuery 7
onFindVariation https://izradaweba.online/topchair/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=4.6.1:1
jQuery 7
onChange https://izradaweba.online/topchair/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=4.6.1:1
jQuery 2Can you please help?
October 28, 2020 at 9:48 pm #236897
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
Please provide your updated site admin access we need to check.
Best Regards
October 29, 2020 at 4:43 am #236920
Marketing strategijeParticipantHi, Im sending it
October 29, 2020 at 8:57 am #236977
Elise NoromitMemberHello,
As for the variations, it seems some of the settings have rested. You need to select the attribute in the Theme Settings > Shop page > Attribute and swatches. https://prnt.sc/v98fdf
I am checking the site and do not see any JS errors https://prnt.sc/v98fs4 Please advise how can I reproduce it?
Are there any other differences between update and not updated site?
Best Regards
October 29, 2020 at 9:41 am #236987
Marketing strategijeParticipantHi did you check the errors Ive sent you?
The fact is after update the variations dropdown doesnt work like it works before the update.
Try openinng any products that has variations
for example these:
https://izradaweba.online/topchair/proizvod/6900-orga/
https://izradaweba.online/topchair/proizvod/1890-infinity/
Even the images of the product dont show.
October 29, 2020 at 9:42 am #236988
Marketing strategijeParticipantAlso the atribute setup is the same
Attachments:
You must be logged in to view attached files.October 29, 2020 at 12:46 pm #237046
Elise NoromitMemberHello,
A variable product should have images for each variation https://gyazo.com/79881ce46cc7f3e9ac7a6ece344744bb
Updating the site does not remove images from product variations, please check this instruction: https://xtemos.com/docs/basel/attribute-swatches/
I have checked the error in the console, please tell me how can I reproduce or see this error.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register