Hi. I’m creating a new site for a client who isn’t yet ready to add products, and therefore the shopping cart isn’t necessary. I’m currently creating the site using the free theme Studio. As I understand, it’s not possible to technically disable the shopping cart / checkout itself, but I would like to at least hide the cart icon in the header to prevent users directly accessing this page. I was advised there may be a way to do this with some code, if anyone is able to help?
Please share your store URL and if your store is password protected then please provide password too.
You can take a picture of the place you want to edit.
Not much of a coder, but how I used to do it was going into the theme settings and corresponding the color of the logo to the background color, it was still present however not visible, but it should be able to be done with code.
In Shopify Admin, go to Online Store > Themes > Actions > Edit code
Then in the selector on the left, scroll down to the “Sections” section and click “header.liquid”
You’ll have to figure out where the link is that you want to disable, which you can do by commenting it out
In a separate tab, go to your store page front end, right click on the shopping cart icon, and click “Inspect Element”. This should give you an idea of where to find the icon within your HTML code.
Hello! It’s amazing how all of you understood exactly what to do because I am very lost and after locating “header.liqud” cannot figure out where the link is that I want to disable and I don’t understand what it means “by commenting it out”. The Shopify theme I am using is IMPACT 2.0.
If someone could walk me through what to do next, I would be very grateful. Thanks!
Hi @thrilly , someone told me that free themes are unreliable and can crash if thousand of users come at once. I am new to shopify and I need some guidance, can we connect on social media as well for that?