Shopify themes, liquid, logos, and UX
Is there a way to have "Last One" or similar wording appear on item pages without having inventory quantity available for all products or manually type in description of each product when they are close to selling out?
For single variant products on the initial page load for OS2.0 themes like dawn in the product template form settings add a custom-liquid block and the following code.
{% if product.selected_variant.inventory_quantity == 1 %}
<p>Last One</p>
{% endif %}
Note it's a bit more advanced to have it update without reload when different variants are selected and depends on theme.
If you need this customization you can contact me , info in signature and please provided context(this forum post, store url ,theme, details).
User | RANK |
---|---|
124 | |
98 | |
74 | |
72 | |
41 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022