Contributions
Easy Coupons
Easy Coupons
note: This implementation is not named for its easy installation but because it requires the easy discount module
Easy Coupons enables automatic and manual coupon codes for your osc site.
It has 2 operating modes: automatic and manual.
Automatic:
In automatic, every order will generate a new coupon code with a discount percentage.
This coupon code is printed on the invoices and packing slip of the order.
On their next order they can enter this code to obtain a discount on that order.
when that new order is confirmed the used coupon code is deactivated and linked to the order for which it was used
and a new coupon code is generated with a new discount etc..
Manual:
In manual, no coupon code is automatically generated when an order is confirmed.
You will have to issue coupon codes by hand in admin.
No coupon codes are printed on the invoice / packing slip.
Coupon codes are still processed until used.
Restrictions:
*There are no date/time limits to coupon codes, they are active until used or set to used or deleted by admin.
*The coupon codes are open for anyone to use, they are not linked to any customer. This gives the option to give away coupon codes to friends
*As the automactically generated codes are only made public on the invoice and packing slip, it is assured that payment was received for the order which issued the code. In other words, they cannot place an high value order to obtain a big discount coupon, use that coupon on a new order and cancel the first order.
*This implementation requires easy discount module.
Expand All / Collapse All
If your getting this on your info_coupon.php page, I have moded. the file so you do not get the errors anymore. I have attached the corrected (by me) file.
I also put a Java Script code in the file above that has a button already attached & it says close this window, so its better then the existing file.
Warning: include(includes/Meta.php) [function.include]: failed to open stream: No such file or directory in /catalog/info_coupon.php on line 11
Warning: include(includes/Meta.php) [function.include]: failed to open stream: No such file or directory in /catalog/info_coupon.php on line 11
Warning: include() [function.include]: Failed opening 'includes/Meta.php' for inclusion (include_path='.:/usr/local/lib/php/') in /catalog/info_coupon.php on line 11
Just upload this to your /catalog/ directory & overwrite your existing file(s).
This is not a full attachment. So you would need to download the other file down from here & overwrite the existing file.
Thank you,
Michael R. G.
MRGTec
This is the same package as the previous, except for one change. On the old package, when a coupon was entered and the cash-in button pushed, it would make that page nonsecure. I changed a portion of one line, emailed boxtel, he then improved my improvement. All thanks to boxtel, I just made the change and uploaded the file.
Single coupon code version.
Easy Coupons V22
note: This implementation requires easy discount module
changes:
1)addition of coupon enddate
2)addition of fixed price discount
3)percentages are now stored in digits not fractions i.e. 1% iso 0.01
4)discount table in configuration iso checkout_process
5)single record, single panel configuration in admin (see screenshots)
6)switch for max. random or fixed amount discount values
7)switches for coupon printing on packing slip/invoice/confirmation email
8)discount adjustment in cart for money based coupons (coupon value > order value -> discount = order value)
V2 |
|
7 May 2006 |
|
system message correction
complete.
Easy Coupons
note: This implementation is not named for its easy installation but because it requires the easy discount module
Easy Coupons enables automatic and manual coupon codes for your osc site.
It has 2 operating modes: automatic and manual.
Automatic:
In automatic, every order will generate a new coupon code with a discount percentage.
This coupon code is printed on the invoices and packing slip of the order.
On their next order they can enter this code to obtain a discount on that order.
when that new order is confirmed the used coupon code is deactivated and linked to the order for which it was used
and a new coupon code is generated with a new discount etc..
Manual:
In manual, no coupon code is automatically generated when an order is confirmed.
You will have to issue coupon codes by hand in admin.
No coupon codes are printed on the invoice / packing slip.
Coupon codes are still processed until used.
Restrictions:
*There are no date/time limits to coupon codes, they are active until used or set to used or deleted by admin.
*The coupon codes are open for anyone to use, they are not linked to any customer. This gives the option to give away coupon codes to friends
*As the automactically generated codes are only made public on the invoice and packing slip, it is assured that payment was received for the order which issued the code. In other words, they cannot place an high value order to obtain a big discount coupon, use that coupon on a new order and cancel the first order.
*This implementation requires easy discount module.
Note: Contributions are used at own risk.