How do I create a product type programatically?
I'm trying to create a product type that has some extra fields programatically in a module. I've searched google, and the closest I've come to solving this is a hook that doesn't exist anymore in the code base, hook_commerce_product_info(). Aside from using commerce features module, is there anyway I can programatically create a product type in a module?
Asked by: disasm
on October 2, 2012
I am able to use hook_commerce_product_type_info() to create different product variation types, what hook did you use to create the corresponding product display type? I can't seem to find that in the api.