Initial support for custom discounts conditions