Shopify themes, liquid, logos, and UX
I have a website using the Craft theme from Shopify. At the moment I have 2 automatic badges. SALE and SOLD OUT.
I'd like add another one called NEW on our new arrivals products.
Thank you in advance!
Anna
Please add a tag that is new for those products then go to your Online store > Themes > Edit code > open card-product.liquid, find this line of code around line 122
<div class="card__badge {{ settings.badge_position }}">
Add this code under the above code. You can change color of badge by change color in background code
{% if card_product.tags contains 'new' %}
<span class="badge badge--bottom-left" style="background: red;">NEW</span>
{% endif %}
- 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