Need Help with Price Display in Trade Theme

Topic summary

A user needs to hide prices for specific products tagged ‘HidePrice’ on their collection page and simplify the currency display from ‘RM XX M YR’ to show only ‘RM’ or ‘MYR’.

Solution for hiding prices:

  • Navigate to Shopify Admin > Online Store > Themes > Edit Code
  • Locate the price.liquid file
  • Search for the price__container class
  • Wrap the price display code with a conditional check: {% if product.tags contains "HidePrice" %} to hide prices for tagged products

Solution for currency display:

  • Go to Shopify Admin > Settings > General > Currency Display section
  • Modify the currency format settings to show only the preferred format (RM or MYR)

The responder provided code snippets and screenshot references to guide implementation. The issue appears resolved with clear step-by-step instructions.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Hello, I am trying to hide price for specific products on the collection page, I have created a tag ‘HidePrice’ and tagged it on the product that I want to hide the price, but I am not sure where should I insert the code that I found online. Also, currently the price is showing RM XX MYR, is it possible to just show only one - RM or MYR?

This is the code I found online:

{% unless product.tags contains "HidePrice" %}
 {{product.price | money }}

{% endunless %}

This is the website and pw thahso

Many thanks!

1 Like

Hi @uglyducking , thanks for reaching out.

1. Hiding the Price for specific products: If you want to hide the price for products tagged with “HidePrice,” you need to insert the code snippet into the correct file in your theme. Here’s how:

  • Go to your Shopify Admin > Online Store > Themes.
  • Find your active theme and click Actions > Edit Code.
  • Search for the file named price.liquid or the relevant file where your product price is being rendered. Then use Ctrl+F to search for the class price__container and modify the code as the following: (https://prnt.sc/GQkScfO8bE_-)
{% if product.tags contains "HidePrice" %}
    
      {% else %}
    

      {% endif %}

2. Adjusting the Currency display: If you want to display only “RM” or “MYR” instead of both, you can modify the currency format in your Shopify admin settings:

I hope my solution is helpful to you.

Liz

Hey @uglyducking,

You’re doing it right — you just hid the price on the product page, but the collection uses a different template.

In the Trade theme, the price is usually inside:

  • snippets/price.liquid

  • or snippets/card-product.liquid

Just wrap the price code like this:

{% if product.tags contains 'HidePrice' %}
  <span>Contact us</span>
{% else %}
  {{ product.price | money }}
{% endif %}

For the RM/MYR display, you can change it in:

Settings → Store details → Currency format

If editing code feels tricky, some merchants use a hide-price app so they don’t have to update the theme manually.
I hope my solution is helpful to you. :blush: