uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
coupon auto expire

Knowledge Base Lobby : uShop Support Conference : General Questions
Nov-23-17 09:46 AM EST
Original Message
coupon auto expire
Author marcel emmen on 04-15-2001 at 16:26 (EST)
Hi there,

How is the coupon working with auto expire?
I have placed a test coupon on my site with date 01/01/2001 if i then go to the checkout form, the coupon is still working and it's now 15/04/2001

Marcel
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: coupon auto expire Bill Weiner, 2001-04-17 06:55:11 (1)
            "RE: coupon auto expire" marcel emmen, 2001-04-17 07:37:01 (2)
                 RE: coupon auto expire Bill Weiner, 2001-04-18 05:14:42 (3)
                      RE: coupon auto expire marcel emmen, 2001-04-18 07:47:13 (4)
                           RE: coupon auto expire Bill Weiner, 2001-04-19 04:26:17 (5)

Messages In This Discussion
         1. RE: coupon auto expire
        Author Bill Weiner on 04-17-2001 at 06:55 (EST)
Q1) What version of uShop are you using?

Q2) What language version of uShop are you using?

Q3) If using version 3.4 (or later), what do you you currently have the $date_format setting (at the top of the ushop-lib.pl script) set to?
TABLE OF CONTENTS
                 2. "RE: coupon auto expire"
                Author marcel emmen on 04-17-2001 at 07:37 (EST)
I use version 3.4 us.

inside ushop-lib.pl i have;
$date_format = 2; # 1 = MM/DD/YYYY, 2 = DD/MM/YYYY

Marcel
TABLE OF CONTENTS
                         3. RE: coupon auto expire
                        Author Bill Weiner on 04-18-2001 at 05:14 (EST)
When setting up coupons, the coupon manager will make sure that the date you enter is at least the current date or later. So when you entered the date as 01/01/2001... are you sure that the date was actually set to that date. My guess is that the expiration automatically defaulted to the current date (15/04/2001).... so it wouldn't appear to expire until the next day.

So check your coupon manager and see if that is what happened. And if so, my guess is that your 15/04/2001 coupon will now be expired.
TABLE OF CONTENTS
                                 4. RE: coupon auto expire
                                Author marcel emmen on 04-18-2001 at 07:47 (EST)
Hi,

I have try this out. If a choose make new coupon default the date is 01/01/2001 if i change this today in 01/04/2001 and i check the expire date then then expire date says 18/04/2001

it seems that the day field isn't working, whatever i put in there it always is the current day of the month.

Marcel
TABLE OF CONTENTS
                                         5. RE: coupon auto expire
                                        Author Bill Weiner on 04-19-2001 at 04:26 (EST)
You have to pick a day AFTER the current date.

(There's no sense making a coupon that already expired...so we ensure that the expiration date is at least equal to the current date.)
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.