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.

Checkout UI extension based on fulfilment location

Checkout UI extension based on fulfilment location

TonioLHG
Shopify Partner
2 0 1

Hi everyone,

 

I would need to display a checkout UI extension depending on the fulfilment location of the line items (I only want to display the extension when one of the items is shipped from location B). It doesn't seem possible by reading the documentation, but I'm wondering if anyone found a workaround to access the locations. Shopify is able to adjust shipping fees since the fees are doubled when the order is split between two locations, but we don't know how to get the name of the location...

Reply 1 (1)

Alice_dev
Shopify Partner
1 0 0

Hi TonioLGH!

 

Did you ever figure out a solution to this? We need to something similar with our checkout extension (only have it display depending on the fulfillment service of the line items). It looks like Shopify has deprecated the fulfillmentService field altogether and is suggesting we use inventoryItem instead, but not sure that gets us what we need. Would be interested to see how you worked around this. Thanks!