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

Swatches dissapear after product are loaded via ajax

Félix Papiernik

Hello,

I have a problem. I succesfully added swatches to product archive, so it displays in each product. However, when I use jetsmartfilters, products are loaded by ajax and then swatches dissapear.

Could you help me please?

Hakik Zaman

Hi Félix,

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.

Also, give me an exact link to investigate it further.

Hope to hear from you soon.

Thank you

Hakik Zaman

Hi Félix,

I am getting this during my tests: https://paste.pics/ORM1X

Should I take over?

Thank You

Félix Papiernik

Sorry for late response and yes, you can do anything on that site, it’s only for testing purposes. It’s subdomain.

Hakik Zaman

Hi Félix,

Please make sure you are displaying a different template after filtering or not.

Because if you filter on the page you will get pagination: https://paste.pics/ORMCW.

It is not displaying on the first load. Even if you revert back the price then you will get more products on that page.

Please try to contact the Jet Filter team to ensure your page is set up. I hope they will happily help you with the setup.

For their convenience, I have added the modified files of Jet Woo Builder. You will get them inside the Astra Child theme. I have also created a child theme for you.

So regarding your filter setup, I would request you contact the Jet Support team.

Thank You

Félix Papiernik

There was a problem that somehow mi hidden product grid appeared after filtering products, so I fixed it. However, the problem was I added snippet to display swatches in products grid – but it was running only on frontent. I changed it to “run everywhere” and it’s working! I’m so glad.