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?
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_-)
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:
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.