Feedback for your online store from the community
Hello there,
If anyone can help. I need to add "In Stock" underneath the price that exists on my product landing page.
The "In Stock" should be in green color.
Thank you in advance for your help.
Cheers
Hello @SofianeX
How versed are you in Liquid coding? Let us know, we'll provide the solution for you swiftly. Cheers!
You can use the following code:
{% if product.available %}
<span style="color:#hehehe;">In Stock</span>
{%endif%}
And replace the hex color by the value you need.
Let me know if that works for you!
I need to know where precisely I can use this code? is it product-template.liquid?!!
If it's for the product page, yes!
User | RANK |
---|---|
21 | |
17 | |
13 | |
7 | |
7 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022