Support

Home Forums Event Espresso Premium Replacement for EVENT_PRICE in EE4

Replacement for EVENT_PRICE in EE4

Posted: December 8, 2015 at 11:27 am


Marcia Chadly

December 8, 2015 at 11:27 am

What is the short code to use to display ticket prices in EE4? I used EVENT_PRICE in EE3. For example:

Single Registration Fee: $ [EVENT_PRICE event_id=2921 number=0]
Bring a Friend Registration Fee: $ [EVENT_PRICE event_id=2921 number=1]

Thank you – Marcia Chadly


Lorenzo Orlando Caum

  • Support Staff

December 8, 2015 at 3:06 pm

Hi Marcia,

Event_Price is not currently a shortcode in Event Espresso 4. Please try Espresso ticket selector instead:

Display a ticket selector for an event on a WordPress page or post

[ESPRESSO_TICKET_SELECTOR event_id=”your_event_id”]


Lorenzo


Marcia Chadly

December 9, 2015 at 9:55 am

Is this shortcode on the list for the future in EE4? I really only want the price not the full ticket selector for what I am doing. I’ll work around it for now but this shortcode would be helpful.


Josh

  • Support Staff

December 10, 2015 at 11:00 am

Hi Marcia,

We are not planning on adding a shortcode to display the event’s price, this is in part because one event can have many different tickets, each with a different price. May I ask, do all of your events have only one ticket?


Marcia Chadly

December 10, 2015 at 3:03 pm

Some have two registration prices. The EVENT_PRICE shortcode has a way to specify with price to show.

Single Registration Fee: $ [EVENT_PRICE event_id=2921 number=0]
Bring a Friend Registration Fee: $ [EVENT_PRICE event_id=2921 number=1]


Josh

  • Support Staff

December 11, 2015 at 9:42 am

Hi Marcia,

Are you actually inputting the event_id into the shortcode each time you set up a page or is this being done programmatically? If the former, I’m confused why this shortcode would even be used when one could type out the price instead, but maybe there’s a reason you are using a shortcode?

The support post ‘Replacement for EVENT_PRICE in EE4’ 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