What is the proper practice for creating modules that add data fields to the core 'product' content type? Do we add fields to uc_product or create a separate table holding our data fields?
Fri, 01/23/2009 - 18:42
Re: adding fields to product content type
If you can do it through CCK, I would strongly suggest doing that. If not, I would add a table w/ nid as the primary key and store your specific data in there. Then you can use hook_nodeapi() to load up the data when a product node is loaded.
