Hide the Price Spark Theme Collection & Search 2.0 Theme

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

1 Like

@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.

2 Likes

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;
}
2 Likes

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.

1 Like

@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.
2 Likes

Yes, that’s what I did again. Check the Links please, it still doesn’t work.

1 Like

@octy
I can see ,You still haven’t added in theme.css file
Then how code will reflect.

2 Likes

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

1 Like

@octy
yes Sure,

2 Likes

@octy

span.product-item__price {
    display: none !important;
}

Add this code in the bottom of theme.css file.

2 Likes

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

@octy
yes, it’s possible to solve it.

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