diff --git a/packages/core/src/config/promotion/actions/facet-values-discount-action.ts b/packages/core/src/config/promotion/actions/facet-values-discount-action.ts index 43eba189d7..ff6ce90533 100644 --- a/packages/core/src/config/promotion/actions/facet-values-discount-action.ts +++ b/packages/core/src/config/promotion/actions/facet-values-discount-action.ts @@ -26,7 +26,7 @@ export const discountOnItemWithFacets = new PromotionItemAction({ }, async execute(orderItem, orderLine, args) { if (await facetValueChecker.hasFacetValues(orderLine, args.facets)) { - return -orderLine.unitPrice * (args.discount / 100); + return -orderItem.unitPriceWithPromotions * (args.discount / 100); } return 0; }, diff --git a/packages/core/src/config/promotion/actions/product-discount-action.ts b/packages/core/src/config/promotion/actions/product-discount-action.ts index e30f2eb801..991acdefbf 100644 --- a/packages/core/src/config/promotion/actions/product-discount-action.ts +++ b/packages/core/src/config/promotion/actions/product-discount-action.ts @@ -26,7 +26,7 @@ export const productsPercentageDiscount = new PromotionItemAction({ execute(orderItem, orderLine, args) { if (lineContainsIds(args.productVariantIds, orderLine)) { - return -orderLine.unitPrice * (args.discount / 100); + return -orderItem.unitPriceWithPromotions * (args.discount / 100); } return 0; },