Liquid, JavaScript, themes, sales channels
How do I hide variant images when they are out of stock?
I have hidden variants from the dropdown when they are out of stock, but how do I hide images that are assigned to those variants?
Thanks in advance!
Hi @hankblip
Sincerely hope you're having a great day!
I've read your problem and, before providing a solution, would like to analyze your website. Then, I will provide a solution to you up here - on the forum.
Could you share your website URL? And if your website is password protected, then also provide a password?
Sending you a PM now
Hi @hankblip
Hope you're having a great day!
I saw your website. Could you show me a product that has the problem you are trying to solve?
Hi @Michal17, here is a link to an example: ESP Undertaker
you will see that the variants that are out of stock do not show in the variant list, but then the images of those variants still reflect. How can I hide those images that are attached/assigned to the variants that are now out of stock?
Let me know if that makes sense.
Hi @hankblip
Hope you're having a great day!
By following the steps above, could you share the content of sections/product-template.liquid file?
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024