What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How to remove Price from Cart in the Dawn Theme

How to remove Price from Cart in the Dawn Theme

RobinFl
New Member
5 0 0

RobinFl_0-1695665324911.png

I would like to remove the Price in the Cart circled in red. This is in the Dawn theme

Replies 7 (7)

Moeed
Shopify Partner
6359 1723 2084

Hey @RobinFl 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


RobinFl
New Member
5 0 0

Dear, I would rather prefer if you could tell me what exactly I need to adjust, thanks!

RobinFl
New Member
5 0 0

curatedandbeyond.com

HeyCally
Shopify Partner
15 1 1

Good question!

I know that there's a Snippet called cart-product.liquid in the theme code files.

 

You can edit the code in that template to remove the pricing there. It looks like it's on line 202, but I'd honestly have to test it afterwards to ensure everything was still passing through correctly to checkout. 🙂

If you wanted me to have a closer look at it, feel free to send me a message and we can figure out our options. ^_^ If that does work though, I'd appreciate a like and marking my reply as the solution if it helped!

Have a good day!


______________________________________________
Visit us online - HeyCally Web Design
RobinFl
New Member
5 0 0

Helo,

"

thanks for your suggestion. I cannot seem to find "cart-product.liquid", could you please let me know?

 

HeyCally
Shopify Partner
15 1 1

Sure - 

Try going to Themes > ... > Edit code

Then you can use the search bar on the left side above all of the templates and try searching product.

Then you should see under Snippets  there should be a reference to a product card or something similar to that (maybe product-details ...)

The tricky part with this method, is that you would have to find the exact code relating to the price being shown - and every theme is structured a bit different.

The best I could suggest once you find the code for the product info/card, you can likely try removing the price code from it. The exact spot will vary theme by theme, but on my theme, I would just have to remove 

{% render 'price', product: card_product, price_class: '', show_compare_at_price: true %}

 

from the card-product.liquid file to have the price visually removed from that area.

I do have some single task options available if you were needing me to pop in and adjust it for you too if you weren't able to find the right code. Just let me know! (I would request collaborator access and never ask for your password.)

If you do make any changes to your code though, I always recommend making a backup of your theme, 🙂

I hope that helps!

______________________________________________
Visit us online - HeyCally Web Design
RobinFl
New Member
5 0 0

I removed the code you mentioned, but didnt work 😕