Linux 软件免费装
Banner图

Ajax Cart for WooCommerce – Side Cart, Free Shipping Bar & Quantity Buttons

开发者 moiseh
更新时间 2026年11月27日 03:43
PHP版本: 7.2 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

side cart ajax cart free shipping bar quantity buttons cart drawer

下载

1.6.0 1.2.5 1.2.6 1.2.7 1.3.1 1.3.23 1.3.3 1.3.4 1.3.0 1.3.16 1.3.17 1.3.18 1.3.19 1.3.5 1.2 1.2.9 1.3.22 1.2.2 1.2.4 1.3.7 1.4.0 1.5.4 1.3.2 1.4.1 1.2.1 1.3.26 1.3.11 1.3.25 1.5.5 1.3.14 1.3.15 1.3.20 1.3.27 1.3.28 1.3.6 1.3.10 1.3.12 1.3.13 1.3.21 1.3.9 1.5.0 1.2.3 1.2.8 1.3.24 1.5.1 1.5.2 1.6.1

详情介绍:

Ajax Cart for WooCommerce makes buying smoother in two ways: On the newer Cart block (the default for stores created since WooCommerce 8.3), WooCommerce already updates quantities by itself; there the plugin adds a confirmation before an item is removed, the free shipping bar, and the side cart works the same. No code or theme changes are needed: a new install starts with the side cart and the free shipping bar on, and everything else is a switch in WooCommerce > Ajax Cart for WooCommerce. Need more? The PRO adds a rewards progress bar, product suggestions and -/+ quantities inside the side cart, AJAX Add to cart and quantities kept in sync on the shop and product pages — $35 one-time (no subscription), with 1 year of updates and support and a 7-day money-back guarantee. See the PRO features below. You can try and play with this plugin demonstration clicking here [youtube https://www.youtube.com/watch?v=LG6WiceTuwU] Free version features: Premium version features: Get the PRO version here. [youtube https://www.youtube.com/watch?v=s3rPvse4IHs] Looking for more checkout and product page tools — a "Buy now" button, a shorter checkout, quantities on the checkout? Try our Better Usability for WooCommerce plugin.

安装:

  1. In your WordPress admin go to Plugins > Add New, search for "Ajax Cart for WooCommerce" and click Install, then Activate (or upload woocommerce-ajax-cart.zip there)
  2. That's it: a new install starts with the side cart and the free shipping bar on
  3. To change anything — the side cart's look, the -/+ buttons, the free shipping amount — open WooCommerce > Ajax Cart for WooCommerce

屏幕截图:

  • The side cart opens when a product is added: a coupon form, the discount and the total after it, and the free shipping progress bar.
  • The side cart as a popup, in your accent colour, with the floating cart button and its item count — opened here from the theme's own header cart.
  • The free shipping progress bar on WooCommerce's Cart block.
  • The side cart settings: drawer or popup, coupon form, accent colour, the floating button's icon and corner, and the texts.

常见问题:

Does it work with the Cart block?

Yes. On WooCommerce's Cart block (the default cart of stores created since WooCommerce 8.3) the block already updates the totals by itself; the plugin adds a confirmation before an item is removed and the free shipping bar there, and the side cart works on every page with either cart. The -/+ buttons and AJAX totals are for the classic cart page (the [woocommerce_cart] shortcode).

My theme already has -/+ buttons. Will I get two pairs?

No. When the theme's quantity field already has its own plus and minus buttons, the plugin leaves its own out and keeps updating the cart when the theme's buttons change the quantity. You can also turn the plugin's buttons off in WooCommerce > Ajax Cart for WooCommerce > General.

How do I open the side cart from my header cart icon?

It opens by itself: with the side cart on, a click on any link to the cart page — the theme's header cart, its icon or count — opens the side cart instead (turn that off in Settings > Side cart). For your own button or menu item, give it the CSS class wac-open-side-cart.

Where is the free shipping amount taken from?

From the "Free shipping" method of the shopper's shipping zone (its minimum order amount), or from the amount you type in Settings > Free shipping bar. With no amount the bar stays hidden.

Can I hide the floating cart button?

Yes: turn "Show a floating cart button" off, or have it hidden only while the cart is empty, in Settings > Side cart.

Can a developer change what the plugin does?

Yes, with WordPress hooks (filters and actions) and JavaScript events, in a child theme's functions.php or a small plugin:

  • wac_side_cart_enabled (filter, bool $enabled): the side cart and its floating button on or off on the current page.
  • wac_load_assets (filter, bool $load): whether the plugin's cart script and styles load on the current page (by default the Cart page, a page with the classic cart, and pages with the side cart).
  • wac_side_cart_before_items / wac_side_cart_after_items (actions): print your own HTML in the side cart, above or below its items.
  • wac_free_shipping_threshold (filter, float $threshold): the order amount that gives free shipping, as the bars show it — for example converted to the shopper's currency; 0 hides the bar.
  • wac_progress_bar_html (filter, string $html): the free shipping bar printed in the side cart, Mini-Cart and classic Cart.
  • wac_free_shipping_block_enabled (filter, bool $enabled): whether the Cart block gets the free shipping bar.
  • wac_quantity_div (filter: $html, $cart_item_key, $cart_item, $original_html): a cart item's quantity field with its -/+ buttons.
  • wac_button_link (filter: $html, $label, $identifier — sub or inc): the HTML of a - or + button.
  • wac_template_file (filter: $located, $template_name, $args): the quantity dropdown template ("Show item quantity as select").
  • wac_frontend_vars (filter, array $vars): the settings and texts the cart script reads.
  • mh_wac_settings (filter, array $settings): the settings, with their defaults.
  • wac_before_cart_update (JavaScript event on document.body, with the quantity field): just before a changed quantity updates the classic cart.

更新日志:

1.6.1 1.6.0 1.5.5 1.5.4 1.5.2 1.5.1 1.5.0 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.24 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 1.3.18 1.3.17 1.3.16 1.3.15 1.3.14 1.3.13 1.3.12 1.3.11 1.3.10 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1