Posted: December 2, 2013 at 12:07 pm
Use using the Add to Cart feature. If I Add event to cart, then view cart, select 1 attendee, click enter attendee information, then Enter details, click confirm and go to payment page. This works fine. but… Now it shows payment overview, Since it is the payment page if you click edit registrant information, you get a popup that says “are you sure…” if you leave the page, it goes to the edit attendee page but all registration information is cleared because you left the payment page. How do you fix this? If you don’t use the add to cart, and go to an event, register on the event page. You get a page that asks you to confirm the details and there is a button to edit, and this works fine. |
|
|
If you go into includes/process-registration/add_attendee_to_db.php and add the class ‘allow-leave-page’ to the two links on lines 843 and 847, then it will stop the leaving page warning. |
Thanks Sidney, I know it it allowing us to leave the page without the warning. But when I click to edit attendee information it takes me to the page but it does not remember all of the fields? |
|
|
I’m having some trouble reproducing the problem consistently. Can you provide a list of your active plugins and their version numbers? |
Would it be easier to provide you access to our dev website? |
|
|
Sure, I’ll need ftp access to do some troubleshooting. Can you fill out the form here? |
Sent. |
|
|
I see the problem now. In includes/functions/form_build.php lines 69-114, all the lines that look like: $answer = $attendee_number === 1 ? htmlspecialchars( stripslashes( $current_user->first_name ), ENT_QUOTES, 'UTF-8' ) : $answer; have been changed in the current version to look like: $answer = $attendee_number === 1 && ! $answer ? htmlspecialchars( stripslashes( $current_user->first_name ), ENT_QUOTES, 'UTF-8' ) : $answer; |
Can you confirm if YOU made the change, or if I need to? |
|
|
No, I didn’t make the change. You can either make that specific change, or you can update to the latest version of EE. |
This works. Thank you. |
|
The support post ‘Modify Attendee Information through Cart’ 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.