<dkl-price> with no code — you add it in the theme
editor and configure every option through its settings panel. It’s available on product
templates.
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.
Add the DK: Price block
In the section where you want the price, click Add block and choose DK: Price, then position it where the
price should appear.
Settings
Every setting maps to adata-* attribute or --dkl-* token under the hood — see
Styling & Data Attributes for the equivalents.
Savings badge
Shows how much is saved vs the original price (on sale, or when a volume tier is selected). The settings below appear
once this is on.
How the saving displays — Percentage (e.g. 20%) or Amount (e.g. $5.00).
The savings badge’s leading label, e.g. “Save 15%”.
Shown between the sale and tier savings, e.g. “Save 10% + an extra 15%”.
Background colour for the savings badge.
Text colour within the savings badge.
Corner radius for the savings badge, 0–24px.
Spacing
Space above the widget, 0–80px.
Space below the widget, 0–80px.
Colors
The main price. Defaults to the theme’s inherited text colour.
Shown when a volume tier is selected. Falls back to the Price color.
The compared-to (struck-through) price.
Colour and radius pickers are written into a scoped
<style> rule the block emits, so they
live-update in the theme editor and stay overridable by your own CSS. Unset colour pickers
are skipped, so text never goes invisible.Next steps
Web Components
The same component placed by hand, configured with
data-*.Styling & Data Attributes
The tokens, parts, and attributes behind these settings.