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
Shopping cart template adding blank and elements | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Shopping cart template adding blank and elements

Shopping cart template adding blank and elements

Posted: May 3, 2013 at 9:48 am

Viewing 1 reply thread


eastendmkt

May 3, 2013 at 9:48 am

I am trying to style the shopping cart page, and I’ve copied the shopping_cart.php file over to the uploads/espresso/templates folder. The page is working but is adding random <p> and <br> around the hidden form fields and throughout the page.

I tried removing white space to see if that made any difference but it didn’t.

See what I mean by going to this page http://eastend.linux.websolversdev.com/events/test-event-2/ and clicking on register for this Event.

I’m using the latest version of both wordpress and event espresso


Josh

May 3, 2013 at 10:02 am

Hi there,

The random p and br tags are likely being generated from the active WordPress theme, not the template. Depending on how the theme is removing the standard WordPress auto-formatting, you may be able to work around the issue by wrapping the [ESPRESSO_EVENTS] shortcode on the main registration page with the [raw] short tag.

It will look like this:
[raw][ESPRESSO_EVENTS][/raw]

If that doesn’t work, you might need to alter the theme to allow the standard WordPress auto format functions to run on the Event Espresso pages and remove the custom formatting functions if need be. Here are a few articles that may help:

http://pippinsplugins.com/never-remove-the-default-the_content-filters-in-themes/

http://theandystratton.com/2011/shortcode-autoformatting-html-with-paragraphs-and-line-breaks

Viewing 1 reply thread

The support post ‘Shopping cart template adding blank and elements’ 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