Support

Home Forums Event Espresso Premium Pricing not showing correct – sometimes

Pricing not showing correct – sometimes

Posted: July 17, 2014 at 4:58 pm

Viewing 5 reply threads


Joan Mershon

July 17, 2014 at 4:58 pm

I have an event (actually several of them) The cost is $50. There are two types of tickets available: Enrolled ($50 – aka “Name 2”) and Reservation ($25 – aka “Name 5”). On the calendar page (see link below) sometimes it says $50 for the cost, sometimes it says $25. I use the Duplicate Event button and just change the dates/times for the event, so everything else should stay the same. Some classes it has said $50 in the description, the current ones say $25 – which is misleading at best.
How do i fix this?

Website: http://lifeability.net/calendar/
Event Espresso version 3.1.36.5.P
WordPress version WP 3.9.1
Event Espresso – Calendar by Event Espresso version 2.2.4.p,
Event Espresso – Custom Template Display by Event Espresso version 1.0,
Event Espresso Template – Calendar Table by Event Espresso version 1.


Lorenzo Orlando Caum

  • Support Staff

July 17, 2014 at 7:48 pm

Hi Joan,

I looked at the calendar page that you shared and I saw two events with a cost of $25 each.

Could you go to any events that are showing the wrong pricing and resave the settings through the event editor (click to save which will update the information again).


Lorenzo


Joan Mershon

July 17, 2014 at 8:31 pm

Tried that – no change.


Lorenzo Orlando Caum

  • Support Staff

July 18, 2014 at 11:16 am

Hello,

It looks like it is retrieving the most recent pricing option that was added. Try switching the pricing options in the event editor — that is move the $25 price to the current field for the $50 price and move $25 to the $50 price.

Then save changes changes.


Lorenzo


Josh

  • Support Staff

July 18, 2014 at 12:24 pm

Or you can do this:

There’s a function within the calendar template that grabs the last price entered for the event. There’s a line of code that can be adjusted to make it grab the very first price entered. If you can open the calendar template’s main file in a text editor, the change is as follows:

<?php echo $org_options['currency_symbol'].$event->event_cost; ?> </p>

to this:

<?php echo $org_options['currency_symbol'] . espresso_return_single_price($this_event_id, 0); ?> </p>

The above change will make the list always pull the first price from the event price array.


Joan Mershon

July 18, 2014 at 2:55 pm

For now I did Lorenzo’s fix – but I have bookmarked this because I will be putting Josh’s fix into play for the next round of classes.

Viewing 5 reply threads

The support post ‘Pricing not showing correct – sometimes’ 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