Hi,

I use uc_profile to let customers enter Profile Data while Checkout.
The problem is, when a user goes to the "Review Order" Screen and hits the "back" button, all uc_profile Fields are cleared. The other values still exist, only uc_profile are cleared.

Any idea?

Best Regards,
Sandro

CommentFileSizeAuthor
#1 uc_profile-842454.patch1.86 KBderhasi

Comments

derhasi’s picture

Status: Active » Needs review
StatusFileSize
new1.86 KB

The problem is that the temporary order values are not assigned to the $profile_form. So I added a mapping function to put any temporary order value in the profile form's default values.

The patch is attached and needs review.

EvanDonovan’s picture

Patch looks logical; didn't get a chance to test yet. If #606366: Make it possible for uc_profile to include fields from different profile categories lands, it will need to be re-rolled to match the new array structure.

EvanDonovan’s picture

Just realized I need this. I will re-roll into #606366: Make it possible for uc_profile to include fields from different profile categories on Monday, probably.

EvanDonovan’s picture

In #606366-25: Make it possible for uc_profile to include fields from different profile categories, I have a version that works with multi-category support. Hopefully, that can become a 2.x branch of the module soon.

pcorbett’s picture

@EvanDonovan, is this all set for the latest dev branch? If so, we can mark as fixed.

EvanDonovan’s picture

Version: 6.x-1.2 » 6.x-2.x-dev
Status: Needs review » Fixed

Yes, I put this in my 2.x, so this is fixed in there. I think 2.x should become the recommended branch soon; it was tested by a lot of people prior to commit.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.