-
Notifications
You must be signed in to change notification settings - Fork 94
Discount is Being Applied to EVERY Ticket on Order, rather than Total Order Price #208
Comments
@travispflanz Thanks for the report. I think you're right that this is probably a bug, because it seems unlikely that the intention was for a coupon code to apply to every ticket in an order of multiple tickets. |
Hey @travispflanz - I was thinking of picking up this issue. What I think needs to be done is instead of applying the coupon code to every ticket, it should be applied to only one ticket per order. Thanks! /cc @coreymckrill |
Hey @coreymckrill! So I have been thinking about what you said regarding UI changes and I think me might have to some more info to the current line that describes the applied coupon. Now - We could change this to - Other than that I don't think we need any more visual changes. /cc @travispflanz |
Thanks for picking this up! I think the best application would be that the coupon is for applies to the entire order - not each individual ticket in the order. So, if a 100% off coupon was created, that would give the entire order free, but if there's a coupon for $40 off, that would take $40 off the entire order (in my scenario above, this would mean 1 free ticket). How it currently works is that the $40 discount is applied to each individual ticket in the order. This means that an order with 4 tickets would have $40 taken off each ticket, making each ticket free with a total due $0. The expected outcome for 4 tickets would be $120 due, because one ticket would be free. I think your suggested change could cause even more confusion, because if an organizer wanted to give a coupon that encompassed multiple tickets, it probably wouldn't work. For example, at WordCamp KC, we've considered giving speakers an option of one free ticket or 50% off their entire order if they purchase multiple tickets. /cc @coreymckrill |
Hey @travispflanz! So here's what I understand -
If we decide on this approach I'll update the readme file to reflect the change in the coupon behavior so the organizers will be careful when they create any coupons. Do you think this will affect any of the existing use cases? Thanks! /cc @coreymckrill |
No. I think it is best if both types of coupons are applied to the entire order (though, a % discount per ticket would also pertain to the whole order) I suppose an even better solution is to add a radio selection option for each coupon code created
/cc @coreymckrill |
Here's a technical detail to take into account. When a ticket transaction occurs, with or without a coupon code, an Attendee post is created in the database. Two of the post's postmeta values are So even if we are showing on the front end that a coupon discount is applied to an entire order, behind the scenes it still needs to be applied to a specific ticket or to each ticket (depending on the context). I'm also hesitant to add more configuration options to coupons, because I think that would just make things harder for both sellers and buyers to understand. So here's what I would recommend:
Make sense @travispflanz @shantanu2704 ? |
FWIW, I do think that if this augmentation is added, there needs to be a fair bit of config around it. As there are different options I myself could see wanting to use: IE:
So really, 1, 3, 4 are already handled. It's really just 2 that isn't by camptix. You can sometimes get a workaround by making a 1-time coupon, but that's not always useful. I'll also add that 1 is currently annoying if you happen to add tickets later. Go make a dozen coupons for different UGs. Then decide to add a new ticket type. Now you have to go back into each of those coupons and add the new ticket type to them. Having a way to make a '10% off your cart, no matter what' type coupon, would be awesome for that. And yeah, this is where most things get complicated for these type systems. :-/ -- But I could definitely see a benefit personally in having a way to make a 'per checkout' style coupon. However, it needed to be included in the back-end. However I might suggest, instead of randomly picking 'Ticket 1' to apply any 'per cart' discount ... That instead you just make it go across them all. That's how other systems I've used in the past handled those. So make a 10% off cart coupon and have two $40 tickets. Each get listed as $36. Make a $10 off cart coupon and have two $40 tickets. Each get listed as $35. So that seems to be the 'standard'. |
I use Camptix for WordCamp KC (as do all WordCamps, obviously).
I think this may be a bug, but it it's not I think it would be best to rework the function.
Coupons have two options: dollar amount discount and percent discount.
When someone places an order and uses a coupon, the discount is applied to each ticket on the order, instead of the order total.
The problem arises when a WordCamp volunteer and/or speaker purchases tickets for their entire office or coworkers. The speaker/volunteer would get a free ticket, but the rest of the office should not.
We create a coupon code for $40 off, making the ticket free - however, when the speaker purchases tickets, $40 is taken off of each ticket in the order, making the entire order free.
I believe this would function better if the coupon code was a discount on the entire order price, rather than a discount on each individual ticket within the order.
As it currently functions, it is a pain to make sure anyone who uses a discount knows that they mush make a separate purchase for any non-discounted tickets.
It all goes back to the philosophy of not making it difficult for customers (attendees in this case) to give you their money.
The text was updated successfully, but these errors were encountered: