create start and end date for a coupon

justageek - July 14, 2009 - 20:31
Project:Ubercart Discount Coupons
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:dbh01
Status:closed
Description

Rather than using a fixed number of redemptions, we have clients that would like to specify the start and end date for the 'life' of a coupon, so that it is automatically available between these 2 dates, and it is no longer available after the expiration date.

Would this be a difficult feature to add?

#1

dbh01 - July 20, 2009 - 18:21

I've actually added this, to my own version of uc_coupon. After the code goes into production for my client, then I'll provide a patch and send it to the package maintainers. Longwave already knows this is on the way.

#2

dbh01 - August 5, 2009 - 17:58
Assigned to:Anonymous» dbh01
Status:active» needs review

Attached are the patches for adding a start date to uc_coupon
this is based on the latest 6.x-1.x-dev code

AttachmentSize
uc_coupon.install.patch 603 bytes
uc_coupon.module.patch 4.53 KB

#3

longwave - August 14, 2009 - 15:41
Status:needs review» fixed

Committed to 6.x branch, thanks for the patch!

#4

System Message - August 28, 2009 - 15:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.