Shopify / storefront-api-examples

Example custom storefront applications built on Shopify's Storefront API
https://help.shopify.com/api/storefront-api
MIT License
1.12k stars 329 forks source link

How can we modify checkout weburl #116

Open tufail opened 4 years ago

tufail commented 4 years ago

Hi ,

I like to modify the checkout shipping before clicking on weburl button.

Is there any option to ask shipping address on shopify like "fieldBaseTypes.required_shipping = false"

so that we can skip shipping address form to fill. something like this client.checkout.create({ fieldBaseTypes: { requiresShipping: false } }).then((res) => {})

Please help me.