Removing Inventory Count From My Product Page

Solved
TimDono1
Excursionist
41 1 7

Hello!

 

I really could use some help.

 

I added a stock count feature to my product page (see snapshot below, "Only 30 Spot Left").

 

I have more inventory now and I would like to remove it, but I can't find the custom code.

 

I need to relaunch my product tonight and I would greatly appreciate your help.

 

Thank you for considering it! 😀

 

-Tim

https://shayrdair.com/products/climbing-rocks-and-beta-talks-with-jordan-cannon

Screen Shot 2023-09-24 at 1.30.25 PM.png

Accepted Solution (1)
haseebJoiya
Shopify Partner
38 1 0

This is an accepted solution.

I want to ensure that you don't want any inventory counter for this product or for all products in store otherwise If you want to remove this counter from all products paste this code in  Shopify edit code directory in style.css at very last of the file. 

div#variant-inventory {
    display: none;
}
Haseeb Aqdas

View solution in original post

Replies 2 (2)
haseebJoiya
Shopify Partner
38 1 0

This is an accepted solution.

I want to ensure that you don't want any inventory counter for this product or for all products in store otherwise If you want to remove this counter from all products paste this code in  Shopify edit code directory in style.css at very last of the file. 

div#variant-inventory {
    display: none;
}
Haseeb Aqdas
TimDono1
Excursionist
41 1 7

Thank you, Haseeb! That is what I am looking for and it worked! 

 

Quick follow-up question: I know I inserted custom code somewhere so that the product page would display my inventory count. Do you know where I might have inserted that code?