Install instructions
Warning
If the automatic theme installation hasn’t worked, we suggest you reach out to us at support@zapiet.com —we’ll be happy to install the app for you.
Only proceed if you are comfortable editing code yourself.
Step 1
Download the latest files from our release notes article.
Step 2
Upload storepickup.js and storepickup.scss.liquid to your themes Assets folder
Step 3
Create an empty snippet file called storepickup-addons.liquid
Step 4
Create a snippet file called storepickup.liquid and copy and paste the content from the storepickup.liquid file you downloaded in step 1.
Step 5
Open layout/theme.liquid and search for the following code:
</head>
Prepend the following to the line mentioned above:
{% include "storepickup" %}
Step 6
Open templates/cart.liquid and search for the following code:
<input type="submit" name="update" id="update-cart" value="{{ 'cart.general.update' | t }}" class="button" />
Prepend the following to the code above:
<div id="storePickupApp"></div>
Step 7
Open templates/cart.liquid and search for the following code:
document.getElementById('cartform').submit();
Replace the code above with the following:
var form = document.getElementById('cartform');
form.setAttribute(\"href\",\"/cart\");
document.getElementById('cartform').submit();