I have created a new product type (
configurable_b), that extends the
configurable product type.
The issue is that when I edit the product in the backend I cannot see many attributes.
The reason are:
- Many attribute are assigned specifically to
configurableso I need to manually assign them to the
- Even if the attribute is assigned to all product types, I need to save the attribute to display in my new
Any way to fix this programmatically ?
Cycle on every attribute:
- assign it to
configurable_bif they are assigned to configurable
- fix the issue with the attribute assigned to all product type
I will accept also info that help me to create a script by myself, what I really miss is where the association to product type/attribute (apply_to) is stored in DB