I’m trying to integrate the Slovak Post Widget into my Wix store, but I can’t figure out how to customize the checkout page to make it work properly.
The widget needs to be embedded into the checkout page with a script tag like this:
<html>
<head>
...
<script
src="``https://static.posta.sk/pickup-widget/v1/lib.js``"
type="text/javascript"
></script>
</head>
...
</html>
Here’s what the checkout page should allow the customer to do:
- Open the widget by clicking a button.
- Select a preferred delivery point.
- Pass the selected point into the order details (via the JS callback provided by the widget).
- Use that point as the delivery address for the order.
So far, I’ve managed to add the script tag to the header using the ‘Custom Code’ option in Wix settings. However, I still need a way to:
- Render a button conditionally, based on the chosen shipping provider.
- Load the selected delivery point into the order details as the delivery address.
My question is:
Is it possible to fully integrate a 3rd-party delivery point widget into the Wix checkout page?