Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify SDK

Shopify SDK

RamJogal
Shopify Partner
5 0 2

Hi team
, team. When I try to access Shopify products using the npm package Shopify -buy, I get the error shown above.
Framework 
React 

Shopify-buy Version

2.19.0
{ "message": "Selections can't be made on scalars (field 'price' returns Money but has selections [amount, currencyCode])", "locations": [ { "line": 1, "column": 56 } ], "path": [ "fragment VariantFragment", "price" ], "extensions": { "code": "selectionMismatch", "nodeName": "field 'price'", "typeName": "Money" } }

"message": "{\"error\": true,\"data\":\"Field 'presentmentPrices' doesn't exist on type 'ProductVariant'\"}",

Replies 0 (0)