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

Switch variation image when single attribute selected on product page.

This is not working at all!!!!!!!

Hakik Zaman

Hi Lauren,

Thanks for reaching out to us. Don’t worry about a refund, we will give you a full refund.

Could you please explain a bit more about your issue? So that we can help you to achieve what you wanted.

You can record me reproducing your issue using a tool like this- https://www.useloom.com. It helps me to quickly figure out the issue.

Thank you

Now I have a different problem – How can I remove the swatches on Related Products?

Hakik Zaman

Hi Lauren,

I am very glad that you found a solution.

How can I remove the swatches on Related Products?

If you are using a child theme then paste the below code inside your child theme’s functions.php

or, you are not using a child theme then install a plugin Code Snippets and paste the below code as a snippet-

function remove_swatch_from_single_product(){
   if(is_product()):
      remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 7 );
      remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 30 );
   endif;
}
add_action('template_redirect', 'remove_swatch_from_single_product');

Thank You

Hakik Zaman

Hi Lauren,

Glad to know everything is working fine from your side.

You can let me know if you have any further issues.

or, Can I close this ticket?

Hope to hear from you soon!

Thank You

Hakik Zaman

Hi Lauren,

Please don’t hesitate to open a new ticket if you face any issues in the future.

Have a nice day!

Thank You