Shopify themes, liquid, logos, and UX
Hi,
On my product page I show a message when an item is out of stock or when something is in stock.
I have enabled "continue selling when out of stock" for my Webshop. The problem is that when size "S" is sold out, the product loads saying "out of stock". Lets say size "M" is in stock I would like the product page to load with variant "M" So the message "In stock" is shown. I tried googling it but only came to this site:
This points me in the right direction but I would need a bit more explanation where and how to loop etc.
Hope you guys can help me out.
I'm using the Empire theme
Thanks
Try this
https://gist.github.com/enamhasan/de39c2a078fe47735996e9c0ccc77e48
User | RANK |
---|---|
210 | |
166 | |
70 | |
55 | |
53 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023