Roadmap to 2.0

longwave - February 13, 2009 - 17:40
Project:Ubercart Discount Coupons
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

I will use this issue to discuss and track ideas for moving forward to a possible version 2.0 of this module.

The problem as I see it is that there are a number of use cases and features that the current version doesn't handle, but I don't think that wedging more rules and restriction options into the coupon table is the right way to go. It seems that allowing coupons to be processed using workflow_ng (or conditional actions in D6) would be better and more flexible, as the module could then reuse existing order conditions to restrict coupon usage.

This module also has a lot of overlap with UC Discounts - they effectively provide pretty much the same thing, except coupons require a code to be entered at checkout before a discount is applied, so it's probably worth looking at the functionality that module provides and possibly merging the two in some way.

Please feel free to add any thoughts or suggestions to this issue!

#1

Island Usurper - February 17, 2009 - 21:29
Version:5.x-1.x-dev» 6.x-1.x-dev

I believe that utilizing Conditional Actions is certainly the way to go. In fact, I've been working on a discount framework that uses it, and I have just made a project: http://drupal.org/project/uc_discount. It has a few discounts implemented already that are probably duplicating functionality of either uc_coupon or uc_discounts, but there is still a lot left that could be done.

It seems to me that we can divide up the process of applying a discount into three phases. 1) Figure out if a discount applies (including a check that any entered coupon code is valid), 2) calculate the amount of the discount, and 3) insert the discount amount into some calculation whether it's a product's price, or an order total, or maybe even something else.

#2

joachim - August 25, 2009 - 13:34

Can coupons be bought, say as a product feature?

My use case is somewhat distant to coupons, but it's been suggested this might be the simplest way:
Organisation sells membership -- that's just a product that grants a role.
But they also want to sell group memberships -- ie, buy the role for 4 users at a discount.
It's been suggested that one way to do this would be with coupons. You buy a special product that gives you the role + 3 coupons, which you give to other users.

Also, this could be used to buy gift certificates, maybe?

#3

RikiB - September 30, 2009 - 13:57

One Idea I think would be great, would be a way to automatically generate coupons for certain users. This could probably be done with Conditional Actions and such but I'm not quite sure how.

One practical use would be, when a user places an order they automatically get a 10% off coupon if they place another order within 30 days. Then on the order email we can say something like, place another order within 30 days and get 10% off, use coupon code...SAVE10 (or something).

Any thoughts?

 
 

Drupal is a registered trademark of Dries Buytaert.