Create "dependent" attributes in Magento

Asked

Viewed 108 times

0

I’m trying to make attributes that depend on each other in Magento, for example, have two generos (Male | Female), if the user chooses Male, in the size attribute, will be available the options P, M, G and GG and if he chooses Female, G and GG options will be unavailable or will not appear, already fucked up and I could not find it rs... Does anyone have any idea how to do that?

1 answer

0


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

You will create in Magento the size attribute, and you will define it with the options: P , m , G, GG It will also create the attribute Color: 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 the grouping of these simple products and it will create the options automatically according to the simple products associated.

Just when the client on the frontend marks P , it will provide only the color option Blue and if it marks M will appear Yellow and vermlho, for example.

  • VLW bro, I got it done the way you passed me msm kkk

Browser other questions tagged

You are not signed in. Login or sign up in order to post.