All Collections
Integrations
Hulk Product Options
Hulk Product Options

Integrate Hulk Product Options with Zapiet - Pickup + Delivery

Jelizaveta avatar
Written by Jelizaveta
Updated over a week ago

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.


Lock the checkout button

  1. In Zapiet - Pickup + Delivery, click Settings.

  2. In Advanced section, click Developers.

  3. Copy and paste the following code to the Custom scripts window.

    window.IntegrationCheckoutClick = function() { 
    return {
    required: window.ZapietCheckoutEnabled
    };
    }

  4. 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.

Did this answer your question?