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 |
---|---|
13 | |
8 | |
5 | |
5 | |
4 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By