Shopify themes, liquid, logos, and UX
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hello,
I am using Supply theme and if there are some items (variants of items) in stock the message says "Only X items left!" (standard theme feature).
What I wanted to have is custom message when there is 0 items in stock.
For example:
There are 5 items (variants of items) in stock so message says:
"Only 5 items left!" (as it is now)
There is 0 items in stock so message would say:
"Item available from a supplier. Allow 2-3 weeks to deliver"
Here is a code for standard "only x items left" feature inserted.
{% if section.settings.product_quantity_message%} <div id="variantQuantity-{{ section.id }}" class="variant-quantity {% if variant.inventory_management and variant.inventory_quantity < 10 and variant.inventory_quantity > 0 %} is-visible{% endif %}"> {% include 'svg-definitions' with 'stock-icon' %} {% if variant.inventory_management and variant.inventory_quantity < 10 and variant.inventory_quantity > 0 %} {% assign qty = variant.inventory_quantity %} <span id="variantQuantity-{{ section.id }}__message">{{ 'products.product.only_left' | t: count: qty }}</span> {% endif %} </div>
Could please anyone help?
Thank you.
Regards
Solved! Go to the solution
I would like to show a message like "Currently out of stock, ETA is 2-3 Weeks" with active add to cart button.
One product for example (stock is zero with active add to cart button):
I am using warehouse theme...
Thanks in advance
Hi ,
I am also looking for this solution.
If the product quantity is 0 and ( Continue selling when out of stock ) is enabled, then I would like to show a message on the product page as
2 - 3 weeks delivery.
If the product quantity is 0 and ( Continue selling when out of stock ) is disabled, then i would like to show a message on the product page as
Contact us for price and future availability.
If the product quantity is not 0 and ( Continue selling when out of stock ) is enabled or disabled, then I would like to show a message on the product page as
Free Delivery - 2 working days.
Above requirement is for all the products on my website.
@Ninthony can you please assist.
Hi Brian, i would also like to have a custom message that pops up when people are buying an item out of stock. I would like it to say "Available on backorder. Please allow 2-3 weeks for delivery" Is this possible?
Hi
Can you help me fix my site for stock status messages.
I would like to have following messages:
In Stock - Ships today.
Out of Stock - Ships in 4 days.
Regards
I’m actually having the same issue. I have an online parts store and currently everything is showing in stock. Customers are placing orders and are expecting the items right away. It is frustrating given that I spend most of my time reply back to very upset customers. I am looking for something where this headache will go away. The messaging is perfect and would love something like this. My only issue is that depending on the product lead times are different. Something may take up to 3 to 4 weeks while somethings 3 to 4 days. Any help would be great.
User | RANK |
---|---|
118 | |
87 | |
74 | |
64 | |
47 |
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