emcp_custom_272Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: coupon, promo code, discount, voucher, deal, copy code.
Layout = ticket
20% OFFUse the code at checkout. Works on sale items too.
Layout = card
$15Use the code at checkout. Works on sale items too.
Layout = inline
FREE SHIPUse the code at checkout. Works on sale items too.
Layout = minimal
$15Use the code at checkout. Works on sale items too.
Layout = voucher
$15Use the code at checkout. Works on sale items too.
Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).
Coupon
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Layoutlayout | Dropdown | Ticket (perforated edge), Card, Inline bar, Minimal, Voucher with big discount | ticket | |
Discount Labeldiscount | Text | 20% OFF | ||
Titletitle | Text | Spring sale on every hoodie | ||
Descriptiontext | Textarea | Use the code at checkout. Works on sa... | ||
Coupon Codecode | Text | SPRING20 | ||
Code Behaviourreveal | Dropdown | Always visible, click to copy, Hidden until clicked (scratch style), Peel corner | reveal | |
Button Textbtn_text | Text | Copy code | ||
Copied Textcopied_text | Text | Copied! | ||
Reveal Promptreveal_text | Text | Click to reveal code | ||
Shop Link (opens after copy)link | Link | |||
Shop Link Textlink_text | Text | Go to shop | ||
Expires Atexpires | Date and time | |||
Expiry Labelexpiry_label | Text | Ends in | ||
Expired Textexpired_text | Text | This offer has ended. | ||
Hide When Expiredhide_expired | Toggle | on / off | ||
Terms Lineterms | Text | |||
Iconicon | Icon | fas fa-tag | ||
Image / Logoimage | Image | |||
Scarcity Noteuses_left | Text |
Card
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Accentaccent | Color | #6a11cb | ||
Backgroundbg | Color | #ffffff | ||
Page Background (for the perforation)page_bg | Color | #ffffff | ||
Paddingpad | Dimensions | |||
Radiusradius | Slider | min 0, max 40, px | 16 | |
Borderborder | Border | |||
Shadowshadow | Box shadow | |||
Dashed Line Colordash_color | Color | #d0d5dd | ||
Max Widthmaxw | Slider | min 260, max 1200, px/% |
Text & Code
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Discount Typographydisc_typo | Typography | |||
Discount Colordisc_color | Color | #ffffff | ||
Title Typographytitle_typo | Typography | |||
Title Colortitle_color | Color | #101828 | ||
Text Typographytext_typo | Typography | |||
Text Colortext_color | Color | #475467 | ||
Code Typographycode_typo | Typography | |||
Code Colorcode_color | Color | #101828 | ||
Code Backgroundcode_bg | Color | #f9fafb | ||
Code Bordercode_border | Color | #6a11cb | ||
Button Textbtn_color | Color | #ffffff | ||
Button Backgroundbtn_bg | Color | #6a11cb | ||
Timer Colortimer_color | Color | #b42318 | ||
Icon Sizeicon_size | Slider | min 12, max 80, px | 28 |
Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_272" and a settings object using the keys above. Run get-custom-widget with id 272 for the full JSON spec.