# Query related Item Variants Set Dependency

**URL:** <https://forum.shopware.com/t/query-related-item-variants-set-dependency/55779>\
**Category:** Programmierung\
**Created:** [16. Oktober 2018 um 20:02 UTC](https://forum.shopware.com/t/query-related-item-variants-set-dependency/55779 "2018-10-16T20:02:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rizwan](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@Rizwan](https://forum.shopware.com/u/Rizwan)\
**Post date:** [16. Oktober 2018 um 20:02 UTC](https://forum.shopware.com/t/query-related-item-variants-set-dependency/55779/1 "2018-10-16T20:02:55Z")

</div>

Hello,

First of all i appreciate Shopware Team You all are doing great Job. Anytime you are active for resolving our queries and give us a best solution for this Hats Off.&nbsp;

My query is related about item variants&nbsp;

Using Shopware Variants Configuration&nbsp;

i have make two active group which is color and size

in color group i have set two options 1)Red and 2)Blue&nbsp;  
in Size group i have set 3 options 1)S &nbsp; &nbsp;2)L &nbsp; &nbsp; &nbsp; 3)XL

now in frontend detail page when i select Red color field &nbsp;the 3 Size fields should be enable &nbsp; &nbsp; &nbsp;1)S &nbsp; &nbsp; &nbsp; &nbsp;2)L &nbsp; &nbsp; &nbsp;3)XL  
but when i select &nbsp;Blue Color field &nbsp;the all 3 Size Field &nbsp;(S, L, XL ) fields should be disable.&nbsp;

i have set it using set dependency but when i applied with blue color (Not With) &nbsp;(S, L, XL)&nbsp;

it hides the blue color field as well and not working properly as i need ???

So how can i resolve this issue???
