Posted: 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.
|
|
It looks like your theme template is missing the call to wp_footer. |
|
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 |
|
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. |
|
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? |
|
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. |
|
Thanks, I will put it back to the developer |
|
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! |
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. |
|
|
Developer followed instructions and fixed. Thanks for all your help!! |
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.