Campaign Theme Documentation

⌘K
  1. Home
  2. Docs
  3. Campaign Theme Documentat...
  4. Campaign Theme Documentat...
  5. Base Support: Disabling the Shopping Cart

Base Support: Disabling the Shopping Cart

If you wish to forgo the shopping cart feature on Shopify, follow this guide for temporary deactivation, with the possibility of reactivation in the future.

Steps:

  • Removing the Cart Icon:
  • Locate the header-icons.liquid file in snippets. Search for href=”/cart” to find the specific code block. Add a ‘hide’ class to make the button invisible. Delete it later for reactivation.
  • Eliminating the ‘Add to Cart’ Option:

You may want to remove this from the product page. Open product-form.liquid in snippets, search for add-to-cart, and find the relevant code segment. Add the ‘hide’ class to make this button invisible.

How can we help?