Project:Ubercart Discount Coupons
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:dbh01
Status:closed (fixed)

Issue Summary

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?

Comments

#1

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

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

Status:needs review» fixed

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

#4

Status:fixed» closed (fixed)

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

#5

I have a need for an hour granularity. I'll work on this myself and submit a patch.

nobody click here