Skip to content

Commit 5215508

Browse files
committed
fix: revert temp test for freebie rules with coupon required
1 parent 7aa2b9b commit 5215508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/routes/ecom/modules/apply-discount.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ ${discountedSkus.map((sku) => `\n${sku}: ${discountPerSku[sku].toFixed(2)}`)}
232232
}
233233
}
234234

235-
if (bestRule && discountValue) {
235+
if (bestRule) {
236236
// provide freebie products \o/
237237
response.freebie_product_ids = bestRule.product_ids
238238
if (discountValue) {

0 commit comments

Comments
 (0)