Hulk Product Options allows merchants to use it as a product filter, a product customizer, or a product bundler.
In order to use Hulk Product Options with Zapiet - Pickup + Delivery, you need to add a code snippet to make sure the checkout button in the cart page remains locked until the details in our widget are selected.
Requirements
You need to use Carrier-calculated shipping rates—rates will not work if you are using Zapiet - Pickup + Delivery rates.
Lock the checkout button
Click Settings, then click Developers.
Copy and paste the following code to the Custom scripts window.
window.IntegrationCheckoutClick = function() {
return {
required: window.ZapietCheckoutEnabled
};
}Click Save.
Checkout button will now remain locked until the customer has selected information in Zapiet - Pickup + Delivery widget.
Troubleshooting
If the code is not working, try adding jQuery on top of the cart file, e.g. cart.liquid, cart-template.liquid, main-cart.liquid, main-cart-footer.liquid etc.
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Limitations
The integration does not currently pass the language locales to the checkout. This means that we cannot load different wording depending on the method selected in the widget.
The pickup address will not be pre-populated in the shipping address fields.
Rates will not work if you are using Zapiet - Pickup + Delivery rates—you will need to use Carrier-calculated shipping rates.
If you're not sure which version you are using, please check Which version of the rates am I using?, or reach out on chat for more information.