WooCommerce · Elementor

Single Product widget for Elementor

Single Product is an Elementor widget in King Addons. Enable it under King Addons → Dashboard if it is off, then search for “Single Product” in the Elementor panel.

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

Single Product is an Elementor widget in King Addons. Enable it under King Addons → Dashboard if it is off, then search for “Single Product” in the Elementor panel.

Single Product Widget (Free).

render() writes HTML data attributes: data-product_id, data-product_sku, data-quantity.

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

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 “Single Product”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Use Current Product (Single)”, “Product ID (fallback)”, “Show Image”, “Show Price”. 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 Single Product.

Inspector controls from this widget’s PHP

ControlWhat the code does
Product — Use Current Product (Single)Switcher inspector control (`kng_use_current_product`).
Product — Product ID (fallback)Numeric value used in this widget’s render/JS (min 1).
Product — Show ImageSwitcher inspector control (`kng_show_image`).
Product — Show PriceSwitcher inspector control (`kng_show_price`).
Product — Show Short DescriptionSwitcher inspector control (`kng_show_excerpt`).
Product — Show RatingSwitcher inspector control (`kng_show_rating`).
Product — Show Add to CartSwitcher inspector control (`kng_show_add_to_cart`).
Animations — Hover AnimationThe chosen value is read in render() and applied on the front end. Options: None; Lift; Image Zoom; Tilt; Float; Scale & Fade.
Layout — AlignmentWrites CSS `align-items` onto the widget’s front-end markup. Options: Left; Center; Right.
Layout — GapWrites CSS `gap` onto the widget’s front-end markup. (min 0, max 60).
Layout — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-single-product`.
Layout — Disable Box ShadowSwitcher inspector control (`kng_disable_card_shadow`).
Layout — Disable Box Shadow on HoverSwitcher inspector control (`kng_disable_card_shadow_hover`).
Layout — Card Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup. (min 0, max 50).
Layout — Card BorderSwitcher inspector control (`kng_card_border`).
Text — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-single-product__title`.
Text — Title ColorWrites CSS `color` onto the widget’s front-end markup.
Text — Typography (Kng Price Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-single-product__price`.
Text — Price ColorWrites CSS `color` onto the widget’s front-end markup.
Text — Typography (Kng Excerpt Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-single-product__excerpt`.
Text — Excerpt ColorWrites CSS `color` onto the widget’s front-end markup.
Add to Cart — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-single-product__cta .button`.
Add to Cart — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Add to Cart — Indicator SizeSpacing/size control (min 8, max 40).
Add to Cart (Normal) — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Add to Cart (Normal) — BackgroundWrites CSS `background-color` onto the widget’s front-end markup.
Add to Cart (Normal) — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} .king-addons-single-product__cta .button`.
Add to Cart (Normal) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-single-product__cta .button`.
Add to Cart (Hover) — Hover Text ColorWrites CSS (button, color) onto the widget’s front-end markup.
Add to Cart (Hover) — Hover BackgroundWrites CSS (button, background-color) onto the widget’s front-end markup.
Add to Cart (Hover) — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} .king-addons-single-product__cta .button:hover`.
Add to Cart (Hover) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-single-product__cta .button:hover`.
Add to Cart — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup. (min 0, max 40).
View Cart Link — Spacing From ButtonWrites CSS `margin-left` onto the widget’s front-end markup. (min 0, max 60).
View Cart Link — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-single-product__cta .added_to_cart`.
View Cart Link — PaddingWrites CSS `padding` onto the widget’s front-end markup.
View Cart Link (Normal) — Text ColorWrites CSS `color` onto the widget’s front-end markup.
View Cart Link (Normal) — BackgroundWrites CSS `background-color` onto the widget’s front-end markup.
View Cart Link (Normal) — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} .king-addons-single-product__cta .added_to_cart`.
View Cart Link (Normal) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-single-product__cta .added_to_cart`.
View Cart Link (Hover) — Hover Text ColorWrites CSS (cart, color) onto the widget’s front-end markup.
View Cart Link (Hover) — Hover BackgroundWrites CSS (cart, background-color) onto the widget’s front-end markup.
View Cart Link (Hover) — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} .king-addons-single-product__cta .added_to_cart:hover`.
View Cart Link (Hover) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-single-product__cta .added_to_cart:hover`.
View Cart Link — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup. (min 0, max 40).

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 Single Product 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 Single Product require WooCommerce?

Yes. Install WooCommerce and add products (or complete a cart) before this widget has anything to show.

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 woocommerce widgets

Get King Addons

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

Get King Addons