How to display stock availability (in stock, out of stock, pre order)

braga
Tourist
4 0 2

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 

KetanKumar
Shopify Partner
20331 2106 7616

@braga 

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>
If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
braga
Tourist
4 0 2

Hi Ketan 

thank you for the response, where exactly would i input this line of code 

 

thanks

0 Likes
KetanKumar
Shopify Partner
20331 2106 7616

@braga 

can you please add this code product page below price code 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
braga
Tourist
4 0 2

Hey thank you Ketan, happy holidays, do you mind telling me which category and which line to go into to input this code 

 

thanks 

 

36138B51-836C-4E2B-90CE-64CCD457CB4A.jpeg

0 Likes
KetanKumar
Shopify Partner
20331 2106 7616

@braga 

KetanKumar_0-1608917206408.png

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Peebee
Shopify Partner
17 0 4

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?

ModeMagic
Featured on Shopify Staff Picks
Offering free store consultation for increased sales and conversions
Grab your limited time offer on install today!
0 Likes
GravitySApps
New Member
13 0 0

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

0 Likes