Support

Home Forums Event Espresso Premium Adding price to table template

Adding price to table template

Posted: March 20, 2018 at 5:01 am


kdaily

March 20, 2018 at 5:01 am

I tried following the link on github but the code wasn’t exactly the same so I wasn’t sure. Here is my code for that php file. Can you please let me know how to add the price to the table? Thanks!

<em>redacted – Event Espresso support team – LOC</em>


Tony

  • Support Staff

March 20, 2018 at 6:33 am

Hi there,

Is that the default table template directly from the add-on? The forum adds styling to code and we can’t tell if thats from the code posted, or the forum adding it in so we recommend either adding the code to PasteBin or creating a Gist and post the link here for us to view.

I’m assuming by the github link you are referring to this link?

https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681


kdaily

March 21, 2018 at 2:21 am

Hey Tony, Yes its the default table template. Yes, that is the GitHub link I’m referring to.

See https://github.com/Kathryndaily/Event-Espresso for the table template code I have.


Tony

  • Support Staff

March 21, 2018 at 6:48 am

The line numbers have change because some addtional features have been added to the table template, but you need something like this:

https://gist.github.com/Pebblo/50e4f7752833a963b4775a826f3dfc75

Note that Lorenzo’s gist pulls the available tickets and uses the first one to output a price, so you’ll need the ticket price you want to display at the top of the the list in the event editor for it to show on that section.


kdaily

March 21, 2018 at 9:04 am

Got it. Thanks!

The support post ‘Adding price to table template’ 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