# king-addons/51.1.86/includes/widgets/Ajax_Add_To_Cart/widget-guide.md

King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder, version 51.1.86. 26 lines.

- Page: https://pluginprobe.com/plugins/king-addons/51.1.86/code/includes/widgets/Ajax_Add_To_Cart/widget-guide.md
- Raw: https://pluginprobe.com/plugins/king-addons/51.1.86/raw/includes/widgets/Ajax_Add_To_Cart/widget-guide.md
- Modified: 2026-09-23T19:18:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/king-addons/51.1.86/code/includes/widgets/Ajax_Add_To_Cart/widget-guide.md#L10-L20`.

```markdown
# Ajax Add to Cart

Ajax-powered WooCommerce add-to-cart button with success notice and styling controls.

## Free features
- Use current product (single) or specify product ID fallback.
- Fixed quantity, button text, success message.
- Alignment, typography, colors, border, radius; inline spinner and notice.

## Pro features
- Icons/badges on button, mini-cart fragment toggle.
- Custom success/redirect behaviors, quantity selector, variable products.

## How to use
1. Place the **Ajax Add to Cart** widget.
2. Enable “Use Current Product” on single product pages, or set a Product ID fallback.
3. Set quantity, button label, and success message.
4. Style the button and notice; test add-to-cart on frontend.
5. (Pro) Add icons/badges, advanced behaviors, and variable product handling.







```
