Location filters using liquid

You can specifically state the pickup or delivery location that should be displayed by adding two hidden fields to your shopping cart page just above the <div id="storePickupApp"></div> element.

Set pickup location

<input type="hidden" id="pickupFilterByField" value="id" />
<input type="hidden" id="pickupFilterByValue" value="10001" />

Set delivery location

<input type="hidden" id="deliveryFilterByField" value="id" />
<input type="hidden" id="deliveryFilterByValue" value="10001" />

Note setting a specific location will ignore any inventory or product settings

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.