How To Disable Automatically Open Cart Drawer In Fresh Theme
Fresh is a Shopify theme that is a clean and versatile theme designed for food and drink stores. A problem that my clients often face when using this theme be the cart drawer will open automatically when the visitors access their online store. They don’t like that. But this theme doesn’t have the option to disable it and it’s a default.
Don’t worry! This article will guide you on how to disable automatically open cart drawer in the Fresh theme.
Please follow the below steps to know how to do that:
- From your Shopify admin, go to Online Store > Themes.
- Click Actions, and then click Edit Code.
- Under the Layout folder, click onto theme.liquid to open the file editor.
- In the online code editor, scroll down the page until you find the text:
{% assign cart_visible = true %}
. - Change the
true
tofalse
- Click Save and you are done.
I hope this article is helpful to you.