Ajax add to cart for WooCommerce

Описание

The default add to cart button of WooCommerce reloads the entire site each time a product is added to the cart. The more steps and time your e-commerce load, the more you reduce the chances of selling.

Ajax add to cart for WooCommerce allows users to include single products or variable products in the cart without the need to reload the entire site each time.

Improvements

  1. Use less bandwidth
  2. Reduce server load
  3. Speed user experience
  4. Increase your sales!

Отзывы

12.08.2021
After installation, does not seem to work and to be functional. No adjustments possible and visible. In addition, no documentation, no details on how the extension works.in addition, a commercial link to another product of Quad layers is generated. Too bad because it looks promising.
16.03.2021
This plugin is clean and works great. One thing I would suggest in the code. there should be a check for whether the product is external otherwise it tries to add it to cart but nothing ever happens. In the add_product_js function add this code to accomplish: global $post; if (function_exists('wc_get_product')): $product = wc_get_product($post->ID); if (function_exists('is_product') && is_product() && !$product->is_type('external')) { wp_enqueue_script('woo-ajax-add-to-cart'); } endif; good luck and thanks.
08.02.2021
has had a problem with variables for years that they don't bother to fix. If you have a variable marked as "any" it will not read it and it will not add anything to the cart.
19.01.2021
Excellent stuff. Works well for both simple and variable products. Can also hook into the actions via the js events.
09.10.2020
My original review was: The plugin is lightweight, practical, has no additional settings and works as it should. But there is a lack of functionality that is essential for what he proposes: giving feedback to the user while he puts the product in the cart. Depending on the performance of the site, it may take a fraction of a second between clicking the purchase button and the product appearing in the cart. During that time, there is no feedback. There could be an animation or a warning, but this lack of response can cause the user to click the button several times without success. I was initially very happy with the plugin, but I was forced to look for an alternative. But as I didn't find alternatives so light and effective, I started to study if there was any way to insert the animation manually. And the good news is that the plugin adds loading and added classes to the button. This was enough for me to get around the problem and include a custom animation. I expected not to have to deal with custom codes, but at least the plugin was useful for that. Good job!
Посмотреть все 22 отзыва

Участники и разработчики

«Ajax add to cart for WooCommerce» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Ajax add to cart for WooCommerce» переведён на 4 языка. Благодарим переводчиков за их работу.

Перевести «Ajax add to cart for WooCommerce» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.2.6

  • WordPress compatibility

1.2.5

  • WordPress compatibility

1.2.4

  • WordPress compatibility

1.2.3

  • QuadLayers widget cache

1.2.2

  • WordPress compatibility

1.2.1

  • WordPress compatibility

1.2.0

  • QuadLayers dashboard widget

1.1.9

  • WordPress compatibility

1.1.8

  • fix js issue

1.1.7

  • fix php issue

1.1.6

  • woocommerce compatibility

1.1.5

  • woocommerce compatibility

1.1.4

  • woocommerce ajax add to cart script included
  • woocommerce ajax add to cart variable product fixed

1.1.3

  • woocommerce ajax add to cart i18n

1.1.2

  • woocommerce ajax add to cart register script split from enqueue

1.1.2

  • woocommerce ajax add to cart language i18n fix

1.1.1

  • woocommerce product addons fix

1.1.0

  • woocommerce ajax add to cart issues

1.0.6

  • woocommerce cart i18n compatibility

1.0.5

  • disabled button validation in woocommerce products

1.0.4

  • fixed ajax add to cart in variable products

1.0.3

  • fixed when ajax add to cart in archives off

1.0.2

  • class names woocommerce ajax add to cart updated

1.0.1

  • include script only in products pages

1.0.0

  • initial release of woocommerce ajax add to cart