fbpx
🤝  NEW YEAR SALE RETURNS - 50% OFF all plans! 🤝 Grab it Now

duplicate variations button on catalog

How can I fix this?

why there are two rows with the same options?

I am using with Rey theme with elementor

Screenshot_1.jpg

Rezwan Shiblu

Hi Antonis,

Unfortunately, your screenshot was not attached properly.
Please upload your screenshot here- https://prnt.sc/ and post the screenshot link here.

Thanks.

Rezwan Shiblu

Hi Antonis,

Thanks for sharing the screenshot.

Please try to add the below code to your dashboard by using the code snippet plugin –

add_action('woo_variation_swatches_pro_archive_page_loaded', function($wvs_pro){
   remove_action('woocommerce_init', array( $wvs_pro, 'enable_swatches' ), 1);
}, 10, 1);

Let me know if this helps.

 

Hi,

It worked, thank you

Any reason why this is not working when I paste it in the functions.php?

 

 

 

Rezwan Shiblu

Hi Antonis,

Glad to hear that it worked.

This problem is caused by Elementor since many builders replace the default woo-commerce loop, and our swatches work with the default woo-commerce loop.

We really get excited & honored when you use our plugin on your site.

If you found my support helpful, could you leave your valuable review here: https://wordpress.org/support/plugin/woo-variation-swatches/reviews/?filter=5

Your rating keeps us inspired.

Thank You