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 |
---|---|
61 | |
55 | |
47 | |
42 | |
40 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023