Expired Cart Rules Cleaner is a workaround module that addresses a known unresolved bug in PrestaShop where customers who added a discount code to their cart before it expired can continue to use that discount even after the code has been deactivated or expired — as long as their cart remains active. This module provides a mechanism to remove those stale, invalid discount codes from abandoned carts.
- Expired code removal: Cleans up discount codes from active carts where the associated cart rule has since expired or been deactivated.
- Cronjob support: The module exposes a URL that can be scheduled as a periodic cronjob to run the cleanup automatically at defined intervals.
- Manual access option: The cleanup URL can also be accessed manually from the browser or command line without requiring a scheduled task.
- Admin configuration panel: Includes a back office configuration screen for module management.
This module is recommended for PrestaShop store owners who use time-limited or one-off discount codes and want to prevent customers from exploiting the cart persistence bug to continue benefiting from expired promotions. It is particularly useful for stores running frequent promotional campaigns where code validity windows matter.
Comments (0)
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent