This module ajaxify the add to cart submit button provided by the commerce module.
By default, the add to cart button make a submission and reload the page.
Now :
- Submission does not reload the page
- An animated image show add to cart is processed.
- Messages are displayed in status messages area
- Cart block is reloaded
A configuration needs to be made in /admin/commerce/config/commerce-addtocart-ajax to define the selector to display status messages. This depends of your theme. By default, .status-messages is used.
This module has started as a fork of Ajax add to cart module for multiple reasons :
- ajax_add_to_cart module seemed to not be maintained anymore and was buggy
- The modal feature should not be required
- Does not follow good practices
- Keep it simple
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: E-commerce
37 sites report using this module
- Created by goz on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
2.0.1
released 20 June 2026
Works with Drupal: ^10.1 || ^11 || ^12
Install:
Development version: 2.0.x-dev updated 20 Jun 2026 at 16:28 UTC
8.x-1.0
released 28 November 2024
Works with Drupal: ^9 || ^10
Install:
Development version: 8.x-1.x-dev updated 3 Jun 2025 at 12:22 UTC
