Commerce Cart Ajax

Component ID

1299260

Component name

Commerce Cart Ajax

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

22034

Component created

Component changed

Component body

Features

  1. The “remove” button on cart view removes the item from the cart immediately, without a page refresh. The row is removed from the table.
  2. The “Qty” is updated when the "update" button is clicked. The totals are recalculated. No page refresh.

Dependencies

  • For sales, Drupal Commerce is required.
  • The cart is a view, so the Views User Interface module must be enabled

Installation

  1. Enable the "Commerce Cart Ajax" module at admin/modules.
  2. Ensure the "Views UI" module is enabled.
  3. Visit the cart views edit page at /admin/structure/views/view/commerce_cart_form/edit
  4. On "Use AJAX" field, change to "Yes".
  5. Save the view, visit the cart after you put some items in it.

Credits & Support