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 [email protected]—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 sections/main-cart.liquid and search for the following:

{% unless p.last == blank %}

HTML

Replace the code above with the following:

{% unless p.last == blank or p.first == "_ZapietId" %}

HTML


Step 3

  • This step will make sure our widget stays consistent when changing quantity in the cart page.

Open assets/theme.js.liquid and search for the following:

this.replacingContent = false;

JavaScript

Append the following to the code above:

document.dispatchEvent(new CustomEvent("zapiet:start"));

JavaScript


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.

Did this answer your question?