Customer Loyalty Discount
The purpose of this Zen Cart order total module is to provide a basic Customer Loyalty Program/Discount Scheme, that rewards customers with discounts against each order based upon the amount they have spent in prior periods. Redone from an old 2003/4 contribution for newer Zen Carts and PHP. |
![]() |
v1.5.7, v1.5.8 |
![]() |
mprough |
![]() |
lat9 - 27 Mar 2023 |
![]() |
1,073 |
Version History
Customer Loyalty Discount - Version: v2.0.1 | |||||||||||
This version corrects a MySQL Fatal error when an order is placed via the PayPal Express Payment's shortcut button. | |||||||||||
|
|||||||||||
Customer Loyalty Discount - Version: v2.0.0 | |||||||||||
Now supporting zc157/zc158 and PHP versions up to/including 8.2. CHANGE: Refactoring for now-current styling; pre-define all class variables (PHP 7.4+ support). BUGFIX: Correcting PHP notices due to undefined variables. BUGFIX: Use the order's products, not the shopping-cart version, since this is an order-total! CHANGE: Validate the configuration settings and auto-disable if an issue is found. CHANGE: Disallow the discount for guest-purchases. CHANGE: Disallow the discount if a coupon has been used for the order. CHANGE: Update the customer 'messaging' on the order to indicate what elements of the order are discounted. |
|||||||||||
|
|||||||||||
Customer Loyalty Discount - Version: 1.5.1 | |||||||||||
Fixes for PHP 7.3 to avoid warning logs | |||||||||||
|
|||||||||||
Customer Loyalty Discount - Version: Customer Loyalty Dis | |||||||||||
bugfix for gift certificates in cart code rewritten to be used with Zen Cart 1.5.5 and PHP 7 or 7.1 |
|||||||||||
|
|||||||||||
Customer Loyalty Discount - Version: 1.4 | |||||||||||
Versioning update | |||||||||||
|
|||||||||||
Customer Loyalty Discount - Version: 1.3 | |||||||||||
|
|||||||||||