Commerce Cart Reminder Brings Automated Cart Recovery and Reordering to Drupal

Commerce Cart Reminder Brings Automated Cart Recovery and Reordering to Drupal

A new module for Drupal Commerce, Commerce Cart Reminder, has been released to help online stores recover lost sales by automatically reaching out to customers who leave items in their cart without completing their purchase. Created by Sujan Shrestha, the module is compatible with Drupal 10 and 11 and is designed to boost conversions through personalized, automated cart recovery emails.

The module works by monitoring abandoned carts and sending reminder emails after a configurable delay. Each email includes a secure, personalized link that restores the customer’s cart exactly as they left it. Clicking the link takes them directly back to their shopping cart with all selected items intact, eliminating the need to search and re-add products. This seamless experience makes it more likely that customers will return to complete their order.

For anonymous users, the process is just as smooth. When someone who isn't logged in clicks the link, the module restores their cart and prompts them to enter contact information if they proceed to checkout. If they choose to log in or register, the cart is then associated with their user account. For logged-in users, the link takes them straight to their cart, ready to continue where they left off.

Site administrators can fully customize the reminder emails using a rich text editor. Messages can include dynamic tokens like the customer’s name or email, and the unique cart restoration link. A test mode allows all emails to be routed to a designated address before going live, helping store owners review their messages before customers see them. Admins can also copy themselves or teammates on outgoing reminders for tracking purposes. Additionally, the module helps maintain a clean database by automatically deleting abandoned carts after a set period.

One of the standout features of the module is the cart referral link functionality. Store owners can generate a secure link from any past order and share it with a customer for easy reordering. These links can also be shared by customers with others, allowing anyone who clicks to have the same items added directly to their cart. This is ideal for promoting bundles, enabling reorders, or driving product referrals through peer sharing. Referral links can be generated manually or embedded into confirmation messages and emails, streamlining the reorder and sharing experience.

Commerce Cart Reminder integrates with Drupal’s cron system to handle automated actions like sending reminders and cleaning up old carts. A custom service handles all core logic, and a dedicated database table prevents duplicate reminders unless explicitly allowed by configuration. The module requires Commerce Core and can be installed using Composer.

For more information, installation instructions, and support, visit the Commerce Cart Reminder project page on drupal.org.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related People

Upcoming Events

Latest Opportunities