Support

Home Forums Event Espresso Premium Bug Report

Bug Report

Posted: February 27, 2025 at 8:43 pm

Viewing 5 reply threads


marianne

February 27, 2025 at 8:43 pm

The Multi Event Registration addon is not working as expected. Before update EE core and addons, I have below.

Case 1:

EE Core: 5.0.19.p
EE Multi Event Registration Addon: 2.0.20.p
EE User Integration: 2.1.2.p

Step to reproduce:
1) Empty Cart
2) Add a ticket from a single event to the cart
3) Select 2 tickets from a reoccurring event and add them to the cart

Result: The single event will be added to the cart. However, only one of the selected tickets from the reoccurring event will be added to the cart, not both.

Case 2:

EE Core: 5.0.35.p
EE Multi Event Registration Addon: 2.0.21.p
EE User Integration: 2.1.3.p

Step to reproduce:
1) Empty Cart
2) Add a ticket from a single event to the cart
3) Select 2 tickets from a reoccurring event and add them to the cart

Result: The single event will be added to the cart. None of the selected tickets from reoccurring events are added to the cart.

If you need additional information, please let me know.

Best,
Kelvin


marianne

February 28, 2025 at 9:14 am

After debugging, because of both tickets from the reoccurring events are free tickets. the $total_line_item->recalculate_total_including_taxes() function on line 181 in EEH_Line_Item.helper.php is not called. After I forced it, the problem is resolved.

Can this be fixed in the core?


marianne

February 28, 2025 at 9:30 am

Although the second ticket is successsfully added to the cart, but the success message still says 2 items in the cart instead of 3.


marianne

February 28, 2025 at 12:51 pm

More information. line 941 in EEH_Line_Item.helper.php. I logged the $events_sub_total variable, and both tickets from the same reoccurring events returns different event ID. This is very odd.


marianne

February 28, 2025 at 12:52 pm

This only happens when I added a single event, then 2 tickets from reoccurring events.

Does not happen if I directly add 2 tickets from reoccurring events starting with empty cart.


marianne

February 28, 2025 at 6:00 pm

Can confirm everything works now after I commend out line 958 – 969 in event-espresso/core/db_classes/EE_Line_Item.class.php in EE 5.0.19.p. Which is line 1012-1024 in most recent version 5.0.36.rc.000.

Can anyone look into this?

Viewing 5 reply threads

The support post ‘Bug Report’ 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