Support

Home Forums Multiple Event Registration Add-on Add more attendees and add to shopping cart not working

Add more attendees and add to shopping cart not working

Posted: February 4, 2014 at 5:50 pm

Viewing 9 reply threads


Daniel Cox

February 4, 2014 at 5:50 pm

I have just installed event espresso and have had some difficulty getting the shopping cart feature as well as the add attendees feature to work.

The first ticket “Boarding Australia Conference 2014” is the ticket with the additional attendees available.

Is this something to do with a jquery conflict? I have looked through my template and can’t seem to find any problems.

  • This topic was modified 10 years, 9 months ago by Daniel Cox. Reason: url didn't
  • This topic was modified 10 years, 9 months ago by Daniel Cox. Reason: url didn't work
  • This topic was modified 4 years, 8 months ago by Seth Shoultes. Reason: Removed broken link


Sidney Harrell

February 4, 2014 at 6:00 pm

It looks like your theme template is missing the call to wp_footer.


Daniel Cox

February 4, 2014 at 7:58 pm

Hi Sidney,

Thanks for your reply.

The wp_footer function has been added to index.php and to footer.php and yet this has still not fixed the problem.

Is there anything else that should be done apart from adding <?php wp_footer(); ?> to these files?


Dean

February 5, 2014 at 12:26 am

Hi Bjorn,

Your site is loading jQuery twice which can also cause issues, resolving that is a good first step so that we have a standard platform to check for further issues.

The jQuery is being loaded by WordPress (correct) but also via the theme itself (not correct).

Once you’re only loading one version (ideally the WordPress loaded one) then it’s a case of checking that jQuery is loading before the Event Espresso’s scripts which rely on jQuery.

wp_footer should only be needed in the footer.php file as this is loaded with every page.


Daniel Cox

February 11, 2014 at 5:32 pm

Thanks for the insight into the problem. I passed the problem to the WordPress template creator. The add additional attendees now works, but there are still problems with the shopping cart. Could you let me know if they fixed the problem properly or not? If they did, why does the shopping cart still not work?

Also, where is the shopping cart link located, or does it only show up once you have added an event to the cart?


Sidney Harrell

February 11, 2014 at 5:58 pm

It is still loading two copies of jQuery. One is the standard version built into WP, the other is being loaded by the theme. You should get rid of the one being loaded by the theme.


Daniel Cox

February 11, 2014 at 6:20 pm

Thanks,

I will put it back to the developer


Daniel Cox

February 11, 2014 at 11:00 pm

Thanks again for your response. The developer has asked me to give a screenshot of where it shows that JQuery is being loaded twice. Could you please point me to an error log (I checked the WordPress log and couldn’t see anything), or let me know how you found out that JQuery is being loaded twice so that the develop can fix it. Thanks again for your help!


Tony

  • Support Staff

February 12, 2014 at 4:15 am

Hi Bjorn,

The version of jQuery included with WordPress is loading within the header http://d.pr/i/3YKS

The theme is calling one included within the theme itself in the footer ‘themename/js/vendor/jquery-1.10.2.js’ http://d.pr/i/OrFm

Hope that helps.


Daniel Cox

February 13, 2014 at 8:48 pm

Developer followed instructions and fixed. Thanks for all your help!!

Viewing 9 reply threads

The support post ‘Add more attendees and add to shopping cart not working’ 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