
Originally Posted by
laurelsstitchery
When I enter a coupon, the maximum expiration date is December 31, 2018. Is it possible to add more years into that drop-down menu so I can make coupons that have a longer expiration date? Or is it possible to have coupons without expiration dates at all?
Load the file /youradmin/includes/functions/general.php into a text editor
On line#1976 you should see code that reads like
Code:
for ($i=2001:$i<2019;$i++) {
Change these years to suit your needs.
Save the file.
Note: This date selector is used in several parts of ZenCart. This change will affect them all.
Cheers
RodG
PS. I've just taken another look and it seems that it is only the coupon editor that uses this bit of code. Everything else appears to use SpiffyCal instead.