Set same field value to all product variations with Rules
How to set same field value to all product variations in one product display using Rules. I have field called field_value in variations.
So when changing variation1 field_value then Rules should set same value to all other variations in that product display. How to loop through all variations?
Comments
Could you be more spesific? I have followed that "rules-field-data-selection" to make my own. But how to change all variables stock field to same value? What should I set to Actions?
What I am trying to do is to make same Stock value for all variations. I have variations which includes field_number and each has own value. Example variation1 field_value 3, variation2 field_value 7 and variation3 field_value 14.
I set manually stock to 14 for all variations. And I need to have Rule when customer buy example variation1. Then Rule changes to all variation Stock -3 from manually set 14. So it will then be 11 - in all variations.