Re: Continue selling when out of stock color change on inventory satus

Solved

Continue selling when out of stock color change on inventory satus

Andr1989
Excursionist
17 0 2

Hi guys, 

I want to have my inventory status dot green when i have products on stock but when the product is out of stock customer can still buy the products beacuse i have put on Continue selling when out of stock. But when the product is out of stock i have back-order as a text but still the green "dot". Is there a way that i can change the dot from beeing green when i have products on stock to red when im out of stock ? 

Accepted Solution (1)

ThomKnepper
Shopify Partner
196 30 71

This is an accepted solution.

Hi there,

 

When you want to change the color, you can do so by going to the main-product.liquid and scrolling down to line 134. There is the place where the business logic for the dot starts. You can edit the colors by editing the inline RGB values in the SVG tags.

 

Hope this helps!

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution

View solution in original post

Replies 5 (5)

ThomKnepper
Shopify Partner
196 30 71

This is an accepted solution.

Hi there,

 

When you want to change the color, you can do so by going to the main-product.liquid and scrolling down to line 134. There is the place where the business logic for the dot starts. You can edit the colors by editing the inline RGB values in the SVG tags.

 

Hope this helps!

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution
Andr1989
Excursionist
17 0 2

This did work! but what code do i need to use for orange ? 🙂 

ThomKnepper
Shopify Partner
196 30 71

You can pick any type of RGB color you would like:

https://www.google.com/search?q=rgb+color+picker&oq=rgb+&sourceid=chrome&ie=UTF-8#cobssid=s

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution
Andr1989
Excursionist
17 0 2

You are the best THANKS!

ThomKnepper
Shopify Partner
196 30 71

My pleasure! Good luck with your store!

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution