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.

Trying to get pickup available by location data to build a lead-time to ship feature on product page

Trying to get pickup available by location data to build a lead-time to ship feature on product page

Philly_Frankie
Shopify Partner
2 0 0

Currently we have a lead-time to ship feature on our site, https://www.kitchenkapers.com/products/staub-5-quart-tall-cocotte  the data to create this is coming via an API call from/to a third party hosting site that we are getting rid of. Can we get data on "pickup available" by location to build this within our Empire theme? We are using Empire 2.0 v6.1.0. Shopify has said yes, using store_availability object, and a Shopify Expert has said no. I found this on Shopify.dev https://www.kitchenkapers.com/products/staub-5-quart-tall-cocotte  

 

The logic is pretty straight forward.

If an item/variant is in-stock and available for pickup at location warehouse = true than it SHIPS SAME DAY. (see Staub 5 quart tall cocotte, cherry red variant)

If an item/variant is in-stock and available for pickup at location warehouse = false than it SHIPS In 3-5 DAYS. (see Staub 5 quart tall cocotte, white variant)

 

Can this work?

 

Replies 0 (0)