Hide prices on certain products throughout the store

robertjohn17
Excursionist
17 0 5

Hi, I am looking to change the product-templete.liquid for certain products where it doesn't show the prices throughout the whole store and product page. I also want to remove the "sold out" on product page. I have added a button that takes them to an enquire now window but cant seem to figure out how to remove prices.

Replies 22 (22)
KetanKumar
Shopify Partner
24918 2497 9034

@robertjohn17 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
robertjohn17
Excursionist
17 0 5

hi thanks for the reply. 

 

https://cleansetech.com.au/

pw: caible

 

suyash1
Shopify Partner
3700 407 609

@robertjohn17- are these products added in any particular collection?

we have 2 options, add them to particular collection and then we can try to hide the unwanted content on these products, or if the products are not many then create another template which will not have prices and you need to set it manually for these products

You are welcome to contact me, my email - suyash.patankar@gmail.com ,My timezone is GMT+5:30
robertjohn17
Excursionist
17 0 5

no, no collection but i can make two different collections for the products i would like to show the prices and a collection where they need to be hidden. 

suyash1
Shopify Partner
3700 407 609

@robertjohn17- to hide button add this code to the end of theme.css file

.product-form__cart-submit{display: none;visibility: hidden;}
You are welcome to contact me, my email - suyash.patankar@gmail.com ,My timezone is GMT+5:30
suyash1
Shopify Partner
3700 407 609

@robertjohn17- if products are limited then I recommend to create 2 different collections

You are welcome to contact me, my email - suyash.patankar@gmail.com ,My timezone is GMT+5:30
robertjohn17
Excursionist
17 0 5

But how can i hide prices? 

suyash1
Shopify Partner
3700 407 609

@robertjohn17- in new collection template, you can simply comment the price code.....

 

through css too it can be done bu that will hide prices on other products too, wo I do not recommend it.

You are welcome to contact me, my email - suyash.patankar@gmail.com ,My timezone is GMT+5:30
KetanKumar
Shopify Partner
24918 2497 9034

@robertjohn17 

can you try this code

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.

.price__pricing-group {display: none;}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing