Shopify themes, liquid, logos, and UX
I want to change the "sold out" text on the product page to "coming soon" for only products that have the tag "coming soon". Hoping there is a way that I can do this , any help would be appreciated. I am using the dawn theme
Hi @Wda1e
Go to Online store > choose theme > Click the3 dots > Choose edit defualt theme
search the Sold Out
You can change everything sold out to coming soon.
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I can do that, however, I am selling products limited in nature and therefore need the "sold out" badge on the products with a quantity of 0 and a coming soon badge with the products with a quantity of 0 and product tag of "Coming soon"
Hi @Wda1e
You can add this code to main-product.liquid file to do your request.
{% for tag in product.tags %}
{% if tag == 'coming soon' %}
<style>
.product-form__submit > span { display: none; }
.product-form__submit:after {
content: 'Coming Soon';
display: flex;
align-items: center;
justify-content: center;
}
</style>
{% endif %}
{% endfor %}
- Helpful? Like and Accept solution! Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024