Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module enhances the Drupal Commerce add-to-cart functionality by making the process asynchronous. Instead of reloading the page, items are added to the cart with visual feedback and status messages, and the cart block is updated automatically.

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

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Nov 2024
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.x-dev Dev 10–11 Jun 20, 2026
2.0.1 Stable 10–11 Jun 20, 2026
2.0.0 Stable 9–11 Dec 21, 2025
8.x-1.0 Stable 9–10 Nov 28, 2024