Shopify themes, liquid, logos, and UX
I've been looking around on how to add the low stock display to my product page when my stock gets low to create urgency, but so far all the coding I've found doesn't work with my page or displays the low stock feature in the wrong spot. I want the low stock feature to display beside quantity or beside the price. Can anyone help me out?
Store url: https://monteithoutfitters.com/
Hi @TM_Outfitters,
You can modify product section. Liquid example code below:
{% if
current_variant.inventory_quantity < 5
and current_variant.inventory_management == 'shopify' %}
<p>Almost Sold Out!</p>
{% endif %}
Regards,
Sam - Owner Lead Developer
Achieve Applabs
Hi there, if you do not want to do coding by yourself, you can check for low stock apps in the app store. One of them is Hey! Low Stock Counter which does not require any coding on your end.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025