Solved

Remove summary from buy button on cart drawer

LeyDE
Excursionist
23 0 5

Hello dear community,

I'm using the focal theme 10.3.1 and I want to remove some text from the buy button in the cart drawer. I think it needs to be coded. Can anyone help? I attached a photo for reference.

 

asdasdf.jpg

Accepted Solution (1)

Moeed
Shopify Partner
3562 894 1112

This is an accepted solution.

Hey @LeyDE 

 

Follow these Steps:

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

4) Add the following code in the bottom of the file above </body> tag

 

<style>
span.docapp-sync-subtotal {
    display: none !important;
}
span.square-separator {
    display: none !important;
}
</style>

 

RESULT:

Moeed_0-1701379686431.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 2 (2)

Moeed
Shopify Partner
3562 894 1112

This is an accepted solution.

Hey @LeyDE 

 

Follow these Steps:

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

4) Add the following code in the bottom of the file above </body> tag

 

<style>
span.docapp-sync-subtotal {
    display: none !important;
}
span.square-separator {
    display: none !important;
}
</style>

 

RESULT:

Moeed_0-1701379686431.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

Made4uo-Ribe
Shopify Partner
5127 1223 1497

HI @LeyDE 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

cart-drawer#mini-cart span.docapp-sync-subtotal, cart-drawer#mini-cart span.square-separator {
    display: none !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1701379417736.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com