Skip to content

Commit

Permalink
fix(core-flows): Add missing cart sales channel id fields to be part …
Browse files Browse the repository at this point in the history
…of the application context (#10142)

RESOLVES SUP-185

**What**
The cart fields to be fetched for the promotion workflow was not including the sales_channel_id, making any rules being constraint to that fields not being validated against this property.
  • Loading branch information
adrien2p authored Nov 19, 2024
1 parent b7044bb commit 59bf9af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/core-flows/src/cart/utils/fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const cartFieldsForRefreshSteps = [
"currency_code",
"metadata",
"completed_at",
"sales_channel_id",
"region.*",
"items.*",
"items.product.id",
Expand Down

0 comments on commit 59bf9af

Please sign in to comment.