Support

Home Forums Event Espresso Premium Using Multiple Event Registration and User Integration, get an empty cart when r

Using Multiple Event Registration and User Integration, get an empty cart when r

Posted: February 7, 2018 at 11:32 am

Viewing 7 reply threads


codingforsail

February 7, 2018 at 11:32 am

Hi,

I have both the Multiple Event Registration and WP User Integration addons and an empty cart is shown when the user has to get to the register screen first.

So the visitor selects their events and clicks Proceed to Registration. They are shown the screen to log in first. A visitor who is a WP user of the site logs in and is taken correctly to the Registration Checkout screen and can see the events they have selected.

However, if the visitor is shown the login screen but first needs to register as a new WP user, they can do this and are taken to the Registration Checkout screen but their events cannot be seen.

What do I need to do to make sure the events are added to the cart?

The website this is happening on is: http://essa.dtdns.net/events/

Kind regards,

Anita Davies


Josh

  • Support Staff

February 8, 2018 at 9:04 am

Hi Anita,

It looks like the redirect back to the registration page isn’t working because the site is using a custom user account registration form page. It’s not an issue if the site uses the built in WordPress account registration page. I took a screenshot of the browser’s URL bar on the user registration page and you can see that the redirect URL gets partially encoded on your site:

https://slack-files.com/T02SY781D-F96TVKU7Q-cfcf426fcf

May I ask what is the plugin that’s being used to do the custom user registration form, and is there a place where I can download a copy of that plugin so we can investigate further?


codingforsail

February 8, 2018 at 11:14 am

Hi Josh,
I added a custom user account registration form page to give a better user experience. When testing, it felt like something had gone wrong to be suddenly at an unbranded registration form while trying to book an event.
The screenshot you show is because I set a value in the Event Espresso – Registration form -> User Integration Settings page. It didn’t work with no value in there; but I don’t know what value it should have. The value it has before it gets all HTML-escaped is
http://essa.dtdns.net/register?action=register&ee_do_auto_login=1&ee_load_on_login=1&redirect_to=http://essa.dtdns.net/registration-checkout/?step=attendee_information#checkout

I am using the Ultimate Member plugin; I think the free Core one, downloadable from https://ultimatemember.com/pricing/


Josh

  • Support Staff

February 8, 2018 at 1:10 pm

Theoretically you could change the value in the the Event Espresso – Registration form -> User Integration Settings page to be
http://essa.dtdns.net/register?redirect_to=http://essa.dtdns.net/registration-checkout/?step=attendee_information#checkout

or possibly slightly better:
http://essa.dtdns.net/register?redirect_to=http://essa.dtdns.net/registration-checkout/?event_cart=view#checkout

I’m afraid that you’ll run into a few UI issues with using Ultimate Member’s user registration page because when their new user registration form is submitted, the user isn’t automatically logged in. So the user will have to log with the password they’ve just submitted in order to progress past adding the event to the cart and viewing the cart.

A simpler approach would be to add some custom branding to the default new user registration form, and either of these plugins can help with that:

https://wordpress.org/plugins/loginpress/
https://wordpress.org/plugins/admin-custom-login/


codingforsail

February 8, 2018 at 1:53 pm

Hi Josh,

Thanks I’ll try some of those things tomorrow afternoon when I can concentrate on it. I’m not wedded to the idea of Ultimate Member so if it’s simpler can try the alternatives you mention. I’ll let you know how I get on.

Kind regards,
Anita


codingforsail

February 10, 2018 at 7:05 am

Hi Josh,
It’s working now; here’s what I did:
Deactivated Ultimate Member and set the User Registration URL back to the default.
Installed and customised Admin Custom Login
Tried to buy tickets but had to register first; it correctly retained the items i had in the basket.


codingforsail

February 10, 2018 at 7:55 am

Ultimate Member was doing two other things: showing or hiding menu items depending on logged in or out status; and displaying the user their profile in the front-end. I reactivated it and all is ok.


Josh

  • Support Staff

February 12, 2018 at 6:27 am

Thanks for the update, it sounds like the main thing to do to keep the expected cart flow was setting the User Registration URL back to the default.

Viewing 7 reply threads

The support post ‘Using Multiple Event Registration and User Integration, get an empty cart when r’ 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