Support

Home Forums Event Espresso Premium FRONT END PRICE IS WRONG

FRONT END PRICE IS WRONG

Posted: February 15, 2018 at 10:53 am


Lorishecter

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.


Lorishecter

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?

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Lorishecter 18 hours, 35 minutes ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!