Marketing · Elementor

Pricing Slider widget for Elementor

An interactive pricing slider: visitors drag a value and see the matching price or package.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

An interactive pricing slider: visitors drag a value and see the matching price or package.

render() writes HTML data attributes: data-features, data-min-value, data-price-data.

Output depends on WooCommerce objects (products, cart, or account). Empty without WooCommerce data.

The widget script reads data attributes: data-attribute, data-price.

The script talks to WooCommerce front-end events or add-to-cart URLs.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Pricing Slider”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Title”, “Description”, “Minimum Value”, “Maximum Value”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Pricing Slider.

Inspector controls from this widget’s PHP

ControlWhat the code does
Pricing Slider — TitlePrinted in the widget HTML from render().
Pricing Slider — DescriptionPrinted in the widget HTML from render().
Slider Settings — Minimum ValueNumeric value used in this widget’s render/JS (default 1, min 0).
Slider Settings — Maximum ValueNumeric value used in this widget’s render/JS (default 100, min 1).
Slider Settings — Default ValueNumeric value used in this widget’s render/JS (default 50, min 1).
Slider Settings — StepNumeric value used in this widget’s render/JS (default 1, min 1).
Slider Settings — Minimum LabelPrinted in the widget HTML from render().
Slider Settings — Maximum LabelPrinted in the widget HTML from render().
Slider Settings — Price PrefixPrinted in the widget HTML from render().
Slider Settings — Price SuffixPrinted in the widget HTML from render().
Slider Settings — Currency SymbolThe chosen value is read in render() and applied on the front end. Options: None; Dollar; Euro; Pound Sterling; Ruble; Shekel; Baht; Yen/Yuan….
Slider Settings — Custom SymbolSaved on the widget and consumed in render().
Slider Settings — Currency PositionThe chosen value is read in render() and applied on the front end. Options: Before; After.
Slider Settings — PeriodPrinted in the widget HTML from render().
Slider Settings — Price FormulaThe chosen value is read in render() and applied on the front end. Options: Linear (ax + b); Custom Prices.
Slider Settings — Coefficient (a)Numeric value used in this widget’s render/JS (default 1).
Slider Settings — Constant (b)Numeric value used in this widget’s render/JS (default 0).
Custom Prices — ValueNumeric control (default 1, min 0).
Custom Prices — PriceNumeric control (default 10, min 0).
Slider Settings — Custom PricesRepeater rows; render() loops each item to build the list or slides.
Features — Show FeaturesSwitcher inspector control (`show_features`).
Features — Feature TextText inspector control (`feature_text`).
Features — Minimum ValueFeature will be included starting from this value.
Features — Included IconIcon rendered with Elementor Icons_Manager in this widget’s HTML.
Features — Excluded IconIcon rendered with Elementor Icons_Manager in this widget’s HTML.
FeaturesRepeater rows; render() loops each item to build the list or slides.
Button — Show ButtonSwitcher inspector control (`show_button`).
Button — Button TextPrinted in the widget HTML from render().
Button — Button URLElementor URL control (href, new tab, nofollow) applied to a front-end link.
Header — Title ColorWrites CSS `color` onto the widget’s front-end markup.
Header — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__title`.
Header — Description ColorWrites CSS `color` onto the widget’s front-end markup.
Header — Typography (Description Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__description`.
Header — SpacingWrites CSS `margin-bottom` onto the widget’s front-end markup. (min 0, max 100).
Header — AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Slider — Track Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Slider — Track HeightSpacing/size control (min 1, max 50).
Slider — Progress ColorWrites CSS `background-color` onto the widget’s front-end markup.
Slider — Thumb ColorWrites CSS `background-color` onto the widget’s front-end markup.
Slider — Thumb SizeSpacing/size control (min 10, max 100).
Slider — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Slider — Border WidthWrites CSS `border-width` onto the widget’s front-end markup. (min 0, max 20).
Slider — Border StyleWrites CSS `border-style` onto the widget’s front-end markup. Options: Default; None; Solid; Dashed; Dotted; Double.
Slider — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Slider — Enable ShadowWhen this switch is on, render() outputs the wrapped markup.
Slider — Thumb Shadow SettingsElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-pricing-slider__custom-thumb`.
Slider — Show Current ValueSwitcher inspector control (`show_current_value_indicator`).
Slider — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Slider — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Slider — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Slider — Border Radius (Current Value Border Radius)Writes CSS `border-radius` onto the widget’s front-end markup. (min 0, max 50).
Slider — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__current-value`.
Slider — Text Color (Range Values Text Color)Writes CSS `color` onto the widget’s front-end markup.
Slider — Typography (Range Values Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__range-min-value, {{WRAPPER}} .king-addons-pric…`.
Slider — Background Color (Range Values Bg Color)Writes CSS `background-color` onto the widget’s front-end markup.
Slider — Padding (Range Values Padding)Writes CSS `padding` onto the widget’s front-end markup.
Slider — Border Radius (Range Values Border Radius)Writes CSS `border-radius` onto the widget’s front-end markup. (min 0, max 50).
Slider — Margin (Around Container)Writes CSS `margin` onto the widget’s front-end markup.
Control Groups — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Control Groups — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup. (min 0, max 50).
Control Groups — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Control Groups — MarginWrites CSS `margin` onto the widget’s front-end markup.
Price — Price ColorWrites CSS `color` onto the widget’s front-end markup.
Price — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__price`.
Price — Currency ColorWrites CSS `color` onto the widget’s front-end markup.
Price — Typography (Currency Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__currency`.
Price — Period ColorWrites CSS `color` onto the widget’s front-end markup.
Price — Typography (Period Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__period`.
Price — SpacingWrites CSS `margin-bottom` onto the widget’s front-end markup. (min 0, max 100).
Price — AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Features — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Features — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__feature-item`.
Features — Included Icon ColorWrites CSS `color` onto the widget’s front-end markup.
Features — Excluded Icon ColorWrites CSS `color` onto the widget’s front-end markup.
Features — Default Background ColorDefault background for all feature items. Specific backgrounds can be set below.
Features — Background Color (Included)Writes CSS `background-color` onto the widget’s front-end markup.
Features — Text Color (Included)Writes CSS `color` onto the widget’s front-end markup.
Features — Typography (Included)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__feature-item.king-addons-feature-included .kin…`.
Features — Background Color (Excluded)Writes CSS `background-color` onto the widget’s front-end markup.
Features — Text Color (Excluded)Writes CSS `color` onto the widget’s front-end markup.
Features — Typography (Excluded)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__feature-item.king-addons-feature-excluded .kin…`.
Features — Border Color (Included)Writes CSS `border-color` onto the widget’s front-end markup.
Features — Border Color (Excluded)Writes CSS `border-color` onto the widget’s front-end markup.
Features — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Features — Spacing BetweenWrites CSS (feature-item, margin-bottom) onto the widget’s front-end markup. (min 0, max 50).
Features — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Features — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-pricing-slider__feature-item`.
Button (Normal) — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Button (Normal) — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Button (Hover) — Text ColorWrites CSS (button, add-to-cart, color) onto the widget’s front-end markup.
Button (Hover) — Background ColorWrites CSS (button, add-to-cart, background-color) onto the widget’s front-end markup.
Button (Hover) — Border ColorWrites CSS (button, add-to-cart, border-color) onto the widget’s front-end markup.
Button (Hover) — Hover AnimationAnimation picker; the chosen effect is applied on the front end.
Button — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__button, {{WRAPPER}} .king-addons-pricing-slide…`.
Button — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Button — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-pricing-slider__button, {{WRAPPER}} .king-addons-pricing-slide…`.
Button — AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Range Labels (Min/Max) — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Range Labels (Min/Max) — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__range-min`.
Range Labels (Min/Max) — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Range Labels (Min/Max) — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Range Labels (Min/Max) — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Range Labels (Min/Max) — Text Color (Max Label Text Color)Writes CSS `color` onto the widget’s front-end markup.
Range Labels (Min/Max) — Typography (Max Label Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__range-max`.
Range Labels (Min/Max) — Background Color (Max Label Bg Color)Writes CSS `background-color` onto the widget’s front-end markup.
Range Labels (Min/Max) — Padding (Max Label Padding)Writes CSS `padding` onto the widget’s front-end markup.
Range Labels (Min/Max) — Border Radius (Max Label Border Radius)Writes CSS `border-radius` onto the widget’s front-end markup.
Slider Labels — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Slider Labels — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-pricing-slider__control-label`.
Slider Labels — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Slider Labels — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Slider Labels — MarginWrites CSS `margin` onto the widget’s front-end markup.
Slider Labels — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Slider Labels — Text AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which Pricing Slider options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

Does Pricing Slider require WooCommerce?

Yes. This widget reads WooCommerce products, cart, or account objects. Install WooCommerce and add data before the widget has anything to show.

How do I add Pricing Slider in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Pricing Slider”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related marketing widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Pricing Slider after you activate it.

Get King Addons