Learn how to integrate VITALS | 40+ apps in one with Store Pickup + Delivery
Fix checkout button
If you’re using Product Bundles or Volume Discounts, VITALS will take over the Checkout button. This will allow your customers to go to checkout without selecting pickup or delivery details.
To make sure your customers need to select pickup or delivery details:
1. Go to Vitals > Advanced Setup
2. Click Custom Checkout Validator
3. Copy and paste this code:
if (typeof window.Zapiet !== 'undefined' && typeof window.Zapiet.Widget !== 'undefined') { return Zapiet.Widget.checkoutEnabled(); }
Fill in pickup address
If you’re using Product Bundles or Volume Discounts, we will not be able to fill in the pick up address on the checkout page.
To make sure we fill in the pickup address:
1. Go to Vitals > Advanced Setup
2. Click Append Custom Checkout URL Parameters
3. Copy and paste this code
Object.entries(Zapiet.Widget.getCheckoutParams()).forEach(([key, value]) => { VITALS_ADD_CHECKOUT_URL_PARAMETER(key, value) });