2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

quantity-input

Number input with plus and minus buttons for a quantity. In a product, min, step and max come from the variant's quantity rules: Shopify's (B2B catalogs) together with the Smootify purchase rules (2.0, HQ #68), max from the stock without a rule maximum; a quantity the rules refuse moves to the nearest they take.

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. What it requires
  3. Attributes on the element
  4. Attributes inside it
  5. Loading

Where it can go

  • Inside any of: smootify-product, cart-item.
  • Must contain input.
  • Out of place, Smootify removes it from the page: without an input; elsewhere its buttons only step it.

What it requires

Nothing beyond Smootify: it works on every plan.

Attributes on the element

  • It reads data-disable-max.

Attributes inside it

GroupAttribute nameValues
Quantitydata-action2

Loading

Defined at boot on every page.

    ↑ ↓ to moveEnter to openEsc to close