Create "dependent" attributes in Magento

0

I'm trying to make attributes that depend on the other in Magento, for example, have two genres (Male | Female), if the user chooses Male, in the size attribute, the options P, M, G and GG will be available and if it choose Female, the options G and GG will be unavailable or will not appear, ja fucking fucking and I could not find it rs ... Anyone have any idea how to do this?

    
asked by anonymous 22.01.2015 / 14:08

1 answer

0

There are no dependent attributes, what happens is a combination of products available for example:

You will create in Magento the size attribute, and will set it with the options: P, m, G, GG And it will also create the Color attribute: Blue, Yellow, Red

When you create the product, you will create it as Simple Product and set the size and color for example you have 4 products: P - Blue M - Yellow M - Red

Then you will create a configurable product that will be grouping these simple products and it will automatically create the options according to the simple associated products.

When the client in the frontend marks P, it will only make the Blue option available, and if it does, it will appear Yellow and Red, for example.

    
10.02.2015 / 16:56