·
3 commits
to main
since this release
Patch Changes
-
Fix cart operations failing on stores without
VisitorConsenttype (#3720) by @itsjustrileyCart operations (like
cart.setMetafields()) were unconditionally including thevisitorConsentparameter in GraphQL operations, even when not being used. This caused failures on stores whose Storefront API schema doesn't include theVisitorConsenttype (older API versions or certain store configurations).The
visitorConsentparameter is now only included in cart GraphQL operations when explicitly provided. This restores compatibility with stores that don't support theVisitorConsenttype while preserving the feature for users who need it. -
Updated dependencies [
f84ab400c62d89827574d0fa65ba310a2e75f36f]:- @shopify/hydrogen-react@2026.4.1