Skip to content

Conversation

@deven-endy
Copy link
Contributor

@deven-endy deven-endy commented Apr 10, 2025

Hi there!

While upgrading to shopify-buy@3 my team noticed that the SDK didn't support ComponentizableCartLine cart line items.

We created a patched version that modifies CartLineFragment to query on the BaseCartLine interface to support both CartLine and ComponentizableCartLine.

ComponentizableCartLine does have a lineComponents property that's not a part of the BaseCartLine interface, but it is not required for our needs. This change aligns with the behaviour of v2.

I thought I'd create a PR just in case this change was desired. We're good on our end, although we would prefer to use the official SDK if possible.

@deven-endy
Copy link
Contributor Author

I have signed the CLA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants