Support

Home Forums Event Espresso Premium Additional Event Information on Payments Page

Additional Event Information on Payments Page

Posted: February 21, 2014 at 5:32 am

Viewing 5 reply threads


Amy Bridge

February 21, 2014 at 5:32 am

HI There,

I am trying to add additional event information to the payment page. I have managed to add Event Name, Date and City, but when I try add location or address, nothing is displayed. I am not sure (appolgies for lack of incorrect usage of terms), if all the variables that I want to use have been declared on this page / function?

I have used the following to output the above information e.g. Event Name
<?php _e('Course: ', 'event_espresso'); ?></span><?php echo $event_name ?>


Josh

  • Support Staff

February 21, 2014 at 7:49 am

Hi Amy,

Venues can be tricky because depending on whether you’re using the venue manager or the old way of entering all the venue information directly into the event editor the variables will be different.

Can you let us know which template you’re editing and which method of entering venue information you’re using so we have the information we need to give you the correct information on how to add venue info to the payments page?


Amy Bridge

February 24, 2014 at 6:04 am

Hi Josh,

I think its the venue manager, new to EE so not sure what it use to look like:
http://awesomescreenshot.com/0c92ed262b (see for screen shot of the vanue manager)

I am editing the payment_page.php

Thanks in advance for the help


Josh

  • Support Staff

February 24, 2014 at 2:08 pm

Hi Amy,

Since you’re using the venue manager you can use the [ESPRESSO_VENUE] shortcode in the payment_page.php template like this:

<p><span>Location: </span><?php echo do_shortcode('[ESPRESSO_VENUE event_id="'.$event_id.'"]'); ?></p>

The above is in an example of its simplest use. There are parameters you can also use if you want to control exactly what information gets displayed:

https://eventespresso.com/wiki/shortcodes-template-variables/#venue


Amy Bridge

February 24, 2014 at 11:36 pm

Thanks so much Josh, that’s perfect. I assume I can copy the payment_page to the uploads folder as well


Tony

  • Support Staff

February 25, 2014 at 2:56 am

Hi Amy,

Yes you can 🙂

Any of the files within event-espresso/templates/ should also works from uploads/espresso/templates/

Viewing 5 reply threads

The support post ‘Additional Event Information on Payments Page’ 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