Re: How to show price on some items but not all items

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)

jamalsoueidan
Shopify Partner
63 3 3

Are you using liquid or or hydrogen?

PageFly-Richard
Shopify Partner
4394 1005 1657

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.

BSSCommerce-HDL
Shopify Expert
981 328 381

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, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency