Skip to main content
All CollectionsIntegrations
VolumeBoost ‑ Volume Discount
VolumeBoost ‑ Volume Discount

Integrate VolumeBoost ‑ Volume Discount with Zapiet - Pickup + Delivery

Jelizaveta avatar
Written by Jelizaveta
Updated over 3 months ago

VolumeBoost ‑ Volume Discount allows merchants to create discounted prices for bulk purchases.

In order to use VolumeBoost ‑ Volume Discount 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. 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.

Did this answer your question?