Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This release marks the module as production-ready for Drupal 10 websites using Drupal Commerce.
Key Features:
Seamless UX: Updates cart item quantities and order totals via AJAX without full page reloads.
Dual Update Methods:
- Selectors Mode: Easy setup using CSS selectors from Views.
- Endpoint Mode: Flexible AJAX endpoints returning JSON/HTML, ideal for complex themes or integration with JS frameworks (Vue.js, React).
Real-time Updates: Automatically refreshes the Order Summary, Cart Block count, and individual item prices.
Multilingual Support: Fully compatible with language prefixes and translation management.
Technical Highlights:
- Modern Architecture: Built using modern Drupal 10 standards, including PHP Attributes (#[Hook]) for cleaner hook implementations.
- Developer Friendly: dispatching JavaScript events (ajaxCartUpdate:endpointUpdated) for easy integration with custom frontend logic.
Requirements:
Drupal ^10
Drupal Commerce (Commerce Cart)
Installation:
Enable the module and configure the update method at /admin/config/ajax-cart-update/settings. No complex setup is required for the default "Selectors" mode.