Hello,
Using v 1.5.1
The Coupon dates have expired and only go up to Dec 2018 and can no longer use coupons.
The check out page still works and the exp dates increase.
Any ideas as to how to extend the exp dates for coupons.
Thanks much.
Hello,
Using v 1.5.1
The Coupon dates have expired and only go up to Dec 2018 and can no longer use coupons.
The check out page still works and the exp dates increase.
Any ideas as to how to extend the exp dates for coupons.
Thanks much.
Thank you, Sincerely, MagicMan
See this posting (https://www.zen-cart.com/showthread.php?219015-zen_draw_date_selector-quot-times-out-quot-in-2018) for help with your oldy-moldy version of Zen Cart.
I looked at these links and it makes absolutely no sense to me. I tried switching a few things and still could not get it to work.
Is there any way that you could be a bit more specific? Thank you.
Thank you, Sincerely, MagicMan
/admin/includes/functions/general.php -- in your old v1.5.1, the line is 1911
Change it like shown here: (removing the red, adding the green):
https://github.com/zencart/zencart/c...1aafaf92ac8fc3
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Roger that! Thank you for the clarification. It works fine now. Much obliged.
Thank you, Sincerely, MagicMan
If anyone else comes across this issue do the following:
Open
admin/includes/functions/general.php
around line 1982 you'll see the following:
replace it with this:PHP Code:
for ($i=2001;$i<2019;$i++){
PHP Code:
$curryear = date("Y");
$yearp10 = $curryear + 11;
// for ($i=2001;$i<2019;$i++){
for ($i=$curryear;$i<$yearp10;$i++){
Bookmarks