Discussions

Porting an Ubercart "Product Feature" to Commerce

I've started developing a module implementing a Product Feature for Ubercart 2.x.
The feature allows to link a user/client to a product: at the time you add the product to your cart, you can search and select a user (which is not the buyer but another user registered on the site) and link it to the product.
I implemented this as a Product Feature in Drupal6/Ubercart 2.x but the same concept doesn't seem to exist in Drupal7/Commerce
As I'm pretty new to Drupal 7 development, I'm wondering what is the best way to port the same functionality to Commerce.
I'm seeking from "design" best practices or standards.
Thanks for any suggestion.

Posted: Aug 24, 2011

Comments

rfay Randy Fay on September 5, 2011

I'm not an expert with UC but most things that were done with things like features in UC can be done by adding fields to product types.