Skip to main content
All CollectionsIntegrations
Hulk Product Options
Hulk Product Options

Integrate Hulk Product Options with Zapiet - Pickup + Delivery

Jelizaveta avatar
Written by Jelizaveta
Updated over 3 months 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.


Requirements


Lock the checkout button

  1. Click Settings, then click Developers.

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

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

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

Did this answer your question?