The problem is caused by _get_subtotal_for_admin in
/wp-content/plugins/event-espresso-decaf/core/db_classes|EE_Taxes.class.php
its getting both prices for the early price and then adding them together.
Here is the array of both prices that are added together
prices:2
I’ve upgraded to 4.7.4, and it has the same problem
Here is a debug of $prices with
/public_html/wp-content/plugins/event-espresso-decaf/core/db_classes/EE_Taxes.class.php line 78
prices:2
)
I got it to work by breaking after the first iteration. What is the second EE_Price Object in that array for, and what would be missing if I skip it?
That array is not coming from a cache. Its coming from
if( $query_params ){
$related_model_objects = $this->get_model()->get_all_related($this, $relationName, $query_params);
} in /wp-content/plugins/event-espresso-decaf/core/db_classes|EE_Base_Class.class.php
Thanks for confirming. There were some bugs with the ticket editor in the earlier versions of decaf that have since been fixed. You may need to set up new tickets for that old event, or start a new event to ensure the ticket data is set up correctly.
Viewing 6 reply threads
The support post ‘Wrong price on front end’ 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.
Considering Event Espresso for a new project? Tell us more through our contact page.