How to show price on some items but not all items

RyanRichie
Excursionist
16 0 5

Im trying to Sell just a few item on my store online as I'm a distributor so all of my products cant be sold online. Also want to hide all the prices so they dont say 0.00 Screenshot 2024-05-07 144425.png

Thank You, Ryan Richard
Replies 3 (3)

James105
Shopify Partner
35 1 2

Are you using liquid or or hydrogen?

PageFly-Richard
Shopify Partner
4287 973 1627

Hi @RyanRichie 

 

This is Richard from PageFly - Shopify Page Builder App

 

If you are using Dawn theme you can try to add this condition to price.liquid

Add a condition on price__regular  div. 
You can add whatever logic you want on it. 

PageFlyRichard_0-1715132272513.png

 

 

 

If you are on another theme, you can try to search with file that's handle the pricing.

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

BSSTech-Venture
Shopify Expert
460 116 131

Hi @RyanRichie ,

 

Please follow these steps:

1. You must find the block of code which renders the price in the theme.

2. If it is Dawn theme, its in price.liquid file (or grid-item-price.liquid, ...):

view (19).png

 

3. Add a condition to it, if the price is 0 then show nothing.

 

view (20).png

 

Hope this will help you!

 

Best regards,

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development