=== Ajax Cart AutoUpdate for WooCommerce ===
Contributors: taisho
Tags: woocommerce,ajax,cart,update,autoupdate,quantity,auto-update,refresh,qty,basket,notices
Donate link: https://www.paypal.me/TaishoDev/usd
Requires at least: 4.4
Tested up to: 5.2
Requires PHP: 5.3
Stable tag: 1.03
License: GPLv3
License URL: http://www.gnu.org/licenses/gpl-3.0.html
A light plugin that automatically updates cart page and mini-cart when product quantity is changed. Removes the default "Update cart" button. Optionally turns off cart page notices.
== Description ==
A light plugin that automatically updates cart page and mini-cart when product quantity is changed. Removes the default "Update cart" button. Optionally turns off cart page notices.
Features
* Cart page and mini-cart widget are updated automatically on quantity change through Ajax (no page reloading).
* "Update cart" button is removed from the cart page.
* Both mouse and keyboard changes are supported.
* Works for custom dropdown lists with 'qty' class.
* Compatible with plugin [Qty Increment Buttons for WooCommerce](https://wordpress.org/plugins/qty-increment-buttons-for-woocommerce/).
* Uses default WooCommerce cart update event.
* Cart update is delayed by time in milliseconds since the last action affecting quantity, changeable in plugin settings, default 1000. It means that the update will fire only once when the customer is done with changes.
* Optionally change min quantity in the cart from 0 to 1, on by default.
* Optionally remove all notices from the cart page, on by default.
== Installation ==
Recommended:
Install and activate from WordPress "Plugins > Add New" screen.
Manual installation:
1. Unzip plugin file and upload folder to directory /wp-content/plugins/
1. Activate plugin in WordPress \"Plugins\" menu.
== Frequently Asked Questions ==
= Will this plugin work correctly on my website? =
Ajax Cart AutoUpdate for WooCommerce is designed to work on any website with WooCommerce 2.6 and newer. It uses the default update cart event, exactly the same as the "Update cart" button, for 100% compatibility.
= Update delay is set to 0. Why doesn't my cart update instantly? =
This plugin relies on the same event as "Update cart" button and none of them will update instantly. To update the quantity on the backend, a request needs to be sent from the website to the server and then a response back to the website. How fast it happens is based on server response time.
= Quantity field on my cart page disappeared. How to fix it?
By default, this plugin changes the minimum quantity in the cart from 0 to 1. If min = max quantity, WooCommerce hides the quantity input field, so all products with max quantity = 1 will have it hidden with this setting checked.
= My cart page notices disappeared, how do I restore them? =
Removing cart page notices is enabled by default in plugin settings. Simply uncheck this option.
= Can I remove only selected cart page notices? =
Currently, it's not possible. Removing cart page notices is only an addition to the core functionality of this plugin, however, if enough users communicate me that such feature is important, I will consider it for future releases.
= Will this plugin affect my page speed? =
Very little, it's a small plugin that executes only on the cart page.
== Changelog ==
= 1.03 =
* Translation-ready.
* New translation: Spanish.
= 1.02 =
* Added support for dropdown lists with 'qty' class.
= 1.01 =
* Fixed a bug on the settings page that prevented users from unchecking default options.
= 1.0 =
* Initial release