Brand Rule: Minimum “Minus” Margin Constraint
Currently, some user errors on the client side lead to inaccurate website data (e.g., wrong cost or margin setup). This results in situations where extreme negative margins or unrealistic pricing rules can still be applied, causing invalid sale prices.
To prevent this, we need to implement a minimum negative margin threshold—basically the opposite of the existing brand cost margin rule.
Introduce a “minus margin limit” rule:
A brand rule can only be applied if:
The margin is not less than -70% (i.e., margin ≥ -70%).
The resulting sale price is under 20% of cost.
If either condition is not met, the brand rule should not be applied, and the system should fallback to default pricing logic.
✅ Ensure that no brand rule applies when margin < -70%.
✅ Ensure that no brand rule applies when sale price ≥ 20%.
✅ Add validation so users are notified when they attempt to set rules beyond these constraints.
✅ Backward compatibility: existing rules must be re-validated against these new conditions.
✅ Logging: track when a rule is skipped due to exceeding the minus margin constraint.
As a business owner,
I want the system to prevent rules that apply margins beyond -70% or set unrealistic sale prices,
So that I don’t mistakenly make my website pricing inaccurate.

Please authenticate to join the conversation.
Under Review
Feature Request
6 months ago
Support Team
Get notified by email when there are changes.
Under Review
Feature Request
6 months ago
Support Team
Get notified by email when there are changes.