Remove pricing from featured collections on homepage only- Be Yours

Solved

Remove pricing from featured collections on homepage only- Be Yours

redkarpet
Visitor
2 0 0

I want to remove the pricing for my products in the "featured collections" section of my homepage only...

I'm using theme Be Yours 6.5.2 

I've tried various codes in different places and only 1 was semi-successful but it ended up removing prices from my entire website instead of ONLY the homepage.

Thanks in advance for your help!

 

URL: redkarpet.shop

Accepted Solution (1)

PageFly-Oliver
Shopify Partner
878 190 186

This is an accepted solution.

Hi @redkarpet ,

 

You can try this code by following these steps:

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

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

{% if template.name == "index" %}
<style>
.card-information .price{
display:none !important
}
</style>
{% endif %}

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
11359 2225 2399

Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below after <head> element

{% if template == 'index' %}
.card--product+.card-information .price {
display: none !important;
}
{% endif %}

- Found this helpful? Hit "Like" and "Accept as Solution"!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

PageFly-Oliver
Shopify Partner
878 190 186

This is an accepted solution.

Hi @redkarpet ,

 

You can try this code by following these steps:

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

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

{% if template.name == "index" %}
<style>
.card-information .price{
display:none !important
}
</style>
{% endif %}

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

redkarpet
Visitor
2 0 0

It worked!! thank you so much!