I'm working on a Drupal site with paid memberships using Ubercart to assign roles. I'd also like to place fields in the membership 'product' page that will be used to populate CCK content profile fields for a new user.

The problem:

I managed to get everything set up for registering new users on the site and populating their content profile fields BUT if the user goes back later to update or change their profile information or wishes to extend/renew their membership, it's still tied up with UC Node Checkout and causes problems (eg. saving changes to their content profile tries to checkout a new node).

The question:

How do I properly configure Ubercart + UC Node Checkout + Content Profile so that new users can visit the site, purchase an account / role on the site with PayPal, enter profile information that automatically gets connected with their account, and then later on the same user can work with their profile data or renew their membership without interfering with the Ubercart/UC Node Checkout functions?

Thanks in advance,
Geoff

Comments

solide-echt’s picture

There may be more ways of dealing with this but my advice is to work the other way round:

  • check 'Use on Registration' in Content Profile
  • disable anonymous checkout
  • enable rules and rules forms for checkout form
  • build a rule that sets default values from the content profile to the checkout form
  • redirect user/register to your membership product page

Now when users want to register they are guided to Ubercart. When they haven't already registered the registration form nicely fits in and they can continue with checkout based on the values from their content profile. Editing content profile is not affected through this procedure so still works as advertised.

Hope this helps!

lameei’s picture

How should i redirect the user/register?

yesct’s picture

I'm trying to figure this out also.

yesct’s picture

This might be related, and maybe those folks know about how to be able to have the user edit the profile later without having to check out again.

http://drupaleasy.com/blogs/ultimike/2009/03/event-registration-ubercart

aidanlis’s picture

Status: Active » Closed (won't fix)

There does seem to be a problem with content_profile, but I don't have time to fix it. I've closed this support request, and postponed the bug report.