I need to be able to pull-in profile fields depending on the kind of product ordered. I am thinking of creating profile categories using names like 'ubercart-
' and showing them based on the actual cart content.
This should be relatively easy to implement but I was wondering if anyone else thinks this is useful or has alternative suggestions.

Comments

pcorbett’s picture

What's are your actual use cases for this kind of functionality?

wjroes’s picture

Hi Patrick,

In my case people can sign-up/register for the website by buying specific products. These products are basically courses. The course that they register for determines the 'profile' this user has in the website and accordingly which roles. Based on this profile I need them to fill out more specific information which is then used to offer them specific content, i.e. forums, newsletters.

This would probably be more of a request for an extension to the profile functionality in general now that I think about it. It seems though that it would be handy to be able to do some sort of filtering on the profile categories you actually want to pull in. Maybe by using wildcards or regexp. For instance in uc_profile you should be able to specify that you want to pull-in categories matching "ubercart-%" or something.

Thanks,
Willem

asiby’s picture

Here is a very good use case for this ...

A web site sells mainly some membership types on my site:

  • Gold membership
  • Silver
  • Bronze
  • Rusted Iron (lol ... why not)

For a membership order, it would make sense to have some profile fields available so the buyer can take the opportunity to fill those out at one while paying for it.

Now let's assume that the same web site sells goods and services like ...

  • Hat
  • Watches
  • Shoes
  • T-Shirts with my photo on it (hehehe)

In that case, they will not need the profile fields pane when making an order. Specially when there are more than 20 profile fields available. No. No ... and No. It is simply not a good idea.

Cheers

asiby’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
asiby’s picture

Closed for lack of activity.