<dkl-volume-picker-radio-groups> with no code —
you add it in the theme editor and configure every option through its settings panel. It’s
available on product templates. The block resolves the eligible volume discount for you
and exposes the behaviour toggles (native-price update, quantity sync) and styling as
settings.
Add the block
Open the theme editor
In the Shopify admin, go to Online Store → Themes and click Customize. Make sure the Discount Kit Live
app embed is enabled.
Settings
Every setting maps to adata-* attribute or --dkl-* token under the hood — see
Styling & Data Attributes for the equivalents.
Discount & display
Show only this volume discount. Leave empty to show the first eligible one.
Cards, or Mini buttons (a compact grid; the per-tier price line is hidden).
Optional heading above the tiers.
Use
[tier_qty] for the tier quantity.Behaviour
Whether selecting a tier updates the displayed price — both the theme’s native price element
and the
<dkl-price> component. When off, the tier-change event
still fires (so custom integrations keep working), but no price display reflects the tier.Advanced: CSS selector for the theme’s price element. Leave blank to auto-detect (or to pair with
<dkl-price>).Bi-directional sync of the theme’s quantity selector to the selected tier’s quantity
Advanced: CSS selector for the theme’s quantity input. Leave blank to auto-detect.
Advanced: Optional event name to trigger quantity sync.
Spacing & sizing
Space above the widget, 0–80px.
Space below the widget, 0–80px.
Inherit, or Custom (reveals the sizes below).
10–32px. Custom only.
8–28px. Custom only.
Option corner radius, 0–24px.
Colors
Resting card border.
Border and ring of the selected tier.
Next steps
Web Components
The same component placed by hand, configured with
data-*.Styling & Data Attributes
The tokens, parts, and attributes behind these settings.