Support

Home Forums Multiple Event Registration Add-on Event List 'Add to Cart' buttons not working

Event List 'Add to Cart' buttons not working

Posted: August 22, 2012 at 8:16 am


pmerrill

August 22, 2012 at 8:16 am

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 8 years, 6 months ago by  Garth.


Chris Reynolds

  • Support Staff

August 22, 2012 at 10:00 am

Can you post a link to your site so we can see what it’s doing? Have you added any new plugins or changed your theme recently?


pmerrill

August 30, 2012 at 4:32 pm

Sure here it is…

http://www.rainbows.co.uk/rainbows-events/all-events/


Chris Reynolds

  • Support Staff

September 4, 2012 at 2:07 pm

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&amp;regevent_action=add_event_to_cart&amp;event_id=35&amp;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.

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.

Status: closed

Updated by  Chris Reynolds 8 years, 5 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!