Support

Home Forums Event Espresso Premium Modify Attendee Information through Cart

Modify Attendee Information through Cart

Posted: December 2, 2013 at 12:07 pm


Al Joly

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,
It shows Button to “Edit Registrant Information”
Or options to pay.

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.


Sidney Harrell

December 2, 2013 at 4:34 pm

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.


Al Joly

December 3, 2013 at 12:39 pm

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?


Sidney Harrell

December 3, 2013 at 6:48 pm

I’m having some trouble reproducing the problem consistently. Can you provide a list of your active plugins and their version numbers?


Al Joly

December 4, 2013 at 9:50 am

Would it be easier to provide you access to our dev website?


Sidney Harrell

December 4, 2013 at 1:00 pm

Sure, I’ll need ftp access to do some troubleshooting. Can you fill out the form here?


Al Joly

December 4, 2013 at 1:14 pm

Sent.


Sidney Harrell

December 4, 2013 at 3:20 pm

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;


Al Joly

December 5, 2013 at 10:02 am

Can you confirm if YOU made the change, or if I need to?


Sidney Harrell

December 5, 2013 at 10:09 am

No, I didn’t make the change. You can either make that specific change, or you can update to the latest version of EE.


Al Joly

December 5, 2013 at 10:59 am

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.

Event Espresso