Main issue: Changing the checkout button’s color and text in the cart drawer (slide-out mini cart), plus requests to show a “Free shipping” note above the price and display discounted vs previous price in the cart drawer.
Guidance provided:
Edit theme.liquid and add CSS targeting the cart drawer checkout button; placing the CSS before the closing tag was suggested.
To change the button text, edit cart.liquid and modify the button label.
Outcome:
The styling fix worked after adding the CSS above ; the requester confirmed the issue was resolved.
Open items:
How to add a “Free shipping” message above the price and how to show discounted (compare-at) price in the cart drawer were not addressed; no implementation details shared.
I can’t find any code that changes the color/text for the checkout button on my cart drawer. Can someone please help me with this?
Another question: Does anyone know how I can add free shipping above the price and show the discounted price compared to the previous price in the cart drawer?
To change the background color of the checkout button, please go to Online Store > Themes > Actions […] > Edit Code > Theme.liquid file > Paste the below code at the bottom of this file:
.cart-drawer .cart__checkout-button {
background: color code;
color: color code;
}
To modify the button text, please go to Online Store > Themes > Actions […] > Edit Code > Cart.liquid file > Find the button and change the text as needed.