All things Shopify and commerce
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
Solved! Go to the solution
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 %}
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
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
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
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
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
https://admin.shopify.com/store/curvy-girl-knits/collections/300829933760
Is this what you need? Do you need a password too?
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
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
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
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 %}
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
Is this in addition to the previous code or instead of...
Replace this code with the previous one.
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
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
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.
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
Can you provide me access to your store? To add this on your site?
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
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 %}
For quick response - Message Me
Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".
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 a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
How do I find where to add the code...there is so much of it.
Please add code in your theme.liquid file before </head> tag in Online store > Themes > Edit code
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
Thanks I am going to try it in the morning!
When I search for </head> it doesn't come up. What else could it be?
Thanks again!
So you can place code right below <body> tag
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
Hey @jasiri63
Can you provide the link of the collection from where you want to hide the prices from?
Best Regards,
Moeed
User | RANK |
---|---|
40 | |
39 | |
24 | |
23 | |
21 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023