Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alfiosalanitri/expired_cart_rules_cleaner

A PrestaShop module designed as a workaround for a bug that lets users use expired or deactivated cart discount codes if they were added before the code expired.
https://github.com/alfiosalanitri/expired_cart_rules_cleaner

bugfix prestashop prestashop-module

Last synced: 3 days ago
JSON representation

A PrestaShop module designed as a workaround for a bug that lets users use expired or deactivated cart discount codes if they were added before the code expired.

Awesome Lists containing this project

README

        

# Expired Cart Rules Cleaner

There is an unresolved bug in PrestaShop (at least up to version 8.1.7. [https://github.com/PrestaShop/PrestaShop/issues/19393](https://github.com/PrestaShop/PrestaShop/issues/19393)) that allows users who have entered a discount code in the cart before it expires to still make purchases with the discount even after the code has expired or been deactivated, as long as the cart is still active.

This module provides a URL that can be manually accessed or scheduled via a periodic cronjob to remove discount codes from abandoned carts that have expired or been deactivated.

![Admin Config Preview](preview/admin-config.png)

Module tested with PrestaShop versions:
- 1.7.8.7
- 8.1.2
- 8.1.7