Decorative Leg Consistency
DecoLegConsistencyRule
Consistency of the decorative leg configuration.
Notification level: ⚠
Key | Value |
---|---|
ID | DecoLegConsistencyRule |
Translation key | Parts deco_leg_consistency_rule_parts_title deco_leg_consistency_rule_parts_message |
Translation key | Position deco_leg_consistency_rule_position_title deco_leg_consistency_rule_position_message |
Behavior
This rule checks the decorative leg configuration after applying the decorative leg on furniture, based on its position and type to avoid the wrong position of the cabinet with decorative legs. It also checks if the furniture in the same linear are compatible with the cabinet with decorative leg.
Trigger Conditions
It is triggered if a cabinet has decorative legs but is not attached to a wall. The application starts warning for wrong position for decorative legs.
If a cabinet has decorative legs but the furniture in the same linear is not compatible with decorative leg option, the rule is triggered and the application starts warning for incompatible cabinet.
Overload Parameter
Key name | Type | Default value | Description |
---|---|---|---|
decoLegIDA | array | [] | The array containing all the decorative leg product IDs which need to be checked. Mandatory. |
Sample:
Following the overloads sample below, if a user applies the decorative leg with productID: 71028
to furniture, the application will check whether these furniture have the correct leg configuration or not.
{
"decoLegIDA":["71028"]
}
Illustration
Case 1 – Wrong position for decorative legs
A cabinet with decorative leg is not attached to the wall, the rule is triggered and warns the user to change the position of this cabinet.
Once the user has attached the cabinet to a wall, the design is error free.
Case 2 – Inconsistent decorative legs linear
A cabinet is incompatible with the applied decorative leg, the rule is triggered and informs the user to change the elements or remove the decorative leg.
Once the user has changed the element or removed the decorative leg (in the case below, s/he removed the leg) the design is error free.