Feedback for your online store from the community
Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron
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 |
---|---|
19 | |
8 | |
8 | |
5 | |
5 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023