Powered by Adobe Commerce 2.4.3-p2


Clear Old Cart



Back to top

By default, Magento 2 stores all customers cart items and restores them automatically at login. However, customers sometimes browse and add products to cart without being logged. Upon login, current cart content gets merged with any previously stored cart items which may lead to confusion and impact conversion rates. 

Clear Old Cart extension will clear all ancient saved cart items at customer login depending on some configurations. In other words, this extension allows a store administrator to decide if old cart will be merged to new one when a customer logs in. 

Furthermore, you can also choose to disable old cart merge only for carts that has not been updated for a certain configurable time. You can even choose to disable old cart restoration even if there is no new current cart while login. This is very simple to configure and really efficiency to improve user experience.


Use Cases

Suppose that a customer was logged in on your website a couple of weeks ago, added some products to his cart and let this cart abandoned. Now, he comes back on your site, decides to add some other products to its current cart and goes to the checkout process. As he logs in, he suddenly notices that there is some other items in his cart. 

At best, he will understand that these strange items are the ones that he added two weeks ago and will have to delete it before going through checkout process. At worst, he will be totally confused and will think that this is some kind of bug.

 This feature will automatically detect and flush old cart items and prevent them from merging with current cart items. 




  • Quick installation
  • Easy to configure with specific setting per website or store
  • Prevents merging of old cart items with current cart items at login
  • Disable the merging of carts that have not been updated for a certain configurable time
  • Option to clear abandoned carts even if there is no current cart
  • Enable/Disable a debug log file
  • Event driven development : does not rewrite existing code
  • Unencrypted source code

Technical Specifications

Back to top

Seller profile

Julien Loizelet

Seller contact


Current Version


Adobe Commerce platform compatibility

Open Source (CE): 2.3 (current), 2.4 (current)


Stable Build


19 April, 2022


Extensions, Sales

Supported Browsers

Chrome, Firefox, Opera, Safari, Edge, IE


Installation Guides

User Guides

License Type

GNU General Public License 3.0 (GPL-3.0)


Privacy Policy

Quality Report

Back to top

Installation & Varnish Tests


Coding Standard


Plagiarism Check


Malware Check


Marketing Review


Manual Testing


All tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.

Release Notes

Back to top


  • Compatible with Open Source (CE) : 2.3 2.4
  • Stability: Stable Build
  • Description:

    - Compatibility with 2.4.4


  • Compatible with Open Source (CE) : 2.3 2.4
  • Stability: Stable Build
  • Description:

    - Compatibility with 2.4.3
    - Minor changes for PHPMD and PHPSTAN warnings


  • Compatible with Open Source (CE) : 2.3 2.4
  • Stability: Stable Build
  • Description:

    v1.0.2: Compatibility with 2.4.2


  • Compatible with Open Source (CE) : 2.3 2.4
  • Stability: Stable Build
  • Description:

    v1.0.1: Add compatibility with 2.4


  • Compatible with Open Source (CE) : 2.3
  • Stability: Stable Build
  • Description:

    Initial Release.


Back to top

The best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.

Contact Vendor

Q & A

Back to top


Back to top