Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Event List 'Add to Cart' buttons not working | Event Espresso - Staging Server

Support

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

Event List 'Add to Cart' buttons not working

Posted: August 22, 2012 at 8:16 am

Viewing 3 reply threads


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 12 years, 5 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.

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.

Event Espresso - Staging Server