Hi - right now my theme has the badge “SALE” for sale items but want to change it to SAVE $x amount on the collection page
its the nordic theme
Hi - right now my theme has the badge “SALE” for sale items but want to change it to SAVE $x amount on the collection page
its the nordic theme
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
Best regards,
Devcoder ![]()
Just take a look here: https://www.youtube.com/@foysalshopifyexpert/search?query=Discount
Ready solution for me. Just follow the guidelines.
You’re on the Nordic theme. I built and on a Nordic store
Do this
In the code editor, open Search (the magnifying glass on the left, or press Ctrl/Cmd + Shift + F). Search for: on_sale' | t
It lands on the sale badge line, which looks like this:
{{ 'products.product.on_sale' | t }}
Save {{ card_product.compare_at_price | minus: card_product.price | money }}
(The code editor looks the same on every theme, so these steps match what you’ll see.)
The collection badge now reads Save $15.00 instead of Sale.
Note:
product instead of card_product, keep product..00, swap money for money_without_trailing_zeros.Save to anything you like (for example You save).Hey, @wingedmonkey
Hope you are doing well!
If nordic supports custom liquid, you can replace the “SALE” badge with a calculated saving amounts using the compare at price minus the current price.
hi thank you so much for your help. i believe this is the section you are talking about {% if settings.badge_sale_type == ‘sale’ %}
{{- 'products.product.on_sale' | t -}}
{% else %}
{{- 'products.product.on_sale' | t -}}
<span>
{{
product_card_product.compare_at_price
| minus: product_card_product.price
| times: 100
| divided_by: product_card_product.compare_at_price
-}}
%
</span>
i figured it out - the exact language referring to the product price or compare at price was slightly different.
but it worked tysm!
you helped with this - any chance you can tell me how to have my filter tabs collapsed by defauly on the collection pages vs open as they are now
Nordic opens every filter group by default.
Here are two ways to have them start collapsed.
Option 1 - Keep the sidebar, just collapse each group (small code edit)
snippets/facets.liquid. Or press Ctrl/Cmd + Shift + F and search for facets__disclosure.<details> tag you’ll see the word open. Delete just that word.open from both.Every filter now starts collapsed and opens on click.
Option 2 - No code (switch to the Drawer layout)
Hide the filters behind a Filter button instead.
Your filters now open from a slide-out panel, so nothing shows expanded on the page. This replaces the sidebar, so pick this only if you like that look.
Notes:
Regards,
Ajay