Support

Home Forums Event Espresso Premium Submit button not working, and prices are missing

Submit button not working, and prices are missing

Posted: March 21, 2013 at 8:57 am


David Bentley

March 21, 2013 at 8:57 am

Hi guys, got a couple things going on.

  1. events with a price tag are still showing no cost.
  2. The button to submit the users information and send them to paypal isn’t functioning.

I have purchased a support token as we have exhausted our developer efforts to rectify the bugs. Can you take a look at it?

  • This topic was modified 11 years, 1 month ago by  Josh. Reason: added title


Josh

  • Support Staff

March 21, 2013 at 12:40 pm

Hi David,

We can take a look at it. Please send WordPress admin level log in credentials via the contact form on this page:

https://eventespresso.com/send-login-details/


Josh

  • Support Staff

March 21, 2013 at 2:34 pm

Hi David,

I’m logged in right now and it looks like there’s a cacheing plugin installed, so the pages that handle the registration need to be set to not be cached. That might be causing the first issue.

While I work on setting the registration pages to not be cached, can you post a link to an event where it’s showing at no cost? I’ve checked some of the events and so far they have prices displayed.


David Bentley

March 21, 2013 at 2:36 pm

Josh,

I think what is happening is it is showing no charge once the user hits submit and sends them off to paypal.


Josh

  • Support Staff

March 21, 2013 at 2:50 pm

This is strange. The w3 total cache plugin is ignoring the “Do not cache page” settings I’ve entered. Is it okay to turn caching off for now? We could even use a different caching plugin if need be.


David Bentley

March 21, 2013 at 2:51 pm

That is fine. thanks Josh


Josh

  • Support Staff

March 21, 2013 at 4:11 pm

Hi there,

I found the root of the problem with the pricing. The Members/wp user integration add-on installed on this site is version 1.4. The current version is 1.9.6. The pricing functions have changed a lot since 1.4, so the version installed here is not compatible with Event Espresso 3.1.30. I’ve deactivated it and the prices are working as expected.

I also noticed that the PayPal button was getting pushed to the very bottom of the payment page, which is usually something that can be fixed by wrapping the [ESPRESSSO_EVENTS] shortcode in [raw] short tags. In this case, it worked.

With the submit button not working, I’ve narrowed the cause of the issue down to a function in the custom.js file of Ovid WordPress theme. In order to find exactly which function in the custom.js file is disabling the submit button, we would need additional time to work on it. You’ll notice that if you switch to a WordPress theme like twentytwelve or any of the themes in the WordPress.org theme repository, or comment out all the code in custom.js, the submit button will work as expected.


David Bentley

March 22, 2013 at 9:59 am

Josh,

We have purchased an additional token to continue work. I never did receive a response about updating the members add-on referenced in the other thread. Looking forward to getting this going. I praised the plugin when the client was presented with options and I know this is exactly what he needs…as long as it works 🙂 that’s the caveat.

Thanks.


Josh

  • Support Staff

March 22, 2013 at 10:45 am

Hi David,

I can take a look at the custom.js file and weed out the function that is breaking things.


Josh

  • Support Staff

March 22, 2013 at 11:53 am

Hi David,

I found the function in the Ovid theme’s custom.js file that was breaking the registration form submit. It is a function that works with the contact form validation. I made a small edit to it so that the code will only run when on the contact page where it’s needed. This way it will not conflict with other forms on the site that also use form validation.

If you update the theme at any point down the road and continue to use the theme’s built in contact form template, you’ll need to migrate the modification to the updated theme.


David Bentley

March 22, 2013 at 12:21 pm

Ok – will do Josh. Can you provide the code that was adjusted so we know where to look? Migrate


Josh

  • Support Staff

March 22, 2013 at 12:53 pm

I left a comment in the code above the line I added on line 381 of custom.js. This is what it looks like:

// added check below so contact form js only runs on contact page
    if (jQuery('body').hasClass('page-template-contact-php')) {
    /* theme code here */
    // ends contact form check
    };

The support post ‘Submit button not working, and prices are missing’ 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