I am trying to return some extra information on the shopping_cart.php page and it’s not working as it is on other pages.
For example, I am returning the staff’s name in the name of a class we are offering, and using this short code on the event_list_display page and it works perfectly. “with ”
I use that same code on shopping_cart.php and it doesn’t work.
The two templates actually do two different SQL calls, and the shopping_cart template does not call in the staff information which is why it isn’t showing up there.
If you take a look at the event_list.php (not the the _display one) you will see a full list of the SQL calls there.
Thanks Dean. So I will need to make a call for the meta information then? I’m putting the information in the event meta boxes. I can’t quite tell from the event_list.php file which sql call returns the meta information. Any chance you know which one I need to add to the shopping cart file?
You could try declaring the $event_meta as a global variable:
Viewing 3 reply threads
The support post ‘PHP Shortcodes not working on shopping cart 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.
Support forum for Event Espresso 3 and Event Espresso 4.