Home Forums Event Espresso Premium Price column on movie list

Price column on movie list

Posted: May 27, 2014 at 7:10 am

Craig Kirkwood

May 27, 2014 at 7:10 am

Hi guys,

I’m trying to add in a column for price using the movie_list template.

I’m not sure if it’s because of the multiple pricing variables or not but I can’t get the value to show…

Using: <?php echo $event->event_cost ?>
Or: <?php echo $event_cost ?>
or even: <?php echo $event->event_cost[0] ?>

Here is the page as it stands:
AMC Example

Hope you can help…


  • Support Staff

May 27, 2014 at 9:24 am

Hi Craig,

The current query in use within that template does not join any of the pricing tables to the events, so currently they are not set. The easiest method to pull the pricing information (without altering the query) is using the EVENT_PRICE shortcode:

Within the template you could use:

<?php echo do_shortcode('[EVENT_PRICE event_id="'.$event->id.'" number="0"]');?>

To display the first Price entered within each event.

Although this depends on whether or not you have multiple pricing options for your events and how you would like to display those prices (for example within a dropdown or list format)?

The support post ‘Price column on movie list’ 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  Tony 6 years, 1 month ago ago

Topic Tags

Tagged: ,


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