Shopify themes, liquid, logos, and UX
Hello All
I am using the prestige theme currently I’m trying to display with each product Availablity : in stock, Availabilty : On-Order (x) weeks, Availbility: Pre Order
something like this or similar, Ive been digging around trying new apps. Does anyone have any suggestions?
Thanks
can you please try this
<div id="variant-inventory">
{% if product.variants.first.inventory_management == "shopify" %}
{% if product.variants.first.inventory_quantity > 0 %}
We currently have {{ product.variants.first.inventory_quantity }} in stock.
{% else %}
The product is out of stock
{% endif %}
{% else %}
This product is available
{% endif %}
</div>
Hi Ketan
thank you for the response, where exactly would i input this line of code
thanks
can you please add this code product page below price code
Hey thank you Ketan, happy holidays, do you mind telling me which category and which line to go into to input this code
thanks
Hey @braga,
You can display stock availability automatically in your store without the need for coding with ModeMagic App on Shopify. You can set up simple automation rules which display a out of stock or a few left badge based on your inventory level.
Here's a video of how it works: https://www.loom.com/share/8e4b55dce0d34bcd834e6f32b7dcab64
Leaving the link for you to check out the app: LINK (It comes with a 14-Day free trial)
Let me know if this helped?
Hi,
Here is the app that does it all. It displays labels with stock qty on collection pages and stock info on the product pages as well as:
- coming soon,
- pre-order,
- out of stock,
- only x items left in stock messages.
Text can be customized in the app admin panel.
Please let us know if you have any questions.
Kind regards,
Gravity Software team
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024