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

Variations doest not appear correctly

Hi,

The variation swatches don’t appear correctly on the Archive Page.

Can you please help ?

https://staging.ector-sneakers.com/c/femme/femme-sneakers-baskets/

Thank you a lot,

BR

Hakik Zaman

Hi Dimitri,

Thanks for reaching out to us. We are sorry for your inconvenience.

Will you help us to reproduce your issue on our staging?

We will ready a staging site, you just need to install your theme and reproduce your issue there.

Note: We will install and add all necessary plugins, and sample data for you.

Please let me know your thought.

Thank you

Hi,

This is a staging site.

I put you all access to backoffice in my ticket.

Is it ok for you ?

BR,
DM

Hakik Zaman

Hi Dimitri,

Please add the below code inside your child theme’s functions.php or use the Code Snippets plugin and create a snippet by adding the below code-

add_action('woo_variation_swatches_pro_archive_page_loaded', function($wvs_pro){

remove_action('woocommerce_init', array( $wvs_pro, 'enable_swatches' ), 1);

add_action('woocommerce_after_shop_loop_item_title', array( $wvs_pro, 'after_shop_loop_item' ), 9);

}, 10, 1);

Then let me know if it resolves your issue or not. Hope to hear from you soon!

Thank You

Hi,

Thanks for you answer, but it doesn’t work 🙁

Please, help me.

Best Regards,

Dimitri

Hakik Zaman

Hi Dimitri,

I have added a plugin Code Snippets and created a snippet GetWooPlugin Archive Support

Please check your shop/archive page and before checking don’t forget to clear your cache.

Now swatches are displayed like this from my side. Hope to hear from you soon!

Thank You

Hi, thanks for you replay.

It seem to work ! Great !
But the picture doesn’t change when i click… how can i do that ?

Best Regards,

DM

Hakik Zaman

Hi Dimitri,

I have added the product wrapper and image selector according to your theme.

Please check now, before checking don’t forget to clear your cache like- Browser Cache, Caching Plugin Cache, and Server-side cache (if you have any).

Hope to hear from you soon!

Thank You

It works perfectly ! 🙂

Thank you a lot

Do you just know how to make when you choose a color on the shop / archive page, it links to the same variation on the product page ?

Hakik Zaman

Hi Dimitri,

Can you please check this screencast?

Please let me know if it resolves your issue.

Thank You

Thanks for your screencast.

The configuration was already like this. In fact, it is when you click on the photo that the variation is not the same.

Do you have any idea how to solve this?

Thanks you a lot

Dimitri

Hakik Zaman

Hi Dimitri,

Could you 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

Hakik Zaman

Hi Dimitri,

Our plugin will not work as you described in your screencast.

Please check this screencast to know “Keep selected attribute from the archive to the single product page”.

Thank You