Improve discounts integration with cart transformations #532
a47ae
started this conversation in
Feedback: Cart Transform API
Replies: 1 comment
-
Hit the same issue today |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're currently using a cart transform
expand operation
to add fees to cart items in Shopify. This operation expands each item into two components: the original item and the associated fee. However, we've encountered an issue with how discounts are applied in this scenario.Current Behavior
Discounts are only applied to the bundle parent product, affecting the combined price (item + fee) instead of just the item price.
Example:
We have a line item in the cart with
Product A
. We then expand this intoProduct A
andFee B
. No if the customer applies a discount for 10 %, valid forProduct A
, the following calculation happensour desired Behavior would be
The problem could potentially be solved by:
Beta Was this translation helpful? Give feedback.
All reactions