Support

Home Forums Event Espresso Premium FRONT END PRICE IS WRONG

FRONT END PRICE IS WRONG

Posted: February 15, 2018 at 10:53 am

Viewing 4 reply threads


Markus

February 15, 2018 at 10:53 am

Hi: PRICE IS WRONG ON MY FRONT END:
http://prntscr.com/if7t1b
https://www.cocciardi.com/events/hazmat-technicianspecialistincident-command-refresher/

We can’t figure out WHY this price is wrong as back end has no pricing like this at all:
http://prntscr.com/if7v68
There is no sales tax
And then when you add it to the cart it turns it into $255
http://prntscr.com/if7yi6


Josh

  • Support Staff

February 15, 2018 at 3:07 pm

Hi Lori,

The place where the price is displaying as $232 appears to be the result of some custom code. May I ask what’s the PHP code being used there?

It also appears that the database returns $255 as the price for the tickets for that event. Here’s an example:

https://www.cocciardi.com/wp-json/ee/v4.8.36/datetimes/98/tickets

If you can complete the form on this secure page we can investigate further.


Josh

  • Support Staff

February 16, 2018 at 12:00 pm

Hi Lori,

You’ll need to contact the developer that did the customizations. There’s a number of things in their work that need to be fixed to avoid the incorrect prices.

A few specific items that need to be fixed:

1) in the theme’s single-espresso_events.php file, on line 86 and 87 it has this:

The above is what outputs the Cost of $232 (where it should be 225). The reason it’s showing 232 is because the query there doesn’t exclude archived tickets.

2) a similar issue happens later in the query starting on line 125. That query also needs to exclude archived tickets.

3) not mentioned in this support topic, but ideally the tickets for datetimes that have passed shouldn’t continue to be displayed for sale.

As a short term solution I’ve manually moved those archived tickets so they’re attached to the January datetime. This way the tickets for the April and July courses will use the correct ticket prices.


Markus

February 18, 2018 at 5:59 am

Hi: My developer is part of this post and has my login. Thanks for the very detailed issue. How do you automatically archive those tickets?


Josh

  • Support Staff

February 19, 2018 at 10:26 am

Tickets are automatically archived when you change a ticket’s price.

Viewing 4 reply threads

The support post ‘FRONT END PRICE IS WRONG’ 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