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.
A user working with Focal theme 10.3.1 wants to remove summary text from the buy button in the cart drawer.
Two solutions were provided:
JavaScript approach: Add custom code to the theme.liquid file, placing it above the closing </body> tag to hide the unwanted elements.
CSS approach: Add display:none styling to the base.css, style.css, or theme.css file targeting specific cart elements:
.cart-mini-reward#cart .cart-mini-reward#cart span.dopac-cnys-subtotal.cart-mini-reward#cart span.square-separatorBoth solutions include screenshots showing the expected result. The discussion appears resolved with working solutions offered, though the original post and some code snippets contain garbled text that makes exact technical details partially unclear.
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.
Hey @LeyDE
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
HI @LeyDE
Check this one.
cart-drawer#mini-cart span.docapp-sync-subtotal, cart-drawer#mini-cart span.square-separator {
display: none !important;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!