Support

Home Forums Multiple Event Registration Add-on Million dollar charge for removing event from muliple event registration

Million dollar charge for removing event from muliple event registration

Posted: August 22, 2013 at 1:08 pm


Hugo Azzolini

August 22, 2013 at 1:08 pm

Hi.

I am experiencing quite an add bug.

We are using the Multiple Event Registration plugin, and if you add more than one event to the ‘cart’, but then remove any of the items from the cart (via the remove-cart-item), the cart adds $1,000,000 to the total: http://imgur.com/goqk6oZ.

And if you attempt to purchase the tickets, you are faced with This error: http://imgur.com/Cql2g1Z.

If you need to click around to fully understand the situation, you can find the site here: http://web1.orlandophil.org.joshrendek.com/

Thanks.

  • This topic was modified 10 years, 8 months ago by  Hugo Azzolini. Reason: Replaced image embed code with urls


Josh

  • Support Staff

August 23, 2013 at 7:59 am

Hi Hugo,

I do not even see a total being added to the screen when you select quantities on the shopping cart page. This appears to have been customized. (And it looks very nice BTW)

Does clearing the browser’s cache help? Actually, if you go here:

http://web1.orlandophil.org.joshrendek.com/registration-cancelled/

it will clear the browser’s session. The $100000 price modifier was intended to only fire if someone tried to manipulate the price by changing the price ID with a tool like firebug. It turns out though that a corrupted session variable or a cart link shortcode pointing to an event that’s not open for registration will set it off.

If you want to try remove the code that changes the price to $1000000 (it will be removed in an upcoming version of Event Espresso) you can change lines 201 and 279 to

return FALSE;


Hugo Azzolini

August 23, 2013 at 12:50 pm

Hi Josh.

Can you tell me what file needs to be altered?


Josh

  • Support Staff

August 23, 2013 at 2:07 pm

Sorry about that. It’s /includes/functions/pricing.php

The support post ‘Million dollar charge for removing event from muliple event registration’ 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.

Event Espresso