Events Planner Logo
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Backend shows wrong subtotal

Stef — Mar 07, 2017 03:27AM MST

Hi,

just a quick hint and something that probably got overlooked since it works perfectly fine in the front-end cart.

In the backend when editing a registration and having at least two events chosen and a discount code added, the subtotal shown is wrong. It does use the pre-descount-total, however for me this was equal to the grand total.

In application/views/admin/cart/cart-totals.php line 12 changing $money_totals['pre_discount_total'] to $money_totals['subtotal'] fixed the error for me. Might be a problem with the calculation of the pre-discount-total though, as when checking the database entries all of them are equal to the grand total.

Kind regards.


Post Your Public Answer