Shopify Horizon guide

How to hide the quantity selector in Shopify Horizon

What you’ll need

  • A duplicate of your theme to test on

    How to get this: A duplicate of your theme to test on
    1. Online Store › Themes › … on your theme › Duplicate.
    2. Make the change on the copy, preview it, and publish only when it works.

    Step-by-step guide (opens in a new tab)

  • The theme editor (to paste into Theme settings › Custom CSS; no code editing)

    How to get this: The theme editor
    1. Online Store › Themes › Edit theme (on a copy of your theme if you want to test first).
    2. Add section or Add block › Custom Liquid, paste the code, then Save.

    Step-by-step guide (opens in a new tab)

See all Horizon fixes

Steps

  1. Online Store › Themes › Customize on your Horizon theme (use … › Duplicate first if you want to try it on a copy).
  2. In the page menu at the top, pick Products › Default product (or the product template you use).
  3. In the left bar open Product information › Details › Buy buttons, and click the arrow next to Buy buttons to show its blocks.
  4. Hover over Quantity and click the eye icon (Hide block).
  5. Save.

Why there’s no Remove button

Quantity, Add to cart and Accelerated checkout are static blocks in Horizon’s Buy buttons. Shopify’s theme editor lets you hide a static block and change its settings, but not remove or move it: the row shows a lock instead of a drag handle.

In the cart

The cart page and cart drawer keep their own quantity buttons so customers can change or remove items. Hiding them leaves no way to fix a mistake before checkout, so leave them in place.

More guides