Closed (fixed)
Project:
e-Commerce
Version:
5.x-3.x-dev
Component:
coupon
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2006 at 19:26 UTC
Updated:
9 Jul 2007 at 03:22 UTC
Was the coupon module developed with the notion of applying a discount to one item or the cart? I see that it's only applying to one item in the cart so I'm assuming that was by design.
What were the issues uncovered when looking to apply a coupon to the entire cart?
-andrew
Comments
Comment #1
erlendstromsvik commentedSeems to me that the coupon module is just a huge mess, I would stay away from it for now.
How it was supposed to work is just a guess it seems. Read this thread (http://drupal.org/node/66702).
A coupon should be tied to the final sum of all the merchendises, not including any package and shipment costs. It should be possible to easily decide if a coupon can be used mulitple times for several different people. The ec_coupon table should not have anything to do with transactions, the ec_transaction_coupon-table should be used for that. In ec_coupon we find the values created_txnid and created_vid. I've got no idea what these are for.
If a "coupon" is to be used only once, then it should already be tied up to a specific customer, like a gift certificate.
Comment #2
kuahyeow commentedThat's strange, its working and applying to the entire cart for me. Can you post the steps to replicate this? As I know, there are a couple of ways of creating a coupon.
Comment #3
brmassa commentedIt applies to total price, not individually.