Shopify Local Pick-up
Learn how to configure Local Pickup in your Merchants Shopify store, and customise pickup options.
Headless Stores
Prerequisites
The Hook
The GraphQL Query
query FindInsStoreVariantsAndLocations($handle: String!, $latitude: Float!, $longitude: Float!) {
product(handle: $handle) {
variantBySelectedOptions(selectedOptions: $selectedOptions) {
storeAvailability(first:250, near: { latitude: $latitude, longitude: $longitude }) {
edges {
node {
available
pickUpTime
location {
name
id
address {
formatted
latitude
longitude
}
}
}
}
}
}
}
}Example Implementation
Links
Last updated