All things Shopify and commerce
Hello,
I am trying to change the word "NEW" to the word "WAS" that appears with the compare at price next to each product under my featured products section on the main page of my site. I can't find it anywhere in the coding to change.
I have been able to change the wording under the actual product page in the coding.
Appreciate the assistance.
Cheers
I am using Minion Theme btw.
You can try to find and change it from Online Store > Themes > click '...' in the Motion theme > Edit default theme content, find 'New' and change it to Was
- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hello @brentfollett306
There are two way to change your compare price label:
you'll need to update the text label used for the compare-at price in your theme's code or translation settings.
1. Check the Product Price Code in Theme Files
Please follow below steps:
- In your Shopify admin, go to Online Store > Themes.
- Find your active theme and click on Actions > Edit Code.
- Locate the file that controls your Featured Products section. This could be in the Sections or Snippets folder, with a file name like featured-products.liquid, product-price.liquid, or similar.
Look for the part where the compare-at price is displayed. It might look something like this:
{% if product.compare_at_price > product.price %}
<span class="product-compare-at-price">
NEW {{ product.compare_at_price | money }}
</span>
{% endif %}
Change the word "NEW" to "WAS":
{% if product.compare_at_price > product.price %}
<span class="product-compare-at-price">
WAS {{ product.compare_at_price | money }}
</span>
{% endif %}
- Save the file and check your featured products section
2. Check the Language or Translation Files
In the Edit Code section, scroll down to Locales and open the language file (usually en.default.json for English).
Look for a line that references "NEW" related to pricing, such as:
"products.product.compare_at_price": "NEW {{ compare_at_price }}"
Change "NEW" to "WAS":
"products.product.compare_at_price": "WAS {{ compare_at_price }}"
Save the file and check if the label has been updated on your site.
Please let us know if you any further help.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024