Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
PHP Shortcodes not working on shopping cart page | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium PHP Shortcodes not working on shopping cart page

PHP Shortcodes not working on shopping cart page

Posted: December 5, 2012 at 4:17 pm

Viewing 3 reply threads


Bryan Wolfe

December 5, 2012 at 4:17 pm

Hi there,

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.

Any advice would be greatly appreciated. Thanks!


Dean

  • Support Staff

December 6, 2012 at 5:58 am

Hi Bryan,

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.


Bryan Wolfe

December 6, 2012 at 10:30 am

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?


Josh

December 7, 2012 at 1:57 pm

Hi Bryan,

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.

Event Espresso - Staging Server