I’ve created a new product type and need to create and associate some custom attributes with it.
Is there a way it can be done in the setup code?
Update:
When I say setup code I mean in the “module/sql/module_setup/mysql4-install-0.1.0.php” file for when Magento first uses the module.
This helped set me in the right direction, http://www.danneh.org/2010/03/adding-multi-select-attributes-using-an-installer-in-magento/
You also need this in your config.xml