Support

Home Forums Event Espresso Premium Registration timer

Registration timer

Posted: January 4, 2021 at 3:27 pm


pawmedia

January 4, 2021 at 3:27 pm

I’ve added the registration timer to the top of the checkout page, but after selecting a quantity and proceeding to that page, the browser automatically scrolls down towards the first form field and cuts off the registration timer. Is there a config option to force EE to simply go to the top of the page instead?


Tony

  • Support Staff

January 6, 2021 at 8:54 am

Hi there,

If I understand your question correctly, you should be able to use this snippet:

https://gist.github.com/joshfeck/ac7ef63edc47ba37a813

Add that to a site-specific plugin on the site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


pawmedia

January 6, 2021 at 5:24 pm

This reply has been marked as private.


Tony

  • Support Staff

January 7, 2021 at 5:07 am

Yeah it’s loading before jQuery on that page so throws an error, try switching over to this:

https://gist.github.com/Pebblo/6325a836c31e9ba26218cd5b30099b9c


pawmedia

January 7, 2021 at 2:31 pm

Thanks – this appears to work. Of course, the page scrolls down and then back up when you open it. What is the reasoning behind having the page automatically scroll down and stop with words cut in half? Is there some sort of benefit behind this default functionality? Is there a better way to remove the initial scroll instead of adding an additional scroll?


Tony

  • Support Staff

January 7, 2021 at 2:37 pm

What is the reasoning behind having the page automatically scroll down and stop with words cut in half?

How it displays is heavily reliant on your theme, most do not cut the words in half.

Is there some sort of benefit behind this default functionality?

It depends on what you have going on within the page itself but the point of the scroll is to scroll to the EE checkout, the place where the user needs to interact during the registration.

Is there a better way to remove the initial scroll instead of adding an additional scroll?

Possibly, but you’ll likely need to override one of EE’s default checkout JS functions to do it, which you’ll then need to maintain with future updates.

I’ll check with our developers to confirm this incase I’m missing something obvious.


pawmedia

January 7, 2021 at 2:46 pm

I could understand some users wanting this functionality if the registration form was far down the page (although I’m not sure why that would be a good idea).

Might be a good idea to simply add a “Auto scroll to reg form” checkbox in the config to give users an option.

Here’s how it looks in the demo on the EE website:


Tony

  • Support Staff

January 7, 2021 at 3:30 pm

I could understand some users wanting this functionality if the registration form was far down the page (although I’m not sure why that would be a good idea).

I’ve seen plenty do a lot of weird and wonderful things with the checkout page so it’s not as uncommon as it sounds.

Might be a good idea to simply add a “Auto scroll to reg form” checkbox in the config to give users an option.

The problem with adding an option is they simply never stop, you end up with walls of options and users with decision paralysis because there are simply too many options. I’m not saying that’s going to happen just because we add this option but rather that we are pretty selective over the options provided within EE.

We provided various options within EE3 as users requested them and it started causing more confusion for new users than it solved, so we are trying to avoid the same situation in EE4.

Here’s how it looks in the demo on the EE website:

Yep, I’m aware, that’s using twenty sixteen with very little content. How that scroll ‘finishes’ relies on the theme, the header, the content etc.

In any case, I don’t want you to think I’m simply dismissing your feedback here, I’m not, I’ve noted it internally to discuss further.

The support post ‘Registration timer’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 weeks, 4 days ago ago

Topic Tags

Notifications

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