For Developers - Integration of Tatry Super Ski solutions

Welcome to the Developers section ☕, where you will find all the necessary information regarding the integration of Tatry Super Ski solutions on the website you manage. The described solutions are designed to be implemented quickly and intuitively - just add the appropriate HTML tag in the appropriate place and load the JS script.

1. TSS PriceList

The TSS PriceList widget allows you to place the TatrySuperSki price list on your website, which is regularly updated by us. This way you can be sure that it will always be up to date, and you do not have to deal with changing it every time.

See, how price list looks like

1.1 Implementation

Implementing the price list is very simple:

A. In the place on the page where you want the price list to load, insert the HTML tag:

 <div id="tss-price-list-root" data-lang="en" data-ctrl-lang="false" data-ctrl-season="true" ></div> 

B. and add JavaScript to the appropriate section of the page

 <script type="module" src="https://tatrysuperski.pl/app/pricelist/tss-price-list.min.js" crossorigin="anonymous" async></script> 

C. that's all!

1.2 Additional configuration

At this point it is possible to dynamically change certain behaviors of the price list depending on the parameters passed to the HTML tag:

parametertype (default)description
data-lang "pl" | "en" | "sk" ("en") price list language
data-ctrl-lang boolean (false) enabling the control (dropdown) for changing the price list language
data-ctrl-season boolean (true) turning on the control (dropdown) for changing the season (high/low etc.) of the price list

1.3 Planned application development

At the moment, it is planned to add prices in euro so that the price list can also be placed on the websites of resorts where PLN is not the basic currency.

2. Planned applications

There are plans to add other applications - for example TSS Docs (working name), which will contain all regulations to be placed directly on the website. Currently, however, the specific details of the update are not yet known.