Delivery type selection widget

Russian English
Key features of the widget: To connect the widget, you need to add the code to the desired page (it is recommended to place it inside the <head> tag):
<script id="ISDEKscript" type="text/javascript" src="" charset="utf-8"></script>
And also copy the service.php file to your website, in which you can make settings in accordance with your integration data. For example, in lines 5-6 indicate the tariffs used:
    array(233, 137, 139, 16, 18, 11, 1, 3, 61, 60, 59, 58, 57, 83),
    array(234, 136, 138, 15, 17, 62, 63, 5, 10, 12)
And in lines 17-18, indicate the account for the integration in order to receive the shipping cost in accordance with your contract:
    protected static $account = 'ACCOUNT_FROM_INTEGRATION';
    protected static $key     = 'SECURE_PASSWORD_FROM_INTEGRATION';
To display the widget on your site, you need to create a javascript handler for the widget:
<script type="text/javascript">
    var ourWidjet = new ISDEKWidjet ({
        defaultCity: 'Omsk', //default city to display with pickups points
        cityFrom: 'Moscow', // city from which orders will be sent
        lang: 'eng', // set the language of the widget
        country: 'Россия', // you can select the country for which to display the list of pickup points
        link: 'forpvz', // id of the HTML element into which the widget will be written
        path: '', //library directory
        servicepath: '' //link to service.php file on your site

And also on the page it is necessary to place an element into which the card with the points of issue of orders will be inscribed. The element requires a height.

<div id="forpvz" style="width:100%; height:600px;"></div>


Examples of using the widget: list of examples (RU)

The history of changes of the widget can be viewed in the file: module changelog

An example of how the widget works

Some of the widget's capabilities are presented below. More detailed possibilities can be found by, downloading the documentation for the widget.

Shopping cart:

Number of goods: 1 pcs.

Weight of goods: 2 kg.