Discussions

Custom Customer Profile or Custom Line Item?

I'm looking for some advise from someone who may have more experience with Commerce than I do. I am creating a store for children's class registration. I would like to capture some information about the child at checkout, like Name, Age, Gender etc. I'm not sure whether to create a custom customer profile to store this info or to put it in custom line items.

A new profile type seems like the best option, but what if the parent has more than one child? The custom line item seems cumbersome.

Is there another way of doing this that I am not thinking of? Thoughts?

Posted: Dec 9, 2011

Comments

rfay Randy Fay on December 12, 2011

You just have to decide if you want to do it with the logged-in user's info (the profile field approach) or with order information (the custom line item approach). The disadvantage of the profile approach is that you have to force them to create an account. Either way should work for you.