WooCommerce Ajax Cart Plugin

설명

WooCommerce AJAX Cart is a WordPress Plugin that changes the default behavior of WooCommerte Cart Page, allowing a buyer to see the Total price calculation when change the Quantity of a product, without need to manually click on “Update cart” button.

This improves the user experience when purchasing a product. No other hacks/code/theme changes is needed, this functionality is added when the plugin is activated.

You can try and play with this plugin demonstration clicking here

Free version features:

  • Automatically reload and recalculate Cart using AJAX when quantity changes
  • Show -/+ buttons around item quantity on cart page
  • Show item quantity as select instead numeric field
  • Show user confirmation when change item quantity to zero

Premium version features:

  • Allow to change/synchronize quantities in shop, minicart and single product pages view demo
  • Make the Add to cart button to perform with AJAX, without full page reload view demo
  • Faster AJAX reload call when change quantities in Cart page
  • Option to lock quantity inputs to allow only change using plus and minus buttons
  • Update price vs quantity calculation automatically on Single Product pages

If you looking for a related plugin with more complete features maybe you can try WooCommerce Better Usability plugin.

스크린샷

  • When user clicks on "+" or "-" of Quantity field, an AJAX request was made to update the prices.

설치

  1. Upload woocommerce-ajax-cart.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done. This plugin no requires extra configurations to work

후기

2020년 7월 15일
This plugin has a function to undo the product even if the product is deleted from the update cart button on the cart page. This is a unique feature of this plugin that is not in the default woocommerce features. Very kind to customers 🙂
2020년 5월 27일
This plugin displays an unhidable nag notice on the wp main dashboard. The notice has a link saying "Dismiss for 90 days" and the notice goes away after you click on that link, but it comes back way sooner than the said 90 days. It is more like 90 hours after it appears again. Even 90 day feels too frequent for me so this is very annoying. This is a violation of WP guidelines, which is unacceptable. Please read here: https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#11-plugins-should-not-hijack-the-admin-dashboard and here: https://make.wordpress.org/themes/handbook/review/required/explanations-and-examples/#selling-credits-and-links WP defines dismissable notices like this: Notifications such as admin notices must be dismissable. This means that the notices should not only be closed, but hidden permanently when the “Dismiss” link is closed. Please review and remove this annoying nag notice as soon as possible!
모든 37 평가 읽기

기여자 & 개발자

“WooCommerce Ajax Cart Plugin”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“WooCommerce Ajax Cart Plugin”(이)가 6(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “WooCommerce Ajax Cart Plugin”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.3.24

  • Reset quantity to minimum value when denying the confirmation to remove item from the cart

1.3.23

  • Tested with WooCommerce 6.4.1 and WordPress 5.9.3
  • Fixed reported PHP warning error at Admin panel

1.3.22

  • Changed default quantity buttons CSS for better looking
  • Testing with WordPress 5.8.1 and WooCommerce 5.8.0

1.3.21

  • Avoid to add hide style for product quantity multiple times
  • Prevent user from click on quantity buttons when disabled
  • Tested with WordPress 5.8

1.3.20

  • Tested with WooCommerce 5.0.0
  • Fixed translation domain path

1.3.19

  • Added dropdown_steps argument support for woocommerce_quantity_input_args hook

1.3.18

  • Fixed fatal error on frontend when WooCommerce plugin not enabled
  • Let dropdown respect min_value and step values
  • Added wac_quantity_div and wac_template_file filters
  • Removed old legacy migration

1.3.17

  • Using document instead document.body listeners that was causing issues with some themes
  • Trigger correct Update cart button in Cart for themes that using multiple layouts
  • Changed HTML structure of buttons to make it more clickable

1.3.16

  • Tested with latest WordPress and WooCommerce version
  • Fixed critical bug when changing quantity in Cart

1.3.15

  • Tested with latest WordPress and WooCommerce versions
  • Removed unwanted admin notices

1.3.14

  • Optimized plus and minus quantity javascript listeners

1.3.13

  • Show confirmation to remove product when user empty quantity input

1.3.12

  • Removing deprecated PHP short_open_tag blocks

1.3.11

  • Updated template override compatibility to 4.0.0 and WC tested up to 4.2.0

1.3.10

  • Reversed changelog ordering to make it more standard
  • Changed plugin notices to respect the guidelines

1.3.9

  • Added compatibility support with WooCommerce 4.0.1

1.3.8

  • Compatibility with WooCommerce Bundled Products

1.3.7

  • Hide quantity select in Cart when maximum value is same as minimum value

1.3.6

  • Updated supported woocommerce version to 3.8.1

1.3.5

  • Updated supported woocommerce version to 3.7.1
  • Prevent page reload when adding to cart in certain conditions

1.3.4

  • Changed limit from 50 to 1000 for quantity in select
  • Added compatibility with Giftable for WooCommerce plugin

1.3.3

  • Removing +/- buttons when product is sold individually

1.3.2

  • Added compatibility with WooCommerce 3.6.4
  • Standardized to use strict mode on frontend script, removing unused code

1.3.1

  • Registering scripts using common hook wp_enqueue_scripts