Posted: May 23, 2018 at 12:30 am
Currently, with the WP User Integration plugin my developer found out that it will only allow users to login from the wp-login.php page. Is there a hook or filter that will allow me to create an intermediate page once someone goes to the cart. This intermediate page will either ask for registration (directly taken to step 2 of the cart) or login (if they login), will take them directly to the Step 3 i.e Payment. Also, are there any hooks to pull more info besides just the name and email address. just anything that makes the checkout faster and easier for repeat customers. Thank You. |
|
Hi Jarred,
May I ask why your developer believes this? There is an option within the WP User intergration settings that allows you to set a custom registration page: Event Espresso -> Registration form -> User integration settings -> Registration Page URL (if different from default WordPress Registration). Set the URL that you can the user to be sent to for registration there and EE will direct them there.
There are plenty of hooks within EE and you can add your own steps into SPCO but we cannot provide support for custom development. Has your developer had a look over the documentation here?
You don’t need hooks to pull that info in, but it really depends on the specifics of what you are doing. Are you requiring that users log in before they register onto an event? If they log in and then register onto the event their ‘personal information’ details will already be prefilled, we have a snippet that can be used to pull in any answers to custom questions that may have been answer before in their last registration if that is what you are looking for? Add that to a custom functions plugin and EE will pull their last used answer for any questions on the registration form. |
|
Hi, |
|
A custom login page from where? Can you add a screenshot of what it is you want to change? https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots You can have a custom login page, but it depends on what you actually mean with the above. As for:
You mean a profile page? I which case it would be Again a screenshot of what you are trying to do may help here. |
|
Please see notes from developer below: I think this is something which has to be inquired from Event Espresso. I don’t think that the action which they have supports a complete refresh. This is the snippet of code which is performing this function, please inquire from Event Espresso that after logging in, two things one the button doesn’t go away and secondly my information stored isn’t filled, how can I do a complete page refresh so that all info is displayed and working as with a page refresh. } basically from what I see in the code, it is the action which after being executed use AJAX for logging in and a complete page refresh isn’t been performed. So this is a limitation of the action itself but ideally Event Espresso might have something or might add a complete refresh to this action. Thank you mate. Just please inquire like this, that I am using the following code on my website: |
|
this is the code from above post
|
|
Okay to omit any confusion, please just see below. I didn’t mean to include my chat. Here is straight and to the point. I am using the following code on my website:
Have two small questions: |
|
Second Question after your able to answer the one above. is it possible to do this with WP User Integration 1) Add event to cart |
|
Your first post actually makes more sense here as it has some context of what is actually happening, the bullet points don’t explain anything. More information is better 🙂
Have you set the event to require login for registrations? I’ve just tested the code you posted and I do see the text on the login step – http://take.ms/5HW9P If I then log in, I don’t see the text and my information is prefilled – http://take.ms/k7LN1C So we need more information on the setup, can you link us to the event so we can see the page?
We don’t have that functionality built into Event Espresso in the way you are requesting, so no, not without heavily customizing both the Multi event registration add-on and also the single page checkout process used by EE. However if you don’t set the event to require login to register the user can checkout as a guest, you can then create a user account for all registrations on the event…. if the user returns and tries to register onto another event (or even the same event) after having an account created, EE will not allow the registration to go through unless they log in (if they use the same details as last time). |
|
It’s on a staging site, our live website doesn’t have it yet but when we move over the staging site design it will have it. I can give you access privately if needed. Here is a screenshot. So customer adds event to cart, then the MER popup appears, then they customer proceeds to registration checkout. Then we have a login popup button on the checkout page. So, the customers who already have an account will click the “LOGIN” button and login, BUT when testing this, after we login with our fake user account, this is what happens. 1) we see a notification box saying “Thanks for logging IN” Here is a screenshot of what the login form looks like EVEN AFTER, we have logged in the test user. And here is a screenshot of what the registration form looks like EVEN AFTER we have logged in the test user. As you can see, even tho we logged in test user, nothing is being filled in, If you would like access to test site please let me know, I do already have a priority ticket that Josh is currently working on for the Mobile App system and he has ftp access and a username and password for wp admin. That same info will work for our test site which is in a folder example.com/newsite/ is the folder the staging site is on Please let me know if working on it so that I can ask developer and myself not to make any edits to EE, WP user integration or anything else while you trying to fix. |
|
Hi Jarred, This may be an opportunity for the developer to get on the right track. Specifically this code needs to be changed:
The above code can be improved to use native WP functions and filters and will likely solve the issue you’re having. A suggested change:
Then add this additional filter function & callback to change the log in URL:
|
|
The support post ‘WP User Integration Help Filter Hooks’ 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.