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 Adding information to Shopping Cart page | Event Espresso - Staging Server
Hi, I’d like to add some simple information at the top of the shopping cart page. I’d prefer to do it without altering the shopping_cart.php template; is there a way to do it from WP admin? I’m just struggling to find a way because it looks like the shopping cart actually stems from the Event Registration page. Is there a way to do this? Thanks!
There are several templates that are used with the [ESPRESSO_EVENTS] shortcode, so the only want to add information to the shopping cart page would be to add it to the shopping_cart.php template.
Thanks Jonathan – no worries, I’ll just do that. I seem to be having a bit of an issue overriding the shopping_cart.php template; I just need to place a copy of it within my WP site’s theme folder and edit that one, right? For some reason it’s not picking up on the changes, so I just wanted to confirm that I’m putting it in the right folder.
It turns out there are some ways to add additional information without altering the template. One way is to use CSS. You can add something like this to your theme’s stylesheet:
#event_espresso_shopping_cart:before {
content:"My additional information for the cart page";
}
There are also some action hooks within the shopping_cart.php template that could be used. Although using those to inject additional content will require some CSS tweaks because the hooks happen after the cart content.
Aha! That’ll do it…thanks to both of you for the quick responses :) Much appreciated!
Viewing 5 reply threads
The support post ‘Adding information to 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.