How to add total amount next to checkout letters in the same button on cart drawer

Topic summary

A user wants to display the cart total amount directly next to the “Checkout” text within the checkout button on the Dawn theme’s cart drawer, rather than showing it separately.

Proposed Solution:
A response provides a code modification for the snippets/cart-drawer.liquid file:

  • Add a new button element that combines “Checkout” text with the cart total using {{ cart.total_price | money_with_currency }}
  • Remove the existing separate “Estimated total” section that currently displays the price independently

The solution includes a screenshot showing the modified button layout. This customization consolidates pricing information directly into the checkout button for a more streamlined cart drawer interface.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Im looking to add the total amount next to the checkout word in the same button on dawn theme

url knmb1c-pf.myshopify.com

password samurai

Hi @undercoverfresh

Edit theme code, in snippets/cart-drawer.liquid file , edit code,

1.add this:


  1. remove this:

            ## {{ 'sections.cart.estimated_total' | t }}
            

{{ cart.total_price | money_with_currency }}