| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Setting Discount Coupon to expire beyond 31/12/2003 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Setting Discount Coupon to expire beyond 31/12/2003
I'm setting up a Discount Coupon for one of our partners. X-Cart date range in Coupon setting only goes up to 31/12/2003. How will I be able to extend that beyond end December 2003? Or Will I have to wait until the New Year and re-issue the coupon?
__________________
-------------------- Sandip x-cart version 5.4.X, hosted on X-Cart server/ |
|||||||
#2
|
|||||||
|
|||||||
New code for modules/discount coupons/coupons.tpl
version 3.4.x - did this today for another client Code:
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
here an easy fix to correct 2003 dates
Change this line in your config.php
$config["Company"]["end_year"] = 2010; change the date (2010) field to whatever you want... Michael http://www.lingerieblowout.com |
|||||||
#4
|
|||||||
|
|||||||
Thank you guys.
__________________
-------------------- Sandip x-cart version 5.4.X, hosted on X-Cart server/ |
|||||||
#5
|
|||||||
|
|||||||
No Problem
Glad we can help...
|
|||||||
#6
|
|||||||
|
|||||||
Funkydunk's code works perfectly, and I think will increase the year to 2005 as the calendar rolls into Jan 1, 2004, etc for following years.
|
|||||||
#7
|
|||||||
|
|||||||
i have xcart 322 and this does not work for me. I changed the tpl file but now the year shows as just a zero with no option to change it.
HELP
__________________
Thanks, Alex. Too many version to list. I have some on 3.51 and some on the latest version. |
|||||||
#8
|
|||||||
|
|||||||
i hate when i do that. I post then 5 minutes later a i figure it out on my own. In coupon.tpl just edit the line where it shows 2003 as the expiration. I set mine to 2005.
{html_select_date prefix="new_" start_year=2001 end_year=2005 month_format="%b"} Hope that helps.
__________________
Thanks, Alex. Too many version to list. I have some on 3.51 and some on the latest version. |
|||||||
#9
|
|||||||||
|
|||||||||
It happens to all of us at some point, first we get frustrated with some minor change, then we find out right after posting.
Although in bigger issues, even though you could find a way around it is recommended to post (IMHO), since you have alot of points of view and new information that could help you out.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|