How can I delete the standard shopify cart drawer in code?

Topic summary

A user is attempting to remove Shopify’s default cart drawer from their custom theme but cannot locate the relevant code elements mentioned in tutorials.

Current situation:

  • Working with a custom Shopify template
  • Standard tutorial instructions don’t match their theme’s code structure
  • Experiencing difficulty identifying where the cart drawer is implemented

Status: The question remains unanswered with no solutions or guidance provided yet.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

How can I delete the standard shopify cart drawer in code? I’ve tried looking for it in the code, but I just don’t have the things people write about in tutorials. I have my own template, and I’m already getting frustrated.

  1. Don’t mess with the code if you don’t know what you’re doing.
  2. Go to your theme customizer to customize your theme.
  3. You don’t need to get frustrated. Shopify is very easy and there are loads and loads of how-to’s.
  4. A lot of things are theme-specific, so it’s best to give theme name or url so a professional can help you.
1 Like

I have a custom theme. I understand JavaScript and have no problem finding things, but I simply don’t have it in the code here. If someone from support wants a link to the page, I’ll send it to them.

Okie dokie. You don’t want any help from this forum. Just letting you know that the cart drawer is a theme feature, not a core Shopify function. And since you have a “custom theme”, Shopify Support cannot help you.
What you can do is go to your theme customizer and look at the theme settings. It’s really really easy.
Online Store>Themes>Customize
Alternatively, you can right-click on the web page, inspect element, copy the selector, and paste it in search in the code editor.

Or you can wait until someone asks for a collaborator code. You’ll have to be willing to let them into your account though.

1 Like

it works for me

1 Like

Nice! Next time it’ll just be wayyy easier to turn it off in your theme settings. And if that’s not available, you will always be able to edit the theme files.

I treid but I messed up with custom theme :c