FROM CACHE - en_header

Hide prices on certain products throughout the store

robertjohn17
Excursionist
19 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
35817 3580 11590

@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
19 0 5

hi thanks for the reply. 

 

https://cleansetech.com.au/

pw: caible

 

suyash1
Shopify Partner
6651 796 1118

@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 - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly
robertjohn17
Excursionist
19 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
6651 796 1118

@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 - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly
suyash1
Shopify Partner
6651 796 1118

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

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly
robertjohn17
Excursionist
19 0 5

But how can i hide prices? 

suyash1
Shopify Partner
6651 796 1118

@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 - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly
KetanKumar
Shopify Partner
35817 3580 11590

@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
robertjohn17
Excursionist
19 0 5

what code would i put in?

robertjohn17
Excursionist
19 0 5

wont this hide the price on all products though? 

suyash1
Shopify Partner
6651 796 1118

@robertjohn17- try code given by @KetanKumar on first page

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly
robertjohn17
Excursionist
19 0 5

this hides all products prices

robertjohn17
Excursionist
19 0 5

hi this code hides all the prices i need to make it on certain products. can you help?

KetanKumar
Shopify Partner
35817 3580 11590

@robertjohn17 

let me know which product do you have hide price

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
19 0 5

i want to hide all prices expect for the CT AP 25, CT AP 45 these two i would like to show prices.

suyash1
Shopify Partner
6651 796 1118
I recommend to use different template for these 2 products and for other
products use template which do not have price section
You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly
robertjohn17
Excursionist
19 0 5

okay and do you have the temple that i could use for this?

suyash1
Shopify Partner
6651 796 1118

@robertjohn17- we need to create it in your theme, if you can add me as collaborator then I can create template and let you know the details

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly