how to remove price in cart drawer

Solved

how to remove price in cart drawer

Senku
Excursionist
28 0 9

hi, can you please help me remove this price (in red circle) in cart drawer?

 

website: https://seasonalcollections.co/

 

Screenshot 2025-04-25 at 22.04.17.png

Accepted Solution (1)

tim
Shopify Partner
4458 530 1629

This is an accepted solution.

You can use "Custom CSS" under "Theme Settings" in "Customize"

Using theme settings instead of code edits will help with future theme updates.


Add this code:

.cart-drawer a+.product-option {
  display: none;
}

Screenshot 2025-04-26 at 1.48.18 AM.png.  Screenshot 2025-04-26 at 1.50.08 AM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 5 (5)

TheScriptFlow
Shopify Partner
709 49 94

Hey @Senku,

Please paste the following code in the end of component-cart-drawer.css file.

Here is how you can find component-cart-drawer.css file.

.cart-item__details > .product-option:first-child {
    display: none;
}

This will ensure to display none the Product price in the Cart Drawer.

Please paste the following code and let me know if this work for you.

Thanks

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com

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


- If my solution was helpful, mark it as a solution and hit the like button! And Wait Don't forget to Buy me a Coffee

Senku
Excursionist
28 0 9

i want to remove the code that show the price in original theme code. can you show me the way?

Senku
Excursionist
28 0 9

i want to remove it at theme code

tim
Shopify Partner
4458 530 1629

This is an accepted solution.

You can use "Custom CSS" under "Theme Settings" in "Customize"

Using theme settings instead of code edits will help with future theme updates.


Add this code:

.cart-drawer a+.product-option {
  display: none;
}

Screenshot 2025-04-26 at 1.48.18 AM.png.  Screenshot 2025-04-26 at 1.50.08 AM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
Senku
Excursionist
28 0 9

thank you so much