hi,
I used uc_profile module available in latest version here for drupal 6. I noticed that "ubercart" category profiles are not shown to anonymous users at checkout page. I gave all profile access permissions to the anonymous user.Checkout is also enable for anonymous user. Other checkout process is working fine for the anonymous user but "ubercart" category profile I created using "profile" core drupal module are not shown to anonymous user at checkout page.

In checkout settings I enabled "ubercart" category profile also. Is there any solution for that?
Even if after some changes in "uc_profile.module" file , "ubercart" category profile shown to anonymous user on checkout page, then information entered in these fields are not saved in that user profile when I am going to view user profile.

Any help will be highly appreciated.

Thanks in advance,
Dewan : Learn Web Knowledge

Comments

janton’s picture

Yes i notice the same|? Somebody found a solution?
Perhaps i don't understand this module, but i thought this module gave anonymous users that were going to register the option to fill in there Profile.. just like in the normal register page.

rikki_iki’s picture

Priority: Normal » Major

I have the same issue. Is there a solution for this yet?? The module is completely useless to me if an anonymous user can't complete the 'ubercart' profile form and have it stored against the account created for them.

rikki_iki’s picture

Status: Active » Needs review

I have just adjusted the uc_profile.module file which seems to have solved it. Not sure if it's the best solution but it's working for me.

uc_profile.module - line 71:

- if(!empty($choosen_profile_categories[$pc['name']]) && profile_category_access($user, $pc['name'])) {
+ if(!empty($choosen_profile_categories[$pc['name']])) {

Removes the need for the user to have access to the profile category. This shows the profile form to the anonymous user and stores the data again the account created.

janton’s picture

i see in the new dev version:
if (!empty($selected_profile_categories[$pc['name']]) && (variable_get('uc_checkout_anonymous', FALSE) || profile_category_access($user, $pc['name'])))

it workes perfect now with anonymous checkout ! :) yeaah! (without needing to adjust the code)

janton’s picture

Status: Needs review » Closed (fixed)

i think this can be set to fixed then?

jbenjamin’s picture

I've installed the dev version of this module, and while i see the fieldset in the checkout pane, there's nothing inside of it. Anyone have any thoughts?

hockey2112’s picture

Just a quick note to say that the dev version fixed the issue for me as well.