Discount Codes

discount_codes_shop_01.png
5.8.1 Phoenix 1.0.8.18 - 1.0.8.21
Released:
Sat Dec 03, 2022 4:54 pm
File size:
51.17 KiB
Validated for:
Phoenix 1.0.8.18 - 1.0.8.21
MD5 checksum:
dcc82fc952430a1e005bc11ca16744a6
5.8.0 Phoenix 1.0.8.6 - 1.0.8.16
Released:
Sun Jul 24, 2022 2:59 pm
File size:
51.15 KiB
Validated for:
Phoenix 1.0.8.6 - 1.0.8.16
MD5 checksum:
6736e1e7b0a2545187552de8392bbc28
5.6.2 Phoenix 1.0.8.2 - 1.0.8.5
Released:
Mon Nov 22, 2021 10:59 am
File size:
52.93 KiB
Validated for:
Phoenix 1.0.8.2 - 1.0.8.5
MD5 checksum:
cf8578b91ec56469f08d057b183c6fb3
5.5.1 Phoenix 1.0.7.14 - 1.0.8.0
Released:
Sun Apr 11, 2021 8:40 am
File size:
55.48 KiB
Validated for:
Phoenix 1.0.7.14 - 1.0.8.0
MD5 checksum:
0d4a80df1d47140a2f049d3d8d1dd628
Description
raiwa
This Addon allows to create discount codes for to apply on checkout as a percentage or fixed discount amount on order total.
Several possibilities to restrict the discount on categories, manufacturers, products or exclude products and assign to selected customers. Allows to limit the number of uses, establish minimum order total or limit to the first, second etc. order of a customer or to customers subscribed to newsletters.
This Addon allows to create discount codes for to apply on checkout as a percentage or fixed discount amount on order total.
Version 5.8.1. Removed "Remove Button" definition from cm_sc_discount_code.php language files.

Version 5.8.0. Remade all discount option checks and optimized them
Added support for guests/not registered customers and number of use check
Added back customers_to_discount_codes table for accurate number of use check if code is linked to customers
Fixed remove discount code action in shopping cart to remove immediately the discount code from ship in cart order totals module
Fixed error in admin: Discount Codes if no customer exists
Tested with Phoenix 1.0.8.16 and PHP 8.0

Version 5.7.4. Fixed customer id check error introduced in Version 5.7.2. Thanks to @radhavallabh for the report

Version 5.7.3. Removed obsolete discount to customers table queries. Thanks to @Luckypiedro for the report

Version 5.7.2.
Fixed broken discount to customers
Fixed customer display in admin/discount codes/infobox

Version 5.7.1.
Fixed bug in ot_discount.php: update removed format_raw method to core $GLOBALS['currencies']->format_raw. Thanks to @ecartz for the advise
Updated some missing code to match actual core code. Thanks to @ecartz

Version 5.7.0.
Updated for Phoenix 1.0.8.6+
Updated all coding to match actual core code
Modularized admin page
Added "Apply" and "Remove" buttons to shopping cart module also if ship in cart is not installed.
- This ensures compatibility with PayPal Express Checkout button. Tanks to @MyGamesShop for the report and suggestion
Fixed calculation errors for:
- Shipping and subtotal discount, ot_shipping below tax, Display Prices with tax = false
- other currency than default
Replaced custom format_raw function by core method

Version 5.6.2.
Fixed sql errors if used together with PWA Guest Checkout. Thanks to @gabbysplaza for the report
Version 5.6.1.
Added missing $db global in order total module install/uninstall functions. Thanks to @gsmiley007 for the report
Version 5.6.0.
Updated for Phoenix Cart 1.0.8.2+
Modernized code to match actual core standards.
Updated references to Phoenix Cart Forum
Version 5.5.1.
Changed hook to redirect to fix possible error in checkout_payment.php. Thanks to @plamastus for the report
Version 5.5.0.
Add remove buttons to shopping cart module and checkout payment hook. Thanks to @gsmiley007 for the suggestion
Made the discount code input fields readonly once the discount code has been applied.
Donate to Raiwa. Thank you for donating, it allows me to spend more time developing free contributions for you to use.
NOT SUPPORTED
TESTED
TESTED 8.0-8.2
  • Author raiwa
  • Last updated Sat Dec 03, 2022 4:54 pm
  • Total Downloads 5151
  • Rating
    (1)
  • Categories Discounts
discount_codes_admin_02.png discount_codes_shop_02.png discount_codes_admin_00.png discount_codes_admin_01.png
  • Addon Revisions/Downloads
    Version
    Phoenix Version(s)