Hello. May I see an example product page to better understand your problem ?
I’m assuming that the code checks availability of the item and if it’s not available it outputs the sold out banner. If that’s the case, you can change the part where “Sold Out” text is rendered with and if-else tag that checks for coming-soon tag in products tags. If that tag exists, it should render “Coming soon”, if it doesn’t exist, it should render “Sold out”.
Here is an example:
Change this:
{% unless product.available %}
Sold out
{% endunless %}
To this:
{% unless product.available %}
{% if product.tags includes 'coming-soon' %}Coming soon{% else %}Sold out{% endif %}
{% endunless %}