Skip to content

Commit 88ca51d

Browse files
committed
fix: pass discoutns by coupon or utm with filter by domain when no domain passed (!)
1 parent 5c606ce commit 88ca51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/lib/helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const getValidDiscountRules = (discountRules, params, itemsForKit) => {
7272
return false
7373
}
7474
if (rule.domain && rule.domain !== params.domain) {
75-
if (!checkOpenPromotion(rule) || params.domain) {
75+
if (checkOpenPromotion(rule) || params.domain) {
7676
return false
7777
}
7878
}

0 commit comments

Comments
 (0)