Parent-child attributes in Magento
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
0
I have car parts products in my M2 store and I need to give my clients availability to filter parts by model of car and year. Each product can be attached to different models/years, in example: Cabin air filter: Honda Civic - 2016 Honda Civic - 2017 Honda Civic - 2018 Honda Accord - 2013 Honda Accord - 2014 Honda Accord - 2015 Honda Accord - 2016 If I would have only models, I could add just simple product attribute. But how should I handle this situation, when I have "parent" attribute (model) and "child" attribute (year)?
magento2