Install instructions
Step 1
Follow our Online store 2.0 article to enable the Store Pickup + Delivery widget, but don't publish the duplicate theme before implementing the rest of the steps.
Note
Please reach out to us at support@zapiet.com—we’ll be happy to install the widget for you.
Only proceed if you are comfortable editing code yourself.
On the theme, click Actions > Edit code.
Step 2
- This step will make sure our widget shows up in the cart.
Open snippets/cart-form.liquid and search for the following:
<div class="ajax-cart__buttons">
Append the following line to the line above:
<div id="storePickupApp"></div>
Step 3
- This step will make sure our widget is consistent on the cart page.
Open assets/theme.js and search for the following:
if (Shopify && Shopify.StorefrontExpressButtons) {
Prepend the following snippet to the line above:
setTimeout(function(){ document.dispatchEvent(new CustomEvent("zapiet:start")); }, 1000);
The widget should appear on the cart page when you have added a product in the cart.
It should look similar to the screenshot below.
- In the regular cart
- In the drawer cart