Support

Home Forums Event Espresso Premium add to cart button circling forever?

add to cart button circling forever?

Posted: February 2, 2015 at 2:24 pm


lhammond

February 2, 2015 at 2:24 pm

What causes the “add to cart” button to show the spinning circle and never get to the “View Cart” button? I am trying to make some code modifications in the way attendees get added to the database, but since I’ve put in a few changes, I have this new problem on my registration page (which is not what I was editing!). If I reload the page, it stops spinning and I get the “View Cart” button. Can you help direct me towards what makes that feature work and how I might fix whatever I did to break it? Thanks!


Garth

  • Support Staff

February 2, 2015 at 8:23 pm

Hi,

What changes did you make to which files? If you did not make changes to the cart functions, then it’s unlikely that editing the cart files will solve the problem.

It is beyond our support agreement to support modifications to the core files. I would suggest reverting the changes you made or starting with the original files.

If you need our help further to evaluate the files or code you will be required to purchase a support token(s).


lhammond

February 9, 2015 at 5:42 pm

I’m not sure what made the difference, but when I turned debug mode back off in wp-config, the problem stopped.


Tony

  • Support Staff

February 10, 2015 at 9:17 am

When WP_Debug is enabled, all notices, warnings and errors are displayed in the browser.

When you add an event to the cart an ajax call is made to do so.

If any of those notices etc are included within that call, the ajax fails and the spinner will continue to spin.

Disabling WP_Debug removes the notices so it then continues to work as expected.

The support post ‘add to cart button circling forever?’ 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