How to hide the compare price from products

Solved

How to hide the compare price from products

bariqah1423
New Member
4 0 3

Hello.

 

I want to hide the compare price using a bulk method, I have hundreds of products so doing this individually is not an option for me.

 

It would be great if there was some code I could input to hide all of the compare prices for all products.

 

Thanks.

 

bariqah.com

 

bariqah1423_0-1738114128223.png

 

Accepted Solution (1)

CodingFifty
Shopify Partner
616 97 116

This is an accepted solution.

Hi @bariqah1423,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

s.price-item {
    display: none !important;
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

View solution in original post

Reply 1 (1)

CodingFifty
Shopify Partner
616 97 116

This is an accepted solution.

Hi @bariqah1423,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

s.price-item {
    display: none !important;
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com