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 |
---|---|
221 | |
146 | |
63 | |
46 | |
45 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023