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

  • This step will make sure our widget shows in the modal cart.

Open snippets/ajax-cart-template.liquid and search for the following:

{% endraw %}{% if settings.cart_notes_enable %}{% raw %}

HTML

Prepend the following to the code above:

<div id="storePickupApp"></div>

HTML


Step 3

  • This step will make sure our widget is consistent in the modal cart.

Open assets/ajax-cart.js.liquid and find the following code:

if (window.Shopify && Shopify.StorefrontExpressButtons) {

JavaScript

Prepend the following to the code above:

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

JavaScript

Step 4

  • This step will make sure the "update cart" button works correctly on the cart page.

Open sections/main-cart.liquid and search for the following:

<form action="{{ routes.cart_url }}" method="post" class="cart-form" novalidate>

HTML

Replace the code above with the following code:

<form action="{{ routes.cart_url }}" method="post" class="cart-form" id="cart_form" novalidate>

HTML


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 modal cart

Did this answer your question?