fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Variation selection not working – _.contains is not a function

Elias Böni

Hi,

I just updated to the newest version 1.1.8 in free and pro version. Selection of the variation is not working properly. Console is showing me, that the variation is selected and the price will be shown if a complete product variation is found. But the changes with css aren’t working. Coz I the missing class look like missing. Console is showing me following “_.contains is not a function” error in frontend.min.js

Happy for any help resolving this issue!

Cheers

console.png

Elias Böni

Changing the contains functions to includes would fix the issue. What do you think about that and would you be able to change this in future versions?

Tanvirul Haque

Hi Elias,

Thank you for reaching out to us. Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.

=> See if the problem persists. If the issue is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

If the plugin conflict check doesn’t help, please record me reproducing your issue using a tool like this? https://www.useloom.com
It helps me to figure out the issue quickly and squash it immediately.

And don’t forget to add your site login details in the site login details area. I’ll check what’s happening there.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thank you