Install instructions
Considerations
- Our app can only work with the drawer or the regular cart—it is not supported in the sticky cart
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
Open assets/theme.min.js and search for the following:
this.updateCartNotification
Prepend the following code to that line:
document.dispatchEvent(new CustomEvent("zapiet:start"));
It should look like this:
The widget should appear in the cart page when you have added a product in the cart.
It should look similar to the screenshot below.
- In the drawer cart
- In the regular cart