Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alfiosalanitri/expired_cart_rules_cleaner
- Owner: alfiosalanitri
- License: mit
- Created: 2024-07-17T15:09:09.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T15:47:32.000Z (5 months ago)
- Last Synced: 2024-11-01T23:06:24.893Z (about 2 months ago)
- Topics: bugfix, prestashop, prestashop-module
- Language: PHP
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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