Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Simple integration of Packeta (Zásilkovna) widget in Tilda e-shop.

License

Notifications You must be signed in to change notification settings

jonasnobile/zasilkovna-tilda-widget

Repository files navigation

Zasilkovna widget for Tilda

Documentation

  1. Put <script src="https://widget.packeta.com/www/js/library.js"></script> to the head tag.
  2. Put <script src="https://cdn.jsdelivr.net/gh/jonasNobile/zasilkovna-tilda-widget@latest/dist/zasilkovna-tilda-widget.umd.js" apikey="yourApiKey"></script> to the head tag (has to be below Packeta library).
  3. Add hidden filed in ST100 block for pick-up place information with variable name packeta-point-id.
  4. Add delivery variants input in ST100 block and add Zásilkovna 65 Kč = 65.

The script will automaticaly add event listener to Zásilkovna button in the checkout. Script will shows a packeta widget pop-up, when user selects Zásilkovna option.