跳到内容

Carbon Based AJAX Add to Cart

v1.0.3

carbonbasedstudio · 2026年10月18日 上架

Add to cart on single product pages without reloading the page.

正在使用
10 以下
评分
暂无
累计下载
564
最近更新
2026年11月14日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

General: turn AJAX on for standard product forms, and choose simple and variable products.
General: turn AJAX on for standard product forms, and choose simple and variable products.
Behaviour: stay on the page, the loading indicator, and scroll to the notice.
Behaviour: stay on the page, the loading indicator, and scroll to the notice.
Notices and UI: where success and error messages are inserted, and the View cart link.
Notices and UI: where success and error messages are inserted, and the View cart link.
Compatibility: extra form fields, and a closed section for custom purchase forms.
Compatibility: extra form fields, and a closed section for custom purchase forms.
Advanced: load the scripts off the product page, request timeout, debug, and uninstall.
Advanced: load the scripts off the product page, request timeout, debug, and uninstall.

WooCommerce adds to cart without a page reload on shop pages, but not on single product pages. Carbon Based AJAX Add to Cart fills that gap. Customers add simple and variable products from the product page and see the message straight away, with no reload.

Features

  • Standard WooCommerce forms – Works with default form.cart and form.variations_form on single product pages (enabled by default).
  • Custom form profiles – Map non-standard purchase boxes with your own CSS selectors for the form, variation ID, parent product ID, quantity, and attributes.
  • Notice HTML in AJAX responses – Success and error messages are returned as HTML, not only through cart fragments.
  • Optional cart fragments – Mini-cart and other fragment targets can update after a successful add.
  • Behaviour controls – Loading indicator modes (theme spinner, plugin spinner, text, or custom), single-submit guard, scroll-to-notice option, and post-add behaviour.
  • Compatibility options – Normal or conservative submit handling, extra form fields, optional send-all form fields for add-ons, and an automatic warning when another AJAX add-to-cart plugin looks active.
  • Developer filters – Extend profiles, payloads, notices, cart item data, and form binding.
  • In-plugin Information tab – Closed topics matching each settings tab.

Requires WooCommerce. Settings are under Carbon Based > AJAX Add to Cart.

Supported product types

Simple and variable products on single product pages. Grouped and external products are not handled in the current release.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums