Black Friday

40% off every plan for a year with code BF2026. Until December 2.

See the prices
2.0 Beta

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

What changed

Add to cart

The values of `bundle` inside `smootify-add-to-cart`.

v2.0 beta
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. Values

At a glance

A Webflow Form Button

For
A button with text only.
Loading
Its Waiting text setting.
data-state

A Custom element with the tag button

For
An icon, two labels, anything inside.
Loading
Two elements inside: data-state="default" and data-state="loading".
name="buy-now"

A second button, for Buy now

For
Skipping the cart.
Built with
A Custom element with the tag button and type="submit". Not a Webflow Button: that is a link.

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
bundle="total"Bundle totalon text
bundle="images"Bundle imagesOne per selected add-on; on image, container
bundle-limit="current-total"Units in the bundleon text
bundle-limit="above-units"Units above the limiton text
bundle-limit="missing-units"Units missingon text
name="buy-now"Buy nowGoes straight to checkout; on button
data-state="default"Idle labelon text, container; inside smootify-add-to-cart [type=“submit”], smootify-cart [type=“submit”], smootify-magic-box-cart [type=“submit”], klaviyo-back-in-stock [type=“submit”], customer-user-update [type=“submit”], create-address [type=“submit”], edit-address [type=“submit”], delete-address [type=“submit”], customer-subscribe-email [type=“submit”], customer-unsubscribe-email [type=“submit”], customer-metafields-editor [type=“submit”], subscription-activate [type=“submit”], subscription-pause [type=“submit”], subscription-cancel [type=“submit”], passwordless-login [type=“submit”], logout-form [type=“submit”], webflow-form [type=“submit”], newsletter-subscribe [type=“submit”], metaobject-creator [type=“submit”], metaobject-editor [type=“submit”], booking-form [type=“submit”], [form], customer-order [data-action=“buy-again”], order-page [data-action=“buy-again”], smootify-product [data-is=“direct-add-to-cart”], smootify-product [price-break=“add”]
data-state="loading"Loading labelon text, container; inside smootify-add-to-cart [type=“submit”], smootify-cart [type=“submit”], smootify-magic-box-cart [type=“submit”], klaviyo-back-in-stock [type=“submit”], customer-user-update [type=“submit”], create-address [type=“submit”], edit-address [type=“submit”], delete-address [type=“submit”], customer-subscribe-email [type=“submit”], customer-unsubscribe-email [type=“submit”], customer-metafields-editor [type=“submit”], subscription-activate [type=“submit”], subscription-pause [type=“submit”], subscription-cancel [type=“submit”], passwordless-login [type=“submit”], logout-form [type=“submit”], webflow-form [type=“submit”], newsletter-subscribe [type=“submit”], metaobject-creator [type=“submit”], metaobject-editor [type=“submit”], booking-form [type=“submit”], [form], customer-order [data-action=“buy-again”], order-page [data-action=“buy-again”], smootify-product [data-is=“direct-add-to-cart”], smootify-product [price-break=“add”]

    ↑ ↓ to moveEnter to openEsc to close