How can I show custom Property Cart Transform Feature

I am currently working on the Cart Transform feature and noticed that custom properties are not being retrieved in the GraphQL.

hey @dhilip24

Ensure that the GraphQL query explicitly includes customAttributes when retrieving cart data, and confirm that the properties are being saved correctly at the time of cart transformation.

Hi @dhilip24

Actually, Shopify’s GraphQL API doesn’t automatically include custom properties in the cart response. A workaround is to use cart.lines.merchandise.selectedOptions to store and retrieve custom properties instead. Alternatively, if you’re using Liquid, you can access them via line_item.properties. If you need them in GraphQL, consider storing them in metafields attached to the cart or product.