Support

Home Forums Event Espresso Premium Event Cart buttons show worngly

Event Cart buttons show worngly

Posted: September 24, 2015 at 3:41 am

Viewing 7 reply threads


Juan

September 24, 2015 at 3:41 am

The Event Cart buttons are wrongly showed. A weird <br> tag is added which makes the buttons look funny

How can this be prevented?


Juan

September 24, 2015 at 3:42 am

Please see the full res image http://oi58.tinypic.com/10mixyc.jpg


Tony

  • Support Staff

September 24, 2015 at 4:08 am

Hi there,

Which theme are you using?

It is likely being added by your theme doing something strange with the_content. Looking at your image you have ‘Proceed to payment options’ button just above the cart, do you have the full registration form visible then the cart loading below that?


Juan

September 24, 2015 at 4:20 am

The theme is called JobBoard http://themeforest.net/item/jobboard-responsive-job-resume-market-wordpress-theme/9321086

It doesn’t look like it is doing anything strange. This is the template part where the content is showed:

<article>
<?php
        while( have_posts() ){
                the_post();

                // Include the page content template.
                the_content();

        }//endwhile;
?>
</article>

As you said, the registration form is on top and the button at the bottom, you can see it here by picking up a course http://dev.tfpl.barracuda-digital.co.uk/course-calendar/grid-view/.


Tony

  • Support Staff

September 24, 2015 at 5:04 am

That isn’t how the cart is expected to work.

When you add events to the cart, then view the cart it should only show the cart and not the registration form. This section – http://take.ms/EYlrR (apologies for the size) should not be loading.

This is how it looks on the default WordPress themes – http://take.ms/Hw1Xi

The code above is where the theme is calling the_content() within the template, check the functions.php file to see if it makes any changes the_content.


Juan

September 24, 2015 at 5:41 am

The theme does not seem to be the problem of having the registration form on top. I have just switched to Twentyfifteen and it still happens
http://www.awesomescreenshot.com/image/603264/c4f052cd48ab6aecf0ca1805c617c6c1


Tony

  • Support Staff

September 24, 2015 at 6:03 am

It could also be a plugin, (its usually the theme) basically anything that is doing something unexpected with the_content, if you temporarily de-activate all non-ee plugins and retest does it display correctly?

If so activate the plugins one by one and find which one causes the reg form to display and let us know, we can then investigate further.


Juan

September 24, 2015 at 7:23 am

Thank you again Tony. The problem was the plugin WooSidebars

Viewing 7 reply threads

The support post ‘Event Cart buttons show worngly’ 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