Skip to content

How to create two dependent dropdown product attribute in magento 2

I Want to create two dropdown product attributes. Depending on the first dropdown send dropdown option will be display in product admin edit page.(not need it in frontend)

e.g : ABC attribute (options 1,2,3,4,5)

now EFG attribute (option will be like
If abc select 1 then (x,y,z),
If abc select 2 then (m,n,p),



like this )