Skip to content

Commit

Permalink
Fix product discount
Browse files Browse the repository at this point in the history
  • Loading branch information
pozylon committed Dec 27, 2024
1 parent a5c6bd2 commit 455e7c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/plugins/src/pricing/product-discount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ const ProductDiscount: IProductPricingAdapter<ProductDiscountConfiguration> = {

calculate: async () => {
params.discounts.forEach((discount) => {
if (!discount) return;

const { configuration } = discount;

const resolvedConfiguration = configuration.customPriceConfigurationResolver
Expand Down

0 comments on commit 455e7c3

Please sign in to comment.