I have recently updated our Event Espresso plugin and the ‘Add to Cart’ buttons on the Event Listing page’s do not work any more, the page refreshes and there is no ‘View Cart’ Button like in the previous version of EE.
This topic was modified 12 years, 3 months ago by Garth.
You have a javascript Unexpected identifier error on your page which may be causing problems. Also, I noticed your Add to Basket link html looks like this:
<a class="ee_add_item_to_cart" id="cart_link_35" href="http://www.rainbows.co.uk/?page_id=10700&regevent_action=add_event_to_cart&event_id=35&name_of_event=Skydive in the UK" title="Skydive in the UK" moving_to_cart="Please+wait+redirecting+to+cart+page" direct_to_cart="0" rel="nofollow">Add to Basket</a>
…so you have “moving_to_cart” set, which will display a message when the user is being redirected to the shopping cart page, but your “direct_to_cart” setting is set to 0, which means they aren’t actually going to go there. Try setting “direct_to_cart” to 1 or removing both of those parameters to see if the link works without them.
Viewing 3 reply threads
The support post ‘Event List 'Add to Cart' buttons 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.