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 Error Page breaking Template | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Shopping Cart Error Page breaking Template

Shopping Cart Error Page breaking Template

Posted: December 12, 2012 at 1:43 pm

Viewing 5 reply threads


Bill Kaczor

December 12, 2012 at 1:43 pm

When a user processes the number of registrants for a class in the Shopping Cart as zero, it goes to an Error page. This is fine, except something in the error page is breaking my template. This happened before:
http://staging.eventespresso.com/topic/template-structure-changing-on-attention-page
and you guys magically fixed it. Can the same fix be done now that we’re using v3.1.29.1.P?

Thanks!


Jonathan Wilson

  • Support Staff

December 12, 2012 at 2:43 pm

Hi Bill,

The fix should still be in the current version. Are you using a custom template for cart.php?


Bill Kaczor

December 12, 2012 at 3:54 pm

No, no custom cart template. I emptied my template folder when I upgraded, and only added a set of custom Event List Display files back in.


Josh

December 13, 2012 at 11:28 am

Hi Bill,

It looks like what was fixed in 3.1.27 was regressed in 3.1.28. I will create a ticket for one of the developers to look into this.


Josh

December 13, 2012 at 11:56 am

The fix that was applied in 3.1.27.P will also work in this case. In the event-espresso/includes/functions/cart.php file on lines 790 and 791 there are two closing divs. They look like this:

        </div>
    </div>

They can be removed, and moved up to line 784 and 785, so it looks like this:

        <span style="padding-left:20px"> - <?php _e('or', 'event_espresso'); ?> - </span>
            </div>
        </div>
<?php } ?> 


Bill Kaczor

December 13, 2012 at 5:05 pm

Yippee! That fixed it. Thanks so much!

Viewing 5 reply threads

The support post ‘Shopping Cart Error Page breaking 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 - Staging Server