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

I can’t display the variation swatches on the archive pages

Ruud Onclin

I can’t display the variation swatches on the archive pages with the WP grid builder plugin.

Can you help me with this?

Cheers,

Dimitri

Hakik Zaman

Hi Ruud,

Thanks for reaching out to us.

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 Ruud,

Are you using this to loop the product card- https://paste.pics/R0FF0?

Did you try our Shortcode- [wvs_show_archive_variation] on the product card?

I have tried to add a block, it always generates this error- https://paste.pics/R0FFI

Hope to hear from you soon.

Thank You

Ruud Onclin

I’m indeed using the product card.

I’ve added the shortcode without any problems. But now the wrong swatches are shown.

Can you look into this?

Ruud Onclin

Can you please help me with this. Because I need this functionality by today. 🙂

Thanks in advance!

 

Hakik Zaman

Hi Ruud,

Please contact the WP Grid builder support and ask for a hook to get the dynamic data with each product card.

I have added a snippet to display the product ID, unfortunately, it is displaying the same product ID with each product card. I have kept it for you to check. Here is the screenshot- https://paste.pics/R0IFA

We need a hook that displays each Product ID after each product card to get the correct Swatches data.

I hope this will clear up your confusion.

Thank You

Ruud Onclin

Thank you for your explantion. I’ve submitted the support ticket.

Is there noting else how we can achive this?

Ruud Onclin

Can you please not show the ID’s. My pagination is not working because of that….

Hakik Zaman

Hi Ruud,

Is there noting else how we can achive this?

Each product has a unique ID. They are using the Gutenberg block to display their grid.

We have support for the Products (Beta) block to display swatches. It is difficult for us to understand how they render the products for their product card.

As it is getting always the same ID, it is displaying the same swatches.

Note: The swatches should come with only the Variable product, I can see it is coming with your Bundle-Type Product. So, it is unable to check the product type as well.

So, let’s wait for the WP Grid Builder support response.

I have disabled the product ID, and you can enable it anytime from here- https://paste.pics/R0IL6

Thank You

Ruud Onclin

Great thank you for your explanation on this. I’ve contact with WP Gridbuilder so I think I get response today.

Thank you!

Hakik Zaman

Hi Ruud,

Unfortunately, it doesn’t help. I have tried all the ways to make it work

You can open a private ticket with the Order ID regarding a refund, as it is not working with your current WP Grid Builder Setup.

Thank You

Ruud Onclin

Hi Hakik,

I’ve seen that you have the product ID’s. Why does it not work. I need it to get it working.

Hakik Zaman

Hi Ruud,

Yes, I have successfully written a script to get the Product ID, but it is skipping the shortcode.

It is always getting the initial product ID and displaying the same swatches for all the products.

I have tried to clear the caches from here- https://prnt.sc/fVWNLcVsZa-i

It didn’t help to get it to work. I have already discussed it with my development team.

Unfortunately, they are also unable to find it. Sorry for this inconvenience.

Thank You