Posted: February 5, 2013 at 10:41 am
|
When using additional attendees and promo codes, Event Espresso generates an incorrect (and random) total for the event price. Any help on correcting this would be greatly appreciated. Using Event Espresso – 3.1.30.3P. but happening on a client’s older version as well. |
|
Ok I think I realized what is going on. It appears that the promo code is being applied to all attendees and not being taken off the top of the final cost. This isn’t how your software used to work. We looked at last years reports and it appeared as if group registrations only had the promo code taken off the final cost. If I wanted to take an amount off everyone I would use a percentage. Any help in fixing this issue would be awesome because it is affecting one of our client’s current registrations. Thanks |
Ed — It’s not random. The promo is being applied to each ticket. ( 5 * $200 ) – ( 5 * $125 ) = $375 You are correct, this isn’t the way it worked before. This was a change that was made in the last couple versions when we revised the discount system that was from specific requests for this type of discounting (or rather, complaints that promo codes could not apply discounts to each ticket separately). |
|
|
Yes I’m sorry I later realized it wasn’t random. Thanks for your response |
|
ok quick question: If I were to comment out lines 203-207 in the use_coupon_code.php would the coupon code then only apply to the primary attendee? Or would I break everything setting our servers on fire thus starting a chain reaction that eventually would end in the apocalypse?
Thanks in advance. |
|
Hi Ed, It is highly possible that it would indeed set the world on fire, causing mass panic and destruction. OR it would just not work. Im not sure what code the developers have changed to get this to function, with EE being such a complex system it is likely it is not just that one file. In my tests removing that code made no obvious changes to anything, though I am sure it broke something that I didn’t see. Honestly if you really need that functionality back I would advise having a look at the code for the latest version and a version which had that functionality and comparing the files using DiffMerge or another diff program. I must advise though that we do not recommend hacking away at core files and we wouldnt be able to offer support for the changes. Also it will make updating the plugin a nightmare. |
|
Hi Dean, If nothing else I have a feature request to make that a promo code option in the future. Thanks again for your help. |
Hi Ed, We actually discussed this quite a bit when we made the change. It was a tough call, but the main reason this had to change was in order to allow promo codes to work correctly when using Multi Event Registration. There were limits to what we could do in 3.1, so to make this work, the promo codes had to apply to each ticket. We’re planning on making promo codes more flexible in a future release, and there will be a better base for more discount options because the pricing modules in 3.2 are more robust. |
|
Update: The Promotions add-on for Event Espresso 4 is now available. It adds the ability to discount a fixed amount from the order instead of applying the discount to each ticket. |
|
The support post ‘Additional Attendees and Promo Codes’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.