Support

Home Forums Event Espresso Premium price in list view changes after updating event

price in list view changes after updating event

Posted: October 2, 2013 at 3:20 am


Nadir Al-Badri

October 2, 2013 at 3:20 am

Hello, i found out that if i have an event with e.g. normal price 100 EUR and a second price with 50 EUR, the normal price will be displayed in the list view – which is ok. However if i update the event i will see the second price (50 EUR) in the list view. Price dropdown in detail view shows up ok.
I use latest wordpress and EE, new installation.
The list view (eventname : test event) is here: http://bfminden.testserver001.net/kurse/arbeits-und-berufsbezogene-weiterbildung/


Tony

  • Support Staff

October 2, 2013 at 4:12 am

Hi Nadir,

Have any of the templates in wp-content/uploads/espresso/ been modified?


Nadir Al-Badri

October 2, 2013 at 4:28 am

Yes, but if i use the original installation and templates the mistake remains.


Tony

  • Support Staff

October 2, 2013 at 5:04 am

Hi Nadir,

Have managed to reproduce this locally.

I will get a ticket raised for this but unfortunately can not confirm when it will be fixed currently.


Josh

  • Support Staff

October 3, 2013 at 7:27 am

Hi Nadir,

There is a custom function that you can use that will display both prices in the event list. You can add the function to /wp-content/uploads/espresso/custom_functions.php or your own custom plugin.

https://gist.github.com/sethshoultes/ab1e992668cf3166a686

Then add this line of code where you want the prices to display:

<?php do_action('action_hook_espresso_price_list', $event_id);?>


Nadir Al-Badri

October 8, 2013 at 3:48 am

Thanks, that does the job.

The support post ‘price in list view changes after updating event’ 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.

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: closed

Updated by  Nadir Al-Badri 6 years, 6 months ago ago

Topic Tags

Tagged: ,

Notifications

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