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:
https://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

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

  • Support Staff

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

  • Support Staff

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