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

Swatches are not working

Atiqur Rahman

Hi There,

Swatches are not working for some of the product sometimes. Can’t select the variations. After clearing the cache it is working again. Also not for all products. Check this one https://donaldross.com/product/mens-italian-merino-sweater/ . Litespeed cache is using by the site.

Screen Shot 2023-11-20 at 1.11.21 PM.png

Hakik Zaman

Hi Atiqur,

Thanks for getting back to us. It seems like a caching issue.

The product link you have given is working fine from my side.

During my tests, I have recorded my screen: https://www.loom.com/share/c240d26dca7d4271b3334b901e6687e7

Please flush all the caches like- browser cache, caching plugin cache, and server-side cache [if you have one].

Thank You

Atiqur Rahman

Hi Hakik,

Can you check the incognito mode? It is working there. Yeah it is a cache issue. After clearing the cache it goes away. But all of sudden it comes back after couple of days for some of the product.

Thanks!!!

Hakik Zaman

Hi Atiqur,

Yes, I use always incognito mode for support purposes.

You can exclude our Swatches script from the Litespeed caching plugin.

Our plugin scripts are already minified. The path of the scripts:

JS:

wp-content/plugins/woo-variation-swatches/assets/js/frontend.min.js

wp-content/plugins/woo-variation-swatches-pro/assets/js/frontend-pro.min.js

CSS:

wp-content/plugins/woo-variation-swatches/assets/css/frontend.min.css

Thank You

Atiqur Rahman

Hi Hakik,

After we cleared the cache maybe it is working now. Now it always not working after couple of days. Ok i will try your solution.

Hakik Zaman

Hi Atiqur,

Please let me know if you have any questions.

Or,

Can I close this ticket?

Thank You

Atiqur Rahman

Hi Hakik,

This is still not working with your suggested way.

Thanks!!!

Hakik Zaman

Hi Atiqur,

Please recreate the issue and let me know. So that I can check it for you.

Thank You

Atiqur Rahman

Hi Hakik,

The problem is still there and you can check.

Hakik Zaman

Hi Atiqur,

Can you please give us temporary admin access to your site? We’ll try to investigate the issue for you.

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.

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!