Hide price from specific Collection.

Solved

Hide price from specific Collection.

buchanan
Tourist
9 0 4

Hi there!

I am having trouble hiding the pricing from a specific collection template using the Empire theme. Can anybody assist?

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2086 742 936

This is an accepted solution.

Hi @buchanan

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'vinyl-plank' %}
<style>
.price.productitem__price {
    display: none !important;
}
</style>
{% endif %}

 

Here is result: 

BSSCommerceHDL_0-1723432170519.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 10 (10)

Sonya_2025
Shopify Partner
246 32 46

@buchanan  Hi

I found a hiding price same issue like you but using dawn theme. Can you try it first?

Feel free to send a DM to me if need any other assistance

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out. EMAIL ME  
Motivate me by  PAY ME

BSSCommerce-HDL
Shopify Partner
2086 742 936

Hi @buchananCan you kindly share your store link (with the password protected, if any) with us? We will check it and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

buchanan
Tourist
9 0 4

Sure. the site is www.qebs.com.au

I have created a collection template calling 'flooring-hide-price' that I was planning to apply the the relevant collections.

BSSCommerce-HDL
Shopify Partner
2086 742 936

Hi @buchanan, i can't find this collection

BSSCommerceHDL_0-1723430493718.png

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

buchanan
Tourist
9 0 4

Hi there.

I have applied the collection template to the collection called Vinyl Plank

BSSCommerce-HDL
Shopify Partner
2086 742 936

This is an accepted solution.

Hi @buchanan

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'vinyl-plank' %}
<style>
.price.productitem__price {
    display: none !important;
}
</style>
{% endif %}

 

Here is result: 

BSSCommerceHDL_0-1723432170519.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

buchanan
Tourist
9 0 4

Amazing. Thank you!

BSSCommerce-HDL
Shopify Partner
2086 742 936

@buchanan, No problem. Have a good day 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

ChrisH
Visitor
2 0 1

Is it possible to do this for a specific collection?

For my default collection I want to show prices, but I have some other collections of items that are not for sale and I don't want to show a price. You can see an example here: https://new.alittlehillfarm.com/collections/buck

Thanks!


ChrisH
Visitor
2 0 1

Replying to myself - after re-reading and getting a better understanding of the instructions provided in the solution here I was able to fix it for my site.