Support

Home Forums Event Espresso Premium Price lists last price entered

Price lists last price entered

Posted: April 17, 2013 at 12:05 pm

Viewing 4 reply threads


Florida Chautauqua

April 17, 2013 at 12:05 pm

We are having an issue where the events list page only lists the last price entered for each event.   Each event has a general admission price and student admission price.  The events page is listing the student price.  We either want it to list both prices or simply offer a link to buy tickets.  I’ve tried disabling the registration for but that doesn’t work for the events listing page.

I found an old forum post where a member has the PHP and sql query to list both prices.  The last post on the topic indicates that the developers would look into it


Florida Chautauqua

April 17, 2013 at 12:07 pm

You can see the page at http://floridachautauqua.com/boxoffice


Josh

  • Support Staff

April 17, 2013 at 2:27 pm

Hi there,

Seth wrote up some code that can also be placed into a functions file and posted a gist here:
https://gist.github.com/sethshoultes/ab1e992668cf3166a686

Then where it normally displays only one price in event_list_display.php, you can substitute it with:

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

I hope that helps!


Florida Chautauqua

April 19, 2013 at 3:26 pm

That definitely works.  I want to take it one step further.  Make each price an active link that will take them to the cart page where they can select quantities.


Josh

  • Support Staff

April 22, 2013 at 1:57 pm

Hi Florida,

That might be possible by altering the event_espresso_price_list to include the espresso_cart_link shortcode by means of using the WordPress do_shortcode function.

The do_shortcode function will let you put a shortcode in a function or page template.

With the way the the shortcode works it may be easier to put the add to cart link beside each price though. Either way it would take some custom development to make this happen. If you don’t have a PHP developer that can help on this we can recommend contacting one of the professionals listed here:

https://eventespresso.com/developers/event-espresso-pros/

Viewing 4 reply threads

The support post ‘Price lists last price entered’ 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