When a customer clicks the cart icon, a mini-cart slides out with the included items. If you would like to completely disable the cart drawer, complete these steps.
Adjust the Theme Settings
In your theme editor, open the Theme settings. Open Cart, then adjust the Cart type setting to Page, Checkout, or Refresh.
Older Theme Versions
Step 1: Head into your Shopify Admin > Online Store > Themes > Actions > Edit Code.
Step 2: Under the Sections folder, locate the header.liquid section file.
Step 3: Around line 67 you'll find the following:
<a href="#cart" class="icon-cart cart-button right"><span>{{ cart.item_count }}</span></a>
Which can be updated to:
<a href="/cart" class="icon-cart cart-button right"><span>{{ cart.item_count }}</span></a>
Step 4: Then around 316 - 317 you'll find the following:
<a href="#cart" class="icon-cart cart-button"><span>{{ cart.item_count }}</span></a>
<a href="/cart" class="icon-cart cart-button no-js-only"><span>{{ cart.item_count }}</span></a>
Which can be updated to:
<a href="/cart" class="icon-cart cart-button"><span>{{ cart.item_count }}</span></a>
<a href="/cart" class="icon-cart cart-button no-js-only"><span>{{ cart.item_count }}</span></a>
The cart button will now link directly to the cart page instead of opening the cart drawer.