Hot answers tagged

1 vote
Accepted

How can I validate the custom rule condition on custom module in Magento 2

To validate the custom rule condition at order place time, you can use the Magento\SalesRule\Model\RuleFactory class to load the rule and validate it against the quote or order.
  • 341

Only top scored, non community-wiki answers of a minimum length are eligible