Setting boolean values from separate boolean trigger
Summary:
Commerce -
There are 3 boolean attributes in the form of switches; A, B, C. At any given time, when one of those attributes have been set to true, the rest should be false. How do I set values for the remaining two attributes after the first one's value is changed?
Content (required):
Commerce -
There are 3 boolean attributes in the form of switches; A, B, C. At any given time, only one of those attributes should be true and the rest should be false.
E.g.
State 1: A true, B false, C False
State 2: A false, B True, C False
Tagged:
0