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!