Shopify themes, liquid, logos, and UX
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.
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.
@robertjohn17- to hide button add this code to the end of theme.css file
.product-form__cart-submit{display: none;visibility: hidden;}
@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
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.
@robertjohn17- if products are limited then I recommend to create 2 different collections
But how can i hide prices?
@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.
what code would i put in?
@robertjohn17- try code given by @KetanKumar on first page
this hides all products prices
hi this code hides all the prices i need to make it on certain products. can you help?
let me know which product do you have hide price
i want to hide all prices expect for the CT AP 25, CT AP 45 these two i would like to show prices.
okay and do you have the temple that i could use for this?
@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
With the email listed below?
yes please try this way
https://www.shopify.com/partners/blog/shopify-alternate-templates
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;}
wont this hide the price on all products though?
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024