Change 'Sold Out' to 'Coming Soon' only for specific products

EllaFS
Excursionist
23 0 6

Hi there!

 

I have a collection of products that I want live on the website before our launch date. I have set the stock to 0 so it will show 'Sold Out' - however, I want it to say 'Coming Soon'.

 

Website here: https://futureselfshop.com/

 

Thanks!

Ella

Replies 2 (2)

StevieW
Shopify Partner
12 1 6

Hi Ella

 

Try tagging them with something like 'comingsoon', then inside the theme liquid, where it usually displays sold out, update to add a check for the tag.

 

Something like (not tested)

{% for tag in product.tags %}
  {% if tag contains 'comingsoon' %}
    <span>Coming Soon!</span>
  {% else %}
    <span>Sold Out</span>
  {% endif %}
{% endfor %}

 

PaulNewton
Shopify Partner
6275 574 1324

If you have an OS2.0 theme whose product template uses custom-liquid blocks then make an alternate template with the buy-buttons removed.

And in it's place add a custom-liquid block with liquid logic and the html for the coming soon text.

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org