Shopify themes, liquid, logos, and UX
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 |
---|---|
213 | |
147 | |
60 | |
49 | |
46 |
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