You can configure one or more parameters from the list below. The configuration format is JSON
. It contains the following parameters:language
— the language in which reviews will be displayed can be set to English or Russian. By default, it is the same as your browser language.
— here you can specify the country of the transfer, for which reviews will be shown. You can indicate the name of the country in English or the IATA country code. You can also use the simplified version in a form of a string (which will be the name of the country). For example, for Germany, we indicate:
This option differs from the similar option in the search widget.place_from
— the name of the departure point for the route for which reviews will be displayed. Write here the name of the point in English or IATA code, you can also use the simplified version in a form of a string (which will be the name of the place), for example:
"place_from": "Paris" place_to
— the name of the destination point for the route for which reviews will be displayed. You can specify the name in English, or enter the IATA code. You can also use the simplified version in a form of a string (which will be the name of the place). For example:
"place_to": "Paris" currency
— the route provided in the reviews is a link. This link will open the Kiwitaxi website page with the car class selection for this route. Prices of different classes will be displayed in the currency that you specify in this parameter. By default, USD is used for language=en and RUB - for language=ru.
— transfer class, the displayed reviews will be limited to. It indicates the code of the class or classes you are interested in, in the format "class": "ECN,CMT". Codes of classes:
- MCR - Micro
- ECN - Economy
- CMT - Comfort
- BSN - Business
- PRM - Premium
- MV4 - Minivan 4pax
- MB7 - Minibus 7pax
- PM6 - Premium Minibus 6pax
- MB10 - Minibus 10pax
- MB13 - Minibus 13pax
- MB16 - Minibus 16pax
- MB19 - Minibus 19pax
This option differs from the similar option in the search widget.
By default, all classes will be displayed. For example,
"class": "ECN, CMT",limit
— this parameter limits the number of reviews displayed. You can set a limit from 1 to 10 (scrollable), 10 reviews will be shown by default. For example,
— value true
enables, and false
- disables the auto scrolling of reviews. By default, auto scroll is disabled. For example,
"autoscroll": true autoscroll_delay
— auto scroll speed, by default equals to 10000 (in milliseconds). For example:
"autoscroll_delay": 10000 max_lines
— the number of visible text lines. If the text does not fit into this restriction, the "full review" button will appear. The default unlimited.
"max_lines": 5 logo_kiwitaxi
— this option allows you to hide the Kiwitaxi logo. Specify false to hide or true to show. By default, the logo is displayed.
"logo_kiwitaxi": true ref_params
— insert here your partner ID, a list in key-value format.
You also have the opportunity to change the widget design so it will match your website style. To do this, you can vary the values of the parameters (the default values are in brackets): widget_background
— widget background color (#ffffff); widget_font
— review text color (#4a4a4a); star_color
— star color (#dcdcdc); star_active_color
— active star color (#f8bb15); dots_color
— color of pagination points (#8c8c8c); loader_color
— color of download items (#ffb300); arrows_color
— color of scroll arrow (#8c8c8c); more_color
— "full review" button color, if not all text lines are displayed (#9b9b9b).
For example, after configuration, a reviews widget might look like this: