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

erlendstromsvik’s picture

Seems 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.

kuahyeow’s picture

That'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.

brmassa’s picture

Version: 4.7.x-1.x-dev » 5.x-3.x-dev
Status: Active » Closed (fixed)

It applies to total price, not individually.