How can I Remove the Prices on collections?

Solved

How can I Remove the Prices on collections?

AndrewG123
Excursionist
26 0 12

How can I Remove the Prices on collections. Im using the Enterprise theme. Ive already removed prices on the product page but how do I do this on collection pages as well. https://stereomaxelectronics.com/collections/jensen-stereos Remove price from collections.png

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
1842 526 612

This is an accepted solution.

- Here is the solution for you @AndrewG123 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
.main-products-grid__results .price.price--top {
    display: none !important;
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1725033262551.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

View solution in original post

Replies 10 (10)

BSS-TekLabs
Shopify Partner
1842 526 612

This is an accepted solution.

- Here is the solution for you @AndrewG123 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
.main-products-grid__results .price.price--top {
    display: none !important;
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1725033262551.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

AndrewG123
Excursionist
26 0 12

Thank You this worked. But one more question. If in the future I did want to add Prices to a specific collection how would I add it back to that collection only?

BSS-TekLabs
Shopify Partner
1842 526 612

Option 1:

{% if collection.handle == 'handle name' %}
<style>
.main-products-grid__results .price.price--top {
    display: block !important;
}
</style>
{% endif %}

Option 2:

{% if collection.id == 999999 %}
<style>
.main-products-grid__results .price.price--top {
    display: block !important;
}
</style>
{% endif %}

Two options you can you @AndrewG123 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

AndrewG123
Excursionist
26 0 12

Where would I add this code? The same place?

BSS-TekLabs
Shopify Partner
1842 526 612

Yes. Before tag </head> in file theme.liquid

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

AndrewG123
Excursionist
26 0 12

Just making sure I understanding correctly, I'm new to adding code. Say I want to put the price back on the Jensen Stereo collection I linked earlier. I would put this code 

 

{% if collection.handle == 'jensen-stereos' %} <style> .main-products-grid__results .price.price--top { display: block !important; } </style> {% endif %}

 

under the code you gave me initially? Is that the proper way to put ' handle name' ?Just making sure I'm doing it right so I don't have any problems in the future, thanks.

BSS-TekLabs
Shopify Partner
1842 526 612

yes. You did the right thing.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

AndrewG123
Excursionist
26 0 12

thank you so much.

BSS-TekLabs
Shopify Partner
1842 526 612

Glad to help you. Have a good day.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

ashalice
New Member
4 0 0

To remove prices on collection pages in the Enterprise theme, navigate to your theme's code editor. Locate the collection-template.liquid file and find the code snippet displaying product prices. Comment out or delete this code. Save your changes, and the prices should no longer appear on the collection pages.