Liquid, JavaScript, themes, sales channels
Hello,
I need some help for my new Spark theme. We are building up a new catalog of products, that are currently not for direct sale on the website. I would like to hide the prices of the product on the collection and search page.
Could you guys help me on that ?
Thank you
@octy
Welcome to the Shopify community!
Thanks for your good question.
Please share your store URL.
So that I will check and let you know the exact solution here.
https://strongfit-safety.myshopify.com/collections/alle-produkte this for example. Thank you
@octy
Kindly send your Store url.
or check out this code.
Add this code into the theme.css file.
.quick-search__result-subheading span {
display: none !important;
}
Hello,
yes this is the current URL.
https://strongfit-safety.myshopify.com/
We are building up right now.
I added it to body &/or Header, and it doesn't work.
@octy
you not have to Add it on the header or body.
find 'theme.css' and paste their code at the bottom
1. Navigate to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.
3. Save it.
Yes, that's what I did again. Check the Links please, it still doesn't work.
@octy
I can see ,You still haven't added in theme.css file
Then how code will reflect.
I refreshed my store and pastet it again. Now it worked ! Thank you great. Could you help me with the collection page to hide the price ? Thank you
span.product-item__price {
display: none !important;
}
Add this code in the bottom of theme.css file.
This worked great. One last question. When you open the search bar and then go to show all results. The prices are shown again. Is there a possibility to solve it ? Thank you
Could you help me at this point ?
Hi, I need support with this too. I added the code however it only adjusted the search results. I want the pricing off of the collection pages. Store is ouielle.com
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024