Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I remove prices from a specific collection on Prestige theme?

Solved

How can I remove prices from a specific collection on Prestige theme?

jasiri63
Excursionist
33 0 7

I have searched here and watched many you-tube videos. Everything says something different. 


I want to be able to remove the price on my affiliate collection page (I also have collection pages where I sell my own products so the price needs to remain) . I use Prestige theme.

 

I just don't want Amazon prices to show (and eventually other affiliates) because they change so often. 

 

Most solutions have me adding just one line of code to changing entire pages. Changing entire pages scares me. 

 

And, most of the time with just one collection of products it seems hard to find that specific collection to change the code.

 

I am also using Spreadr as the import app for amazon to shopify. 

 

Can anyone give me a simple solution or at least explain it simply?

 

Thanks!

SAndra

 

 

Accepted Solution (1)
theycallmemakka
Shopify Partner
1722 418 435

This is an accepted solution.

Also can you try replacing older code with the below codes?

{% if collection.handle == 'curated-collection-from-curvy-girl-knits' %}
<style>
.ProductItem__PriceList.Heading {
    display: none!important;
}
</style>
{% endif %}

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 21 (21)

theycallmemakka
Shopify Partner
1722 418 435

Hi @jasiri63 ,

 

Removing the price from certain collection pages require updating the theme code. Can you provide me with the link to your collection page? I will write a code to remove the price from that specific page.

 

Thank you

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Dan-From-Ryviu
Shopify Partner
10256 2038 2109

Hi @jasiri63 

With collection page, please send me that collection link so I can provide code to remove price.

In product page, you can create a new template for those affiliate products and delete Buy button block from that template. 

You can check this to learn how to create a new template for your products 

https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates#create-a-new-templa...

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

jasiri63
Excursionist
33 0 7

https://admin.shopify.com/store/curvy-girl-knits/collections/300829933760

 

Is this what you need? Do you need a password too?

 

theycallmemakka
Shopify Partner
1722 418 435

Hi @jasiri63 ,

 

Seems like you are trying to remove price from the products that are in  collection https://curvygirlknits.com/collections/curated-collection-from-curvy-girl-knits

 

If i am correct, please add below code to theme.liquid file

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code just above </body> tag

 

{% assign search_handle = product.collections | map: "handle"%}
{% if search_handle contains 'curated-collection-from-curvy-girl-knits' %}
<style>
  .ProductMeta__PriceList.Heading {
      display: none;
  }
</style>
{% endif %}

 

 

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

jasiri63
Excursionist
33 0 7

It has worked so far except when I hover over the item on the collection page. It still shows up there. Even when I remove "show price on hover" it shows up instead of disappearing. ANy ideas?

 

THanks so far!!! 


Sandra

jasiri63
Excursionist
33 0 7

Screenshot 2023-11-09 114217.png

theycallmemakka
Shopify Partner
1722 418 435

Hi @jasiri63 ,

 

Try adding the following code just above </body> tag

 

{% assign search_handle = product.collections | map: "handle"%}
{% if search_handle contains 'curated-collection-from-curvy-girl-knits' %}
<style>
.ProductItem__PriceList.Heading {
    display: none!important;
}
</style>
{% endif %}

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

jasiri63
Excursionist
33 0 7

Is this in addition to the previous code or instead of...

 

theycallmemakka
Shopify Partner
1722 418 435

Replace this code with the previous one.

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

jasiri63
Excursionist
33 0 7

No this one didn't work. The prices are back on the item page and the "hover" price is now permanent. 

 

The first code worked to remove on the item page. 

 

Any more thoughts? I really appreciate your time!

 

Sandra

theycallmemakka
Shopify Partner
1722 418 435

Can you show me the screenshot of the code that you have added on the store??

 

I dont see any of my code on the frontend.

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

jasiri63
Excursionist
33 0 7

jasiri63_0-1699685480991.png

 

theycallmemakka
Shopify Partner
1722 418 435

Can you provide me access to your store? To add this on your site?

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

theycallmemakka
Shopify Partner
1722 418 435

This is an accepted solution.

Also can you try replacing older code with the below codes?

{% if collection.handle == 'curated-collection-from-curvy-girl-knits' %}
<style>
.ProductItem__PriceList.Heading {
    display: none!important;
}
</style>
{% endif %}

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Dan-From-Ryviu
Shopify Partner
10256 2038 2109

Hi @jasiri63 

You can add this code to your to hide price on this collection page 

{% if collection.id == 300829933760 %}
<style>
.ProductItem .ProductItem__PriceList { display: none !important; opacity: 0 !important; }
</style>
{% endif %}

 

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

jasiri63
Excursionist
33 0 7

How do I find where to add the code...there is so much of it.

Dan-From-Ryviu
Shopify Partner
10256 2038 2109

Please add code in your theme.liquid file before </head> tag in Online store > Themes > Edit code

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

jasiri63
Excursionist
33 0 7

Thanks I am going to try it in the morning!

jasiri63
Excursionist
33 0 7

When I search for </head> it doesn't come up. What else could it be?

 

Thanks again!

Dan-From-Ryviu
Shopify Partner
10256 2038 2109

So you can place code right below <body> tag 

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Moeed
Shopify Partner
6325 1715 2067

Hey @jasiri63 

 

Can you provide the link of the collection from where you want to hide the prices from?

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications