Hello, I am using Craft theme. Just noticed that when I click on my Cart icon, I see pop-up, BUT there is no VIEW CART button. Only CHECKOUT button. Any help is appreciated..
Topic summary
A user encountered a missing âVIEW CARTâ button in the Craft themeâs cart pop-up, with only the âCHECKOUTâ button visible.
Solution provided:
- The Craft theme only displays âView my Cartâ by default when cart settings use âPopup Notificationâ mode
- For drawer settings, a workaround involves editing theme code:
- Navigate to Online Stores > Themes > Edit code
- Find
cart-drawer.liquidfile - Search for
id="CartDrawer-Checkout" - Add custom markup code above that line to insert the View Cart button
Follow-up issue resolved:
- The added button appeared slightly larger than the Checkout button on desktop
- Fixed by adding CSS code to
theme.liquidfile above the</head>tag to adjust button height
Additional use case:
- Another user successfully modified the code to remove the Checkout button entirely, keeping only View Cart to force customers through the cart page for delivery date selection
The issue is now resolved with working code solutions provided.
Hi @olinka012
This is Victor from PageFly - Shopify Page Builder App
Please do not worry about this, because the Craft theme only show the âView my Cartâ button when your cart setting is set to Popup Notification
However, there is a workaround and you can follow my instructions to have it on the drawer setting
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: Click and find for cart-drawer.liquid. Then in the file please find for :
" id="CartDrawer-Checkout " by Shopify file search.
And add this code above the line you found
View my Cart
Screenshot for you to reference
Hope this can help you solve the issue
Best regards,
Victor | PageFly
Thanks for your help!
I did it and now I can see View cart button. However the size is slightly bigger than Checkout button.
Is there any options I can make it the same size?
P.S. on mobile it looks good, only on desktop the button is bigger
hi @olinka012 I see it, to solve the button height, please follow my instruction here :
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
wow, many thanks. It works perfect now!
Hello!! Is there a way to get rid of the âcheck outâ button and have just the âview cartâ button? I need the customer to check out through the cart so they can choose a delivery date. Thank you!!!
I think I figured it out!! I added the above code and deleted
<button
type=âsubmitâ
id=âCartDrawer-Checkoutâ
class=âcart__checkout-button buttonâ
name=âcheckoutâ
form=âCartDrawer-Formâ
{% if cart == empty %}
disabled
{% endif %}
{{ âsections.cart.checkoutâ | t }}
just in case anyone else ever needs it!



