Debut theme showing stock for each variant - help needed

vinods
Shopify Partner
510 10 87

Hi I need a small help

I want to show stock for each variant - Debut theme.

example 

variant 1 - 3 in stock

variant 2 - 5 in stock

and so on...

 

I have added below code but the code does not show stock variants in dropdown :


<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>

Thank you

Vinod Sachdev.
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization (CRO)
15+ years Industry Experience & Knowledge of Latest Web Technologies
250+ Clients Served - across USA, UK, Spain, Caribbean Islands, India & more.
625+ Paid Ads Search, Shopping, Display, Re-Marketing Campaigns Successfully Managed which achieved higher sales
100+ Custom Websites & Landing Pages Designed & Developed

email vinod.digitalcentrics@gmail.com | https://digitalcentrics.com/
0 Likes
Jennifer20
Navigator
612 19 22

Hi @vinods 

I hope you're doing great!

I would be happy to work with you. Please give me a suitable time to discuss your requirements.

Also, add me over Skype id- live:jennifer.wcoast or Email- sales@wreximinfotech.com

I look forward to your response!

Stay Well

Thanks!

0 Likes
vinods
Shopify Partner
510 10 87

Hello @Jennifer20 

Can you help with editing the code ?

Vinod Sachdev.
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization (CRO)
15+ years Industry Experience & Knowledge of Latest Web Technologies
250+ Clients Served - across USA, UK, Spain, Caribbean Islands, India & more.
625+ Paid Ads Search, Shopping, Display, Re-Marketing Campaigns Successfully Managed which achieved higher sales
100+ Custom Websites & Landing Pages Designed & Developed

email vinod.digitalcentrics@gmail.com | https://digitalcentrics.com/
0 Likes
Jennifer20
Navigator
612 19 22

Hi @vinods 

Thanks for your response.

Yes, we will be making the changes in the code.

Please add me over Skype for further and Instant Communication.

Regards,
Jennifer

0 Likes
vinods
Shopify Partner
510 10 87

added you on skype

Vinod Sachdev.
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization (CRO)
15+ years Industry Experience & Knowledge of Latest Web Technologies
250+ Clients Served - across USA, UK, Spain, Caribbean Islands, India & more.
625+ Paid Ads Search, Shopping, Display, Re-Marketing Campaigns Successfully Managed which achieved higher sales
100+ Custom Websites & Landing Pages Designed & Developed

email vinod.digitalcentrics@gmail.com | https://digitalcentrics.com/
0 Likes
Luis1234
Shopify Partner
76 0 3

Hello there,
Hope you're doing good.

If the offer still stands, I would like you to know that I can help with your requirement.

 

Kindly reach out to me at luis@cisinlabs.com or skype me at live: luis_18439.

 

Hope to hear from you soon.

 

 

Thanks and Regards,
Luis

0 Likes
vinods
Shopify Partner
510 10 87

Hi @Luis1234 

Yes it's done. 

Thank you though. 

Vinod Sachdev.
Digital Marketing Consultant
Google & Bing Ads | Web Design & Development | Conversion Rate Optimization (CRO)
15+ years Industry Experience & Knowledge of Latest Web Technologies
250+ Clients Served - across USA, UK, Spain, Caribbean Islands, India & more.
625+ Paid Ads Search, Shopping, Display, Re-Marketing Campaigns Successfully Managed which achieved higher sales
100+ Custom Websites & Landing Pages Designed & Developed

email vinod.digitalcentrics@gmail.com | https://digitalcentrics.com/
0 Likes