We are using a cart transform functions to support a client that requires applying price changes based on line item properties in the cart. This price change takes effect perfectly for standard items with no selling plan allocations, but the instant a product has a selling plan attached the cart transform stops applying but there is no error reported in the admin console.
I’m wondering if this is expected behavior, and if so whether there is any documentation about this quirk or if the team is looking at changing this behavior. A big part of the reason we are using the cart transform API for this is that the product discount function API does not currently allow us to apply different discounts to each line item if they share a variant id (e.g. one item has a selling plan attached and one does not) so we are still needing to use shopify scripts for this. Would love to fully migrate but this is a blocker.
Awesome, thanks Liam. If it is known/intentional it would be great to have that added to the limitations section in the developer docs, as I could not find any mention of it anywhere else.
Out of curiosity, is this also affecting the selling plan data from being returned on the cart transform function?
I get null when querying for the selling plan data of a product using the cart transform function api, but when I try the same product with the cart validation function api I am able to view the expected selling plan data.
Thanks for this update Liam. Does the team have an estimated ETA for this fix? Will it have to wait for the next API release in April or will the fixes come to the current version as well?
Just wanted to check in on this again and see if there was an ETA. We’re in planning for the next quarter and would love to know if we need to plan this in.
Hi also wanted to see if there is an update and ETA on this one. We are working with a merchant and just hit this issue as well, would love to give them an answer on when we might be able to address this for them.
Bump - We too need a way to show items as a bundle.
We don’t want to change the pricing of the products though. The discount is applied by discount functions.