Removing checkout button from cart drawer for Sahara theme

Topic summary

Goal: Remove the checkout button from the Sahara theme’s cart drawer popup after prior code attempts failed.

Recent activity:

  • Multiple helpers requested the store URL (and password if protected) to inspect the issue directly.
  • A concrete fix was suggested: add a CSS rule in base.css targeting .cart-drawer__summary-actions [name=“checkout”] and set display: none !important to hide the checkout button.
  • Another suggestion mentioned adding code under in theme.liquid, but the actual code content was missing, so it’s not actionable.

Key details:

  • The CSS snippet is central, as it directly hides the checkout button via the button’s name attribute selector within the cart drawer summary actions.

Status/outcome:

  • No confirmation that the solution worked; the original poster hasn’t shared a URL or resolution. The discussion remains open.

Next steps:

  • Try the provided CSS in base.css.
  • If it doesn’t work, share the store URL (and password if enabled) so contributors can provide theme-specific guidance.
Summarized with AI on December 25. AI used: gpt-5.

I am using Sahara theme and I would like to remove the checkout button from the cart drawer popup. I tried some code from other topic but none is working. Any experts able to help?

Hi, @Mingyan0112

Please share the store URL so that I can assist you.

Hello @Mingyan0112
Please provide your website URL.

@Mingyan0112 Please provide your store URL to help you on this.

Hi @Mingyan0112

Try adding below code to the end of base.css file

.cart-drawer__summary-actions [name="checkout"] {
    display: none !important;
}

If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!

Hey @Mingyan0112

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

Hi @Mingyan0112

Please go to your Online Store > Themes > Edit code > open theme.liquid file, add this code below