fix(promotion): validate rules accurately when attribute is scoped by context (#8655)
This commit is contained in:
@@ -362,7 +362,8 @@ export default class PromotionModuleService
|
||||
|
||||
const isPromotionApplicable = areRulesValidForContext(
|
||||
promotionRules,
|
||||
applicationContext
|
||||
applicationContext,
|
||||
ApplicationMethodTargetType.ORDER
|
||||
)
|
||||
|
||||
if (!isPromotionApplicable) {
|
||||
|
||||
Reference in New Issue
Block a user