How can I retain line item properties on the parent variant?

I’m using the expand operation in the cart transform API for my custom bundle app. Now, there is a line item property added to the parent variant (i.e. the bundle SKU). The line item property is added by the cart ajax API. When it’s replaced by the individual products, the line item properties are lost.

What is the suggested way to retain the line item properties?

1 Like

Hi jam_chan,

You can choose custom code option as alternative of bundle APP

Yes, I’m working on a custom code option in my bundle app

Line item properties of the parent should be preserved when using Expand, are you having issues with that?

How are the line item properties preserved? When the parent variant is replaced by the child variants, where do the line properties of the parent variant go? Which field can I find them?

1 Like

I’m looking for this answer too. Have you found out anything new since this post?

1 Like

I am looking for this exact same thing. Preserving the line item properties of the parent product, when expanding them into child products.
There was an update lately (https://shopify.dev/docs/api/release-notes/2024-04#shopify-function-apis-changes) that should make this possible. However I am not sure how to implement this. Does anybody know?