General modules
General modules are located in the tree menu for the Web and e-shop tab. These are the basic modules needed to create, maintain and update a website/e-shop.
Websites and e-shops book
In this book, it is possible to create and define any number of e-shops or websites. For each website/e-shop operated, we need exactly one record. Records in other books will then relate to it or use it. Here we define its basic data, its behaviour, delivery and payment options and other related data.
Website vs. E-shop
The basic difference between a website and an e-shop is that a website serves primarily as a company presentation. Contacts, an "About us" page, a company gallery, a catalogue of articles, etc. are inserted here. An e-shop option can also be included in a website. It is therefore a complex web application that serves as a company presentation with the option of an e-shop.
An E-shop serves primarily as an online store whose main purpose is selling articles.
On the Basic data tab, information about a specific website/e-shop is entered, and the tree structure of the categories of the given online store is displayed.

Picture: Websites and e-shops - Basic data book
General information - field description:
Name |
Name and identification of the e-shop or website. |
|
The icons show the licence with which the given e-shop is licensed (K2 e-shop, K2 premium e-shop, K2 marketplace). |
Customer |
Customer who is added to sales order when ordering article by unregistered user. |
Company |
Company for which the e-shop or website is created. |
URL |
URL address at which the e-shop (website) runs. The URL address value is also used to build the canonical URL address of the pages. A notation can be used in which the value is added before the current relative URL. If multiple domains use one e-shop, it can be redefined in the configuration file of the specific e-shop with the parameter $CONFIG['seo']['absoluteUrl']. |
Book of sales order |
Book in which sales orders will be created when a customer orders articles from the e-shop (website). |
Contract code |
Value that will be filled in the sales order when a customer orders articles from the e-shop (website). Note: If it is a sales order for a company (i.e. the registered user has an assigned partner), the Contract code from the customer (if filled in) is filled in the Contract code by default. |
Cost centre |
Default value that will be filled in the sales order header when a customer orders articles from the e-shop (website). |
Way of ordering |
Default value that will be filled in the sales order header when a customer orders articles from the e-shop (website). |
Shipping method |
Default value that will be filled in the sales order header when a customer orders articles from the e-shop (website). When the sales order is created successfully, this value is overwritten by the value from the order. |
Org. structure tree |
Tree of the organisational structure according to which the orders of logged-in users can be visible to and approved by superior units or users. The conditions are filtered as follows - first, the condition according to the selected filter is taken, next in order is the condition on the documents of the Contact person according to the org. structure; if neither a filter nor an organisational structure is entered, the documents are filtered according to the Contact person or Customer. |
Warehouse |
Summing warehouse from which information about the availability of articles in the e-shop (website) is displayed. |
Releasing warehouse |
Default delivery warehouse. When ordering article that is in stock, an unconfirmed release note for this article will be created from this warehouse. |
Type of el. address for email |
El. address type in which the e-mail entered by the customer is saved to the Contact persons card. |
Type of el. address for telephone |
El. address type in which the phone number entered by the customer is saved to the Contact persons card. However, for this type we recommend setting the format to UNKNOWN, so that customer registration is not blocked because the customer does not enter the so-called country prefix. |
Website and e-shop settings |
Settings of languages, currencies, addresses, prices, categories and other data. A more detailed description is in the chapter Settings of website and e-shop. |
List of categories
The table shows all categories that are used in this e-shop (website).
The Website and e-shop settings button opens the configuration in which supported languages, currencies, price groups and countries for delivery and invoice addresses can be defined for the website or e-shop. Furthermore, text pages can be assigned, the behaviour and appearance of the catalogue of articles or the cart can be set, as well as user account options, payment gateway settings, inserted page contents, analytical tools and much more.
On the Basic Settings tab, we define the default values, branches and administrators of the website or e-shop.
On the Default values tab, we define Supported languages and currencies, Countries for delivery and invoice addresses, Supported price groups and default values.

Picture: Website and e-shop settings - Basic Settings - Default values tab
Supported languages
All languages in which the website or e-shop can be displayed are inserted in this section. Actual languages are entered, not default ones. In the lower part of the form, we set the Default language of the website/e-shop. The language can then be switched in the header or footer of the website/e-shop - depending on the template.
Supported currency
All currencies of the website or e-shop in which article prices can be displayed, or in which purchases can be made in the e-shop or on the website, are inserted in this section. For each currency we also set the rate as the ratio of the domestic currency to one unit of the given foreign currency. For the set currencies and rates to be reflected in the e-shop, it is necessary to run the price recalculation. Currency rates for the website or e-shop are not taken from the exchange rate list in order to prevent possible speculation on exchange rate movements. In the lower part of the form, we set the Default currency of the website/e-shop. The currency can be switched in the header or footer of the website/e-shop - depending on the template.

Picture: Website and e-shop settings - Currency detail
|
Description of fields:
|
Countries for delivery addresses
In this section, we insert the list of countries to which articles can be delivered. When entering the delivery address on the website/e-shop, it will not be possible to select a country other than those from this list.
Countries for invoice addresses
This section is intended for defining the list of countries to which an invoice can be issued. When entering the invoice address on the website/e-shop, it will not be possible to select a country other than those from this list.
Supported price groups
This section is intended for specifying the price groups whose prices are to be loaded for the website/e-shop. Customers with a different price group will not see the articles on the website/e-shop.
Country of origin of delivery address |
Country that is automatically offered to the user when filling in the delivery address. |
Country of origin of invoice address |
Country that is automatically offered to the user when filling in the invoice address. |
Default web, e-shop language |
Language in which the data are automatically displayed if the user does not set another one. |
Default web, e-shop currency |
Currency in which prices are automatically displayed if the user does not set another one. |
Default category for category tree |
Root category that is superior to the whole tree structure of the categories into which the articles are sorted. |
Default language for text editing |
If filled in, the text edited in the HTML text editor is also saved in this language. |
Service category |
Selection of article categories that are used as service categories and cannot be found in the search engine. |
On this tab, we can enable the option of selecting a branch in the e-shop and assign own warehouses to the individual branches. The setting is necessary if we want to display stock levels for the individual branches on the website/e-shop. To activate this display, it is necessary to check the parameter Show stock levels of branches in the Catalogue of articles section on the Display card.

Picture: Website and e-shop settings - Basic Settings - Branches and own warehouses tab
Description of fields:
Branch selection enabled |
The Branches button is displayed in the e-shop header. After a branch is selected, the e-shop will display the availability of articles according to the stock level of the given branch. |
In the Branches of website, e-shop table, it is necessary to assign to all defined branches a warehouse from which the availability of articles in the e-shop will be loaded and from which goods will subsequently be released. If a branch does not have its own warehouse defined, the e-shop warehouse will be loaded. The value in the Order field specifies the order in which the branches will be displayed under the "Availability in branches" link.
For the individual branches, we can also enter a warehouse ID for Heureka; then, using the script Export XML feed for comparators, we can also export the stock level values for the branches to the availability XML.

Picture: Website and e-shop settings - branch warehouse setting

Picture: Selection of a branch in the e-shop
On this tab, it is possible to select, from the functional registrations in the e-shop, a registration that will automatically be able to edit page contents in the e-shop after logging in. Currently, it is necessary to set the registration RID in the config.php file: $CONFIG['editable'][] = '12811887484912'; //RIDs of persons allowed to edit from the frontend after login. The setting from config.php $CONFIG['editable'] will be cancelled in one of the next versions, and it will be sufficient to fill in the administrator only in the website and e-shop settings.

Picture: Website and e-shop settings - Basic Settings - List of website, e-shop admins tab
On the Display tab, we set everything that is to be displayed in the article detail, in the catalogue of articles and in the basket.

Picture: Website and e-shop settings - Display tab
Description of fields:
For article display
Abbreviation 1 in code |
Specifies whether Code: abbreviation 1 from the Article card is displayed among the header data in the article detail. |
Abbreviation 2 in code |
Specifies whether Code: abbreviation 2 from the Article card is displayed among the header data in the article detail. |
Alternative packing units |
Enables other stock units that have the Show in e-shop flag to be displayed on the article next to the stock unit. These units are displayed after clicking the icon next to the stock unit. |
Facebook button |
Enables the Share on Facebook button to be displayed in the article detail. |
"Original price" |
Enables the value of the Original price field from the Article card - Eshop tab to be displayed or hidden in the detail. |
Watch dog |
When enabled, this parameter allows the Watchdog function to be used in the e-shop. |
Free parameters |
When enabled, this parameter displays all parameters from the article card, so they will not be sorted according to the order from the classification. |
Energy labels |
When enabled, this parameter displays energy labels, which can be added to an individual article on page 9 in the attachments either in full size or as its class. It is also possible to add the Product information sheet as a document. |
Documents from the master card on article variant |
When enabled, this parameter also displays the documents from the master card on article variants. |
EAN with the "default" flag |
When enabled, this parameter displays only the default EAN. If the parameter is disabled, all EANs entered on the article card are displayed. |
For article catalog display
"with VAT" after the article price |
Specifies whether the text "with VAT" is displayed after the article price in the catalogue |
Quantity unit behind the article price |
Specifies whether the sales unit, e.g. "/pcs", is displayed after the article price in the catalogue |
"Original price" |
Not implemented in the catalogue; the original price is displayed only in the article detail (depends on the parameter of the same name in the Article detail section). |
Items with zero price |
Enables cards with a sales price = 0 to be hidden. If they are displayed, they can be added to the basket and handled like any other Article card. An exception to this condition are Article cards with the Transport or Payment flag - i.e. these are visible regardless of the price and this flag. After this flag is changed, Online store recalculation - Update article prices is necessary, because its setting affects the creation and deletion of records with zero price in the EsGoodsPrice table and thus the availability of these records in the Web and e-shop module. |
Stock levels of branches |
The flag enables the user to display in the e-shop, for a specific article, the stock levels of the individual branches defined in the Branches section by clicking the stock level icon (a question mark is displayed when hovering over this icon). A pop-up window is displayed with a textual expression of the stock levels of the individual branches, applying the alternative stock level texts specified on the given Article card. The setting is reflected in the catalogue and in the article detail. |
Actual stock levels |
The flag enables the Alternative texts for the stock status of articles set on the Article cards to be suppressed. Either the exact stock level number is displayed or, if the article is not in stock, the text "Not in stock (0 pcs)". The setting of this flag is also reflected when displaying the stock levels of branches. An overview of the displayed texts can be found in the chapter Articles - Display of availability texts. |
Use alternative texts for stock availability |
The option is available only after checking the "Actual stock levels" flag. If checked, the values from the Alternative texts and the Text for zero stock will be loaded for stock availability. |
Available quantity according to warehouse of the contact person |
If checked, the stock availability according to the warehouse set for the given contact person is taken into account. The available quantity according to the warehouse of the contact person is displayed as default. After clicking the Availability in branches detail, the availability according to the warehouses of the individual branches is displayed. The warehouse can be set for a contact person in the Registrations book on the Basic data tab. |
Available quantity regarding contract code |
If checked, the available quantity that is not blocked for another Contract code is displayed. Otherwise, the total stock availability is displayed. |
All prices without VAT (except the sum in the basket) |
When this parameter is enabled, all prices on the website/e-shop will be displayed without VAT. |
For cart display
"Your order number" in the 2nd step of the basket |
Displays in the 2nd step a field for a number that the customer enters themselves. |
"Send order in parts" in the 2nd step of the basket. |
Displays in the 2nd step the Send order in parts flag, which the customer can check. |
"Requested delivery date" in the 2nd step of the basket |
Displays in the 2nd step of the basket the option to enter the requested delivery date. |
Discount coupons |
In the 2nd step of the shopping basket, a field for entering a discount coupon is displayed. |
Only the cheapest variants of shipping method |
If there are several suitable deliveries for the e-shop with the same delivery method, only the one with the lowest price gets into the resulting list. |
Display for user accounts
Purchase data for anonymous users |
Specifies whether only a logged-in user, or also an anonymous customer without logging in, will be able to buy in our e-shop. |
Selection of invoicing partner (company). |
If this field is checked, the logged-in user can change the partner (if they have several assigned on the contact person) that will be the default for invoicing. If this field is not checked, the logged-in user cannot change the partner. Based on the setting of this option, the display of the logged-in user's documents in the e-shop changes:
|
Subscribe to newsletters |
When enabled, this parameter enables newsletter subscription to be displayed in the e-shop. |

Picture: Website and e-shop settings - Function tab
Description of fields:
Catalogue of articles
Quantity prices (discounts) |
If a customer who has a linked company (Partner on the Contact person) is logged in and this company has its own price for the displayed article, information about this quantity discount is also displayed to them in the article detail. Note: However, the quantity price is not reflected in the basket, in the order summary or in the sales order in K2, because the prices are transferred from the e-shop. If such a price is to be applied, it is necessary to recalculate the price on the given item. |
Add the main product image into gallery |
When enabled, this parameter displays the main picture in the product gallery. |
Default style of catalogue |
Sets whether the catalogue, i.e. the list of offered articles, will be displayed as tiles or as a list when the website/e-shop is displayed. Note: The Quick preview option is not implemented. |
Default sorting of article items |
Specifies which default sorting will be set when the website/e-shop is displayed. Note: In the case of the Recomm. ordering option, the customer can define the order of the items themselves on the Items tab in the "NewsPriority" column |
Firstly sort by stock availability |
The flag enables articles in the catalogue to be sorted according to their availability. Items that are available in stock will have priority. |
Forbid sale of available articles |
It will not be possible to put articles with this availability into the basket. |
Interval (number of days) for calculating the best-selling articles |
Number of days according to which the sales of articles are calculated (according to the Dvyst FV field). |
Include electrical waste fees |
When enabled, this parameter allows electrical waste fees to be displayed in the order summary. |
Calculate prices online |
Displays current prices from K2 in the catalogue and article detail without the need to run recalculations for the given article. However, this parameter does not affect filtering by price and sorting by price - recalculations must be run for these two actions. Before using online prices, it is advisable to run a complete recalculation; this recalculation does not calculate specific prices for the customer, it only calculates prices for price groups. |
Allow articles to display side by side as tiles |
When enabled, this parameter allows the selected display. |
Enable displaying of articles below as row list |
When enabled, this parameter allows the selected display. |
Enable to display articles underneath as quick preview without pictures |
When enabled, this parameter allows the selected display. |
Use promoactions
|
When enabled, this parameter allows promotions to be used in the e-shop.
|
Basket
Merge identical article items in the basket into one |
Merges identical article items or keeps them separate if the customer "buys" them gradually. |
Enable accelerated insertion of articles |
If checked, faster insertion of articles into the basket will be available in the e-shop. |
Max. quantity of one item in the shopping basket |
Specifies the maximum quantity of one (any) article that a customer can buy. |
Number of decimal places of the quantity in the shopping basket |
Determines the number of decimal places to which the quantity can be entered if the Integer unit flag is not set on the Article card. |
Load not completed invoice address from partner |
If checked and the invoice address is not filled in, it will be taken automatically from the partner's contact address. |
Add directly into basket
|
If checked, enables direct insertion of articles into the basket in the e-shop via a barcode reader, or by entering codes directly in the basket. It is used for direct sales in the e-shop (Note: the field BarCodeChild;BarCode must be added to the searched fields). |
Enable notes on cart items |
If checked, enables notes to items to be added in the first step of the basket in the e-shop. The note is then transferred to the Text tab on the sales item of the sales order. |
Do not split the item of payment and shipping according to VAT rates |
If checked, in the case of several VAT rates in the basket, the transport and payment item will not be split and will have the VAT from its article card. |
User accounts
Switch language and currency when user logs in |
Saves the currency and language settings in the logged-in user's profile. |
Activate registration by e-mail |
After registration, the e-shop sends the website/e-shop user an e-mail with a link to confirm the registration. By opening the link, the user confirms their registration, and the status of the registration changes in IS K2. Note: This function cannot be combined with the function "Enable registration before sending the order". These two functions are mutually exclusive and cannot be used at the same time. |
Confirm registrations manually |
The website/e-shop administrator changes the status and approves the registration in the registrations book manually. |
Enable to enter invoice address when registering a user |
Sets whether it will also be possible to enter an invoice address during user registration. |
Obligatory to enter the invoice address while registration of the user |
The flag enables / prevents the entry of invoicing data directly when registering a new user. |
Required to enter ID-No. in the invoice address |
Enforces mandatory entry of the Comp. Reg. No. in the invoice address during user registration. |
Enable registration before sending the order |
The function enables the customer to create a new registration before sending the order. After the registration is completed, the order is saved to the newly created user account. Note: The function cannot be used at the same time as the function "Activate registrations by e-mail". |
Loyalty program |
When enabled, this parameter allows the use of the loyalty program. |
Changes in registered information transfer also into contact person |
Changes of registration data in the e-shop (name, surname, e-mail and phone) are also transferred to the contact person in IS K2. We can be notified of these changes using a notification (action "Change of contact person data from e-shop"). |
Rights from user registration |
Enables the User roles for B2B e-shops function, see the chapter User roles for B2B e-shops. |
Default role for rights |
Role that will be assigned automatically:
If the Default role is not filled in, all registrations without an assigned role will have the default rights setting assigned. |
Login via soc. networks |
Used to configure logging in to the e-shop via external providers. Currently, logging in using a Google account is supported, see the chapter Logging in to the e-shop using a Google account. |
Password strength |
Specifies the required level of password complexity in the e-shop. If the password does not meet these requirements during registration or change, the user is notified and the system displays the unmet conditions. |
Sale to multiple countries
Mandatory selection of delivery country |
Enables the Sales to multiple countries mode. Checking this option makes available a menu in the e-shop page header for selecting the country and at the same time activates a mode in which VAT rates change and delivery and payment methods are filtered. |
Keep amounts without tax (calculate the amount with tax) |
Checking this option keeps the amount without tax and recalculates the amount with tax. If not checked, the price with tax is kept and the amount without tax is recalculated. |
Use Tax payer mode |
The Tax payer mode is typically used for sales to business customers (B2B eshop). It is described in more detail in the chapter VAT payer mode. |
Book of sale for tax payers' documents |
Book of sale in which these documents will be created. The book must be in the company's legislation, i.e. domestic legislation.
|
Type of tax within the EU |
Usually the type VE - Delivery of goods to the EU is used. |
Non-EU tax type |
Usually the type VZ - Export of goods is used. |
Group of countries for EU countries
|
This is a link to the group code list, which is filled in on the Basic data tab for the individual countries in the Countries code list. Using this field, we can distinguish which countries belong to the EU and which do not.
|
Comments, questions
Show comments/questions |
When enabled, this parameter displays the questions tab in the product detail. |
Show comments/questions without approval |
When enabled, this parameter displays questions only after approval by the administrator in the Comments from web module. Status for new question - add the NovyDotaz action. Status for answered question - add the OdpovedetNaDotaz action. E-mail template action for the e-mail with the answer - add the webCommentRespose action. |
Status for new question |
add the NovyDotaz action |
Status for answered question |
add the OdpovedetNaDotaz action |
Email template action for reply email
|
add the webCommentRespose action
|
Evaluation
Show ratings |
Activates the option of evaluating products in the eshop. |
||
Show new ratings without approval |
If the parameter is active, newly inserted evaluations are displayed in the product detail without the need for approval by the administrator. Otherwise, the evaluation is displayed only after approval. |
||
Repeated product evaluation |
Enables the same product to be evaluated repeatedly, for example after its next purchase. If the parameter is not active, the system does not allow repeated evaluation of a product. |
||
E-shop evaluation |
Allows the evaluation of the e-shop as a whole via a superform. |
||
External document type for pictures
|
Specifies the document type (e.g. PICTK2) that is used for saving photos attached to an evaluation. For the photos to be displayed in the e-shop, they must also be available in the website pictures folder. |
||
Templates for e-mails |
|
||
|
E-mail template action for sending an evaluation |
Specifies the e-mail template action for sending a request to evaluate a product or the e-shop. E.g. Rating. |
|
|
E-mail template action for sending a voucher for an evaluation |
Specifies the e-mail template action for sending a confirmation of the evaluation and a possible reward in the form of a voucher. E.g. RatingConfirm. |
|
|
E-mail template action for rejecting an evaluation |
Specifies the e-mail template action for sending a notification of the rejection of an evaluation. The e-mail is sent only when an evaluation is rejected manually, not when it is assessed automatically using AI. E.g. RatingDeny. |
|
|
E-mail template action for rejecting an evaluation with a correction link |
Specifies the e-mail template action for sending a notification of the rejection of an evaluation with a link through which the customer can edit their evaluation. |
|
Evaluation statuses |
Used to assign statuses that determine whether an evaluation has been approved and can be displayed in the e-shop. The following statuses must be set: |
||
|
Evaluation status No rating |
The evaluation has not yet been assessed and is waiting for approval. |
|
|
Evaluation status Approved |
The evaluation has been approved and can be displayed in the e-shop. |
|
|
Evaluation status Not approved |
The evaluation has been rejected and is not displayed in the e-shop. |
|
E-mail request for evaluation |
Activates the automatic sending of an e-mail request for evaluation after a purchase. |
||
AI settings
|
AI moderation is used for the automatic assessment of customer evaluations in the e-shop. For it to run regularly, it is necessary to create a scheduled task with the script EshopWebRatingAIModerateBatch.pas. The recommended run interval is every 15–30 minutes.
The script processes only evaluations that are in the workflow status Waiting for AI.
Based on the result of the AI moderation, the evaluation is:
AI never rejects evaluations automatically. Evaluations that do not meet the conditions for automatic approval must be assessed by a user. Moderation can also be run manually over a specific evaluation using the script EshopWebRatingAIModerate.pas. |
||
|
AI login |
Specifies the login to the AI model that will be used for the moderation and summarisation of evaluations. For example, the Gemini model or a local model via an OpenAI-compatible interface can be used. |
|
|
AI moderation of evaluations |
Activates the automatic assessment of evaluations using AI. The moderation is performed via a scheduled task. |
|
|
AI template for moderation |
Specifies the template with instructions (prompt) according to which the AI assesses the individual evaluations. |
|
|
AI summarisation of evaluations |
Activates the creation and display of a summary of customer evaluations using AI in the product detail. |
|
|
AI template for summarisation |
Specifies the template with instructions (prompt) according to which the AI creates a summary of customer evaluations. E.g. WebRatingSummary. |
|
|
Max. number of evaluations per 1 moderation run |
Specifies the maximum number of evaluations that can be processed during one run of the scheduled task for AI moderation. The default value is 50. |
|
|
Minimum AI score for automatic approval |
Specifies the minimum score that an evaluation must reach to be approved automatically using AI. The value is entered in the range 0 to 1, where 1 represents the highest score. When using the default template, which returns only the values 0 and 1, it is recommended to set the value 1. |
|
Rewards |
|
||
|
Rewards for evaluations |
Activates the option of rewarding customers for evaluating products or the e-shop. |
|
|
Definition of rewards |
Specifies the type of reward for an evaluation (e.g. a discount coupon) and the specific reward that will be provided to the customer. |
|
|
Max. number of rewards per contact for period |
Specifies the maximum number of rewards that one customer can receive during the specified period. The value 0 means an unlimited number of rewards. |
|
|
Length of period for the limit (days) |
Specifies the length of the period in days for which the maximum number of rewards provided to one customer is monitored. |
|
|
Min. order value |
Specifies the minimum order value from which a customer can receive a reward for an evaluation. The value 0 means that no minimum order value is set. |
|
Waiting period for evaluation (days) |
Specifies the number of days from the purchase after which the e-mail request for evaluation is sent to the customer. The value 0 means sending without a waiting period. |
||
Validity of the link in the e-mail request (days) |
Specifies the validity period of the link to the evaluation superform that the customer receives in the e-mail request. |
||
Max. age of order for evaluation (days)
|
Specifies the maximum age of an order in days during which it can be evaluated. After this time has elapsed, it is no longer possible to evaluate the order.
|
||
News category
News categorie for customer messages |
Link to the category of news modules that will be displayed in the messages to customers section. |
News category in user profile
|
Link to the category of news modules that will be displayed in the user profile.
|
Withdrawal from the contract
Enable withdrawal from the contract |
When enabled, this parameter displays the Withdraw from contract button in the e-shop. A more detailed description is in the chapter Withdrawal from the contract. |
Number of days for withdrawal from the contract |
Specifies the period during which the customer can withdraw from the contract. The default value corresponds to the statutory period of 14 days, but it can be increased according to the terms and conditions. The period is counted from the day the customer receives the goods. |
Number of days for delivery of goods |
Used if the e-shop does not take over delivery information from the carrier. After the set number of days has elapsed, the system makes the option of withdrawal from the contract available. |
Action for confirming receipt of the withdrawal from the contract |
Here we select the action for sending e-mails. The Withdrawal action ensures that a confirmation is sent to the customer automatically.
|
Other
Zásilkovna API key |
Field used to configure Zásilkovna (Packeta) for the e-shop. |
PPL widget API key |
API key for activating the PPL 2.0 widget in the e-shop. If the field is not filled in, the original version of the PPL widget is used. |
Allow complaints |
When enabled, this parameter allows complaints to be entered directly in the e-shop. A more detailed description is in the chapter Complaints in the e-shop. |
Use Google maps |
If checked, Google maps will be used in the e-shop. As this is a paid service, it is necessary to enter the Google maps API key. |
Use Mapy.cz |
If checked, Mapy.cz will be used in the e-shop. As this is a paid service, it is necessary to enter the Mapy.cz API key. Note: If neither the Use Google maps option nor the Use Mapy.cz option is checked, OpenStreetMap maps will be displayed. |
reCaptcha
Use reCaptcha |
When enabled, this parameter makes the reCaptcha functionality available. |
Public key |
Public key for the reCaptcha functionality. |
Privat key |
Private key for the reCaptcha functionality. |
User score |
Option to set your own threshold score for evaluation (1.0 is very likely a good interaction, 0.0 is very likely a bot). The default score is set to 0.7. |
The Pages tab contains Pages settings and Configuration of specific pages.
The Pages settings tab is intended for editing the general properties of the website/e-shop.

Picture: Website and e-shop settings - Pages - Pages settings tab
Description of fields:
Default page title* |
The text is filled in primarily from the page currently being viewed (i.e. from the text page, article category, product, news item,...) from the Meta title field. If this field is empty, the title is filled in from the Main heading field. If neither of the previous two options is filled in, the title is taken according to this pages setting. Empty - the page title will be empty Take from homepage - the page title is displayed as the Meta title is set for the homepage. Take from text page - the page title is taken from the Meta title field of the selected text page (see the row below - Default page title - page). |
||
|
Default page title - page* |
Text page from which the Meta title is taken. Text from the Main heading field is no longer substituted. |
|
Default page description* |
The text is filled in primarily from the page currently being viewed (i.e. from the text page, article category, product, news item,...) from the Meta description field. If this field is empty, the description is filled in from the Short description field. If neither of the previous two options is filled in, the description is taken according to this pages setting. Empty - the page description will be empty. Take from homepage - the page description is displayed as the Meta description is set for the homepage. Take from text page - the page description is taken from the Meta description field of the selected text page (see the row below - Default page description - page). |
||
|
Default page description - page* |
Text page from which the Meta description is taken. Text from the Short description field is no longer substituted. |
|
Default page key words* |
The text is filled in primarily from the page currently being viewed (i.e. from the text page, article category, product, news item,...) from the Key words field. If the key words are not filled in, the description is taken according to this pages setting. Empty - the key words will be empty. Take from homepage - the key words are displayed as they are set for the homepage. Take from text page - the key words are taken from the Key words field of the selected text page (see the row below - Default page key words - page). |
||
|
Default page key words - page* |
Text page from which the Key words are taken. |
|
Automatically add name after page title* |
Option to add a name after the page title. No - no name will be added after the page title Web name - the name of the website will be added after the page title (the Name field from the Basic data of the Websites and e-shops module) Own text - own text will be added after the page title (see the row below Automatically add name after page title - own text). |
||
|
Automatically add name after page title - own text* |
Wording of the own text that is to be added after the page title. This text is the same for all languages. |
|
*Note: Affects the SEO values of the website. The content of these fields is only part of the page code for robots. They are not displayed to an ordinary e-shop/website user, but they can significantly affect website traffic if they are set correctly.
This section contains a list of Text pages necessary for full use of the website/e-shop functionality. For some of them, their text is displayed (e.g. Contacts); some serve only to create a link to a page whose content is generated automatically (e.g. Basket). The list of pages is divided into blocks.

Picture: Website and e-shop settings - Pages - Configuration of specific pages tab
Description of blocks:
Basic pages |
Pages that are the default for the basic view of the e-shop. |
User options |
Pages enabling registration, login and logout, as well as other options of the logged-in user. |
Documents |
Pages necessary for displaying lists and details of individual documents. |
Used flags on articles |
Pages with a list of articles that have individual flags set. From the pages of this block, we can then select in the Bookmarks section those that will be displayed as bookmarks on the home page. |
The Tags tab is used to set tags for the e-shop. Tags are used to mark products according to selected properties (e.g. New in, Sale, Free shipping, etc.) and help customers find their way around the offer of articles more easily.
In this section, all tags that will be used in the e-shop are set. The display order can be changed using the keyboard shortcut Ctrl + Shift + up / down arrow. If an article has several tags assigned in the same position, they will be displayed in this order.

Picture: Website and e-shop settings - Tags tab - E-shop tags
For each tag, it is possible to set its own text page, on which we will see a list of all articles with the given tag. By checking the Free shipping option, free shipping will be applied to all articles that have the given tag assigned. If we want to be able to filter articles on this page, we must set Parameters for filtering.

Picture: Label
On this tab, we select the tags that will be displayed on the home page of the e-shop.

Picture: Website and e-shop settings - Tags tab - Home page tags
We create and edit individual tags in the Tags module. The E-shop tags book is also available from the tree menu Websites and e-shops / Interfaces / E-shop tags.
List tab
On this tab, we see a list of all created tags.

Picture: Tags - List tab
Basic data tab
On the Basic data tab, we define the name and description of the tag (including language versions), display style, colour and validity.

Picture: Tags - Basic data tab
Article tab
On the Article tab, we see all article cards that have the given tag assigned.

Picture: Tags - Article tab
Datum validity tab
On the Datum validity tab, we enter articles that we want to display for the given promotion (tag) only after some time. We assign the articles to the promotion in advance, entering the validity (from when to when they are to be displayed). It is possible to assign a specific article or a product key here. The script Eshop_ActualizeTags.PAS (which is advisable to run as a scheduled task) goes through the tags, finds out whether any date validity applies and applies the definition = assigns/removes the tag to/from all defined article cards.

Picture: Tags - Datum validity tab
Links tab
Here we can assign a link to the tag, e.g. a picture.

Picture: Tags - Links tab
The Documents, records tab contains a total of 4 tabs: Display documents, Configure records statuses, Records types settings and Settings of email actions.
After logging in to the website/e-shop, a registered user has various documents available, such as orders from the website/e-shop, invoices, etc. By configuring the options in this section, it is possible to influence which documents are displayed to the user.

Picture: Website and e-shop settings - Documents, records - Display documents tab
Description of fields
Show documents acc. to customer |
If checked, the documents of the currently logged-in Partner (Suppl./Cust.) are displayed. If not checked, the documents in which the logged-in user is specified as the contact person are displayed. However, it also depends on the setting of the option "Selection of invoicing partner (company)". If it is not checked, all documents in which the logged-in user is specified as the contact person are always displayed (in this case the option "Show documents acc. to customer" has no meaning). |
Show documents created outside of e-shop |
The logged-in user is also shown documents that are not related to the website/e-shop but are recorded in IS K2 in connection with the logged-in user. |
Default period for documents (30 days ago) |
Option to display documents in the e-shop only for the last 30 days. |
Filter for sales orders |
Option to assign a defined filter of sales orders that is to be displayed to logged-in users. |
Filter for invoices |
Option to assign a defined filter of invoices that is to be displayed to logged-in users. |
Filter for deliver notes |
Option to assign a defined filter of delivery notes that is to be displayed to logged-in users. |
Filter for sales items |
Option to assign a defined filter of sales items that is to be displayed to logged-in users. |
In this section, we determine the statuses in which various records can be. If the payment status Not paid or Waiting for payment is set on an order, the Pay button is displayed for the order. Statuses of other records are not yet implemented.

Picture: Website and e-shop settings - Documents, records - Configure records statuses tab
Description of blocks
Sales order status
Records link a specific sales order status with the option of approving the order on the website/e-shop. If the status "to approve" is set on the sales order and the specific text page Orders to approve exists, the Approve button is displayed for the given order in the e-shop.
Note: setting the sales order status, as well as the behaviour of the sales order after pressing the Approve button, is exclusively a matter of special modifications. The standard only allows that button to be displayed for specific records.
Query states
Type of activity that is to be created when the Ask us function is used (an eshop customer enters a new question) and during the subsequent processing of this question.
The setting of this section is necessary if we want to use the options of nested text pages. It determines in what form a nested text page is displayed on the parent page.

Picture: Website and e-shop settings - Documents, records - Records types settings tab
Another option is setting the type of documents for downloading from page 9 of documents directly from the website/e-shop. If a document, customer or contact person in IS K2 has a document saved on page 9 in a folder of the given type, it will be available for download on the website/e-shop.
If the logged-in user's sales order has this document type assigned on page 9, it will be available for download from the document directly on the website/e-shop.
Description of fields
Attachements types
Document file of documents |
Folder for documents to download from the logged-in user's documents |
Customer documents |
Folder for documents to download from the customer information of the logged-in user (the customer to which the contact person is assigned after registration) |
User documents
|
Folder for documents to download from the logged-in user
|
Text layer banners styles
Text layer at the top left |
Position of the text layer in the banner |
Text layer at the middle left |
Position of the text layer in the banner |
Text layer at the bottom left |
Position of the text layer in the banner |
Text layer at the top right |
Position of the text layer in the banner |
Text layer at the middle right |
Position of the text layer in the banner |
Text layer at the bottom right |
Position of the text layer in the banner |
Text layer at the middle top |
Position of the text layer in the banner |
Text layer in the middle |
Position of the text layer in the banner |
Text layer at the middle bottom |
Position of the text layer in the banner |
This tab is intended for setting e-mail sending actions. If they are set correctly, predefined e-mails can be sent automatically to website/e-shop users. The Email templates book (book no. 1021) is intended for this purpose; it is both the place where these e-mail templates are created and a register of all templates created so far. If no own templates are defined, those prepared in advance by the system can be used. These templates are supplied with the installation and can be found in the Supportfiles\EmailTemplates folder. Before starting to use the templates, it is necessary to import them, or import them again if they are corrected.
E-mails are sent using the task scheduler. If a user on the website/e-shop performs an action for which an e-mail sending action is defined, such as registration on the website/e-shop, a task is generated in the Scheduled task manager and is then sent to the given person through the system. A necessary condition for e-mail sending to work correctly is the correct configuration of the mail account of the AS user through which the e-mails will be sent.

Picture: Website and e-shop settings - Documents, records - Settings of email actions tab
Description of fields
Sending registration confirmation |
A user who registers on the website/e-shop receives a notification of the registration on the website/e-shop at the e-mail address under which they registered. |
Email authorization |
If the website/e-shop is set so that a user who registers on the website/e-shop must authorise their registration by e-mail, an authorisation e-mail is generated using this action. |
Sending forgotten password |
For a user who sends a forgotten password request, the system generates an e-mail for entering a new password. |
Send order confirmation |
After the user completes an order, the system generates an e-mail with the order summary. |
Send confirmation of preparation of the offer |
Provided that the website/e-shop is also set for quotation mode, if the user is logged in in quotation mode, the system generates an e-mail with the quotation summary after the order is completed. |
Send confirmation of info subscription |
A user who agrees to receive information and offers from the website/e-shop receives an e-mail notifying them of this fact. |
Send watchdog notification |
If the article watching function is used on the website/e-shop (the Watch dog can be displayed in the e-shop via Website and e-shop settings on the Article detail tab), the system generates an e-mail sending a notification about a change in the status or price of the given article. |
For a website or e-shop, we can set up searching in two ways – using the Smart Search function or via searched fields.
The option to use Smart Search is available only if Elasticsearch technology is available. Details of the configuration can be found in the Technical documentation.
Otherwise, only the setting of searching in searched fields is available.

Picture: Website and e-shop settings - Searching - Search settings tab
The Search without query function is used to set the behaviour of the default autocomplete at the moment when the user has not yet entered any search query. Even before the search itself starts, the autocomplete offers the user predefined suggestions that we set in K2. The autocomplete can offer the user:
- products with a specific tag (e.g. We recommend)
- keywords,
- categories,
- brands.
This function increases the usability of searching and makes it easier to find one's way around the e-shop offer already at the first contact with the search field. We activate the Search without query function by checking the option Display suggestions for empty search engine.
If Elasticsearch technology is not available, we can use the values in selected fields to search for articles on the website or e-shop. We set the fields by which searching will be performed on the Searched fields tab. For performance reasons, we can set only physical fields of the String data type. CLOB fields and fields of other data types cannot be used.
Searching by Article number is performed automatically, so we do not add it to the searched fields. Likewise, other numeric fields cannot be entered here because of their unsuitable data type.

Picture: Website and e-shop settings - Searching - Searched fields tab
The Smart Search settings section offers the option to check a choice requiring the autocomplete to search in the e-shop on the full page with search results.

Picture: Website and e-shop settings - Searching - Smart Search settings tab
The Elasticsearch indexes settings button opens the configuration of Elasticsearch indexes. A more detailed description of the Smart Search settings is in the Technical documentation, chapter E-shop settings in the K2 system.
The Analytical tools tab contains 2 tabs: Configuration of analytical tools and Settings of embedding page content.
On this tab we define the data needed to use the individual analytical tools:
- Google Analytics 4,
- Google Tag Manager,
- Google Merchants,
- Heureka.cz / Heureka.sk,
- HledejCeny.cz,
- Zbozi.cz,
- Sklik.cz,
- Facebook.com.

Picture: Website and e-shop settings - Analytical tools - Configuration of analytical tools tab
K2 e-shop supports the following GA events:
- login
- sign_up
- add_payment_info
- add_shipping_info
- add_to_cart
- begin_checkout
- purchase
- remove_from_cart
- select_item
- view_cart
- view_item
- view_item_list
- error
- search_result_custom
- add_to_wishlist
List of data layers:
login
{
event: 'login',
ecommerce: {
method: "email"
}
}
sign_up
{
event: 'sign_up',
ecommerce: {
method: "email"
}
}
add_payment_info
{
event: 'add_payment_info',
ecommerce: {
currency: "CZK",
value: "127574",
payment_type: "In cash",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
add_shipping_info
{
event: 'add_shipping_info',
ecommerce: {
currency: "CZK",
value: "127574",
shipping_tier: "Czech Post - to hand",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
add_to_cart
{
event: 'add_to_cart',
ecommerce: {
currency: "CZK",
value: "221074",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
begin_checkout
{
event: 'begin_checkout',
ecommerce: {
currency: "CZK",
value: "221074",
items: [
{
item_id: "553",
item_name: "Cannondale Flash 26 Carbon 2",
price: "110000",
item_brand: "Cannondale",
item_category: "Mountain bikes",
quantity: "1",
index: "2"
}, {
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "3",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
Purchase
{
event: 'purchase',
ecommerce: {
coupon: "promotion 12640088752151",
affiliation: "Online store DEMO K2",
currency: "CZK",
transaction_id: "ES/2023/25",
shipping: 74,
value: 221074,
tax: 46426,
payment_type: "CASH PAYMENT",
shipping_tier: "SHIPPING CP DR",
items: [
{
item_name: "Cannondale Flash 26 Carbon 2",
item_id: "553",
quantity: "1",
item_brand: "Cannondale",
index: "0",
item_category: "Mountain bikes",
price: "110000"
}, {
item_name: "Cannondale Flash 29 carbon 1 red",
item_id: "557",
quantity: "1",
item_brand: "Cannondale",
index: "1",
item_category: "Hardtail mountain 29 Cannondale",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes",
price: "150000"
}
]
}
}
remove_from_cart
{
event: 'remove_from_cart',
ecommerce: {
currency: "CZK",
value: "93574",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
select_item
{
event: 'select_item',
ecommerce: {
currency: "CZK",
value: "93574",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
view_cart
{
event: 'view_cart',
ecommerce: {
currency: "CZK",
value: "221074",
items: [
{
item_id: "553",
item_name: "Cannondale Flash 26 Carbon 2",
price: "110000",
item_brand: "Cannondale",
item_category: "Mountain bikes",
quantity: "1",
index: "2"
}, {
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "3",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
view_item
{
event: 'view_item',
ecommerce: {
currency: "CZK",
value: "221074",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
error
{
event: 'error',
ecommerce: {
result_search: "Found",
type_search: "autocomplete",
result_found_count: 11,
label_search: "cannon",
value: 1
}
}
view_item_list
{
event: 'view_item_list',
ecommerce: {
currency: "CZK",
value: "221074",
item_list_id: "sliderFlagTip",
item_list_name: "Recommended articles",
items: [
{
item_id: "553",
item_name: "Cannondale Flash 26 Carbon 2",
price: "110000",
item_brand: "Cannondale",
item_category: "Mountain bikes",
index: "0",
quantity: "1"
}, {
item_id: "556",
item_name: "Cannondale Flash 29 2",
price: "59999",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
index: "1",
quantity: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}, {
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
index: "2",
quantity: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
search_result_custom
{
event: 'search_result_custom',
ecommerce: {
result_search: "Found",
type_search: "autocomplete",
result_found_count: 11,
label_search: "cannon",
value: 1
}
}
add_to_wishlist
{
event: 'add_to_wishlist',
ecommerce: {
currency: "CZK",
value: "221074",
items: [
{
item_id: "557",
item_name: "Cannondale Flash 29 carbon 1 red",
price: "150000",
item_brand: "Cannondale",
item_category: "Hardtail mountain 29 Cannondale",
quantity: "1",
index: "1",
item_category2: "Hardtail mountain 29",
item_category3: "Mountain bikes"
}
]
}
}
The following events are recorded:
- Purchase
- AddPaymentInfo
- AddToWishlist
- AddToCart
- CompleteRegistration
- ViewContent (when displaying a product list and a product)
- InitiateCheckout
- Search
On this tab, we can add our own measuring or analytical code to the page code, into the HEAD section or at the beginning / end of the Body section for:
- all pages (Measuring / analytical code for all pages),
- the home page,
- shopping basket pages,
- the Order completion page,
- pages with the catalogue of articles,
- pages with the article detail.
For better clarity, these pages are divided into 3 sub-tabs - General / Basket, order / Article.

Picture: Website and e-shop settings - Analytical tools - Settings of embedding page content tab
The Payments tab contains 2 tabs: Payment gateways and Instant payment.
On the Payment gateways tab, we set the specific data and values of the payment gateways so that we can use them for payment, i.e. so that the customer can pay for the order, e.g. by card online. If the customer chooses payment via payment gateways in the e-shop, the field I want to enter invoicing data for documents is checked automatically, without the possibility of unchecking it. It will be necessary to fill in the relevant fields - address data.

Picture: Website and e-shop settings - Payments - Payment gateways tab
The supported payment gateways for K2 e-shop include:
- PayPal
- GoPay
- GP Web Pay
- HeidelPay
- ComGate
Each payment gateway has differently named login data. They usually consist of an identification number and a password + any other required data. For a payment via a payment gateway, an invoice out or an advance received is created after it is completed (advance received is set as the default). The payment will be credited to the book of internal documents.
Description of fields:
Create the Invoice Out after payment |
The invoice is created only after the order has been paid. The variable symbol from the sales order serves as the payment identification for payment gateways. A prerequisite is to have the generation of the variable symbol on the sales order set in the books of sale. After payment, the variable symbol from the sales order is copied to the invoice, and if the option "Use advance/sales order VS for payment identification" is checked, the variable symbol is also written to the OnlinePaymentId field on the internal payment document. |
Create the Invoice In after payment |
The advance is created immediately when the order is sent. The variable symbol of the advance is read and sent directly to the payment gateway as the payment identification. After the payment is completed on the payment gateway and the user is redirected back to the e-shop, an internal document is created in K2 with which the advance is paid, and if the option "Use advance/sales order VS for payment identification" is checked, the variable symbol is also written to the OnlinePaymentId field on the internal payment document. The script for bank statements can then match on this field. |
Use Ref. number of advance/sales order to identify the payment |
When checked, the variable symbol of the advance/sales order is written to the OnlinePaymentId field in the internal document. |
How the payment gateway works
Every customer who wants to use a payment gateway in the e-shop must first create an account with the selected payment gateway (GoPay, PayPal, GP Web Pay, HeidelPay or ComGate). The customer is then assigned the necessary data for testing and for live operation. First, it is necessary to try out the test environment, i.e. to perform several different scenarios with payment via the selected payment gateway in the e-shop. If everything is fine, it is possible to switch to live operation.
(Note: do not forget to change the settings in the website and eshop configuration - uncheck the testing option and replace the test data with the data for live operation.)
Newer version of the REST API for communication with GoPay
When switching from an older version, it is necessary to request the data for the new API (ClientID and ClientSecret) from GoPay. Then it is enough to check the option Use GoPay REST API (v3) and fill in the assigned ClientID and ClientSecret.
The SecureKey is no longer needed in the new version.
Example: GoPay payment in the e-shop
As soon as an order is placed in the e-shop and GoPay is selected as the payment method, the Pay order button is displayed in the order completion.

Picture: Order completion in the e-shop - Pay order
After clicking the Pay order button, a form for selecting the payment method is displayed, followed by a form for selecting the bank. When we have selected both the payment method and the bank, we click the Internet banking button. A form for confirming the payment is then displayed.

Picture: GoPay - selection of payment method

Picture: GoPay - selection of bank
Picture: GoPay: Test environment - Pay
If the payment was successful, the payment gateway informs the e-shop that everything is fine and the page is redirected back to the e-shop.
In IS K2, an advance received (or a new invoice) is created for the sales order, which is automatically paid by an internal document.
(Note: before the order is paid, the invoice must not exist in the K2 system, otherwise an error occurs.)
If the payment was not successful, e.g. due to lack of funds, or if we want to pay later, the Pay order button is available for the given order in the list of orders. As soon as the order is paid, the button is no longer displayed.
Note: The notification URL address for GoPay for a template e-shop is /gopaynotify (example https://demoshop.k2.cz/gopaynotify). This address is entered in the GoPay account. The procedure for setting up payment http notifications for GoPay can be found on the GoPay website https://help.gopay.com/cs/tema/caste-dotazy-faqs/dotazy-k-integraci-platebni-brany/jak-nastavim-http-notifikace.
Setting up the ComGate payment gateway
The initial phase of setting up the payment gateway with ComGate is establishing contact and concluding a business cooperation agreement.
After obtaining the access data and logging in to the ComGate client portal, it is important to set up the shop connection.
The first step is to enter the section Integration – Shop settings – Shop connection.

Picture: Shop settings
Pressing the pencil symbol allows all necessary data to be edited in the editing environment.
This section contains important data that needs to be inserted into the e-shop settings in K2. These are the Shop connection identifier and Password. These data are unique and are generated separately for each customer.

Picture: Edit shop connection
It is essential to enter the URL addresses correctly, where "demo.k2.cz/web" must be replaced by your own domain. The URL address therefore consists of your own domain, and the rest of the text needs to be copied, see below.
URL suffixes:
URL paid |
…/comgatenotify/?id=${id}&refId=${refId}&status=PAID |
URL cancelled |
…/comgatenotify/?id=${id}&refId=${refId}&status=CANCELLED |
URL pending |
…/comgatenotify/?id=${id}&refId=${refId}&status=PENDING |
URL for passing the payment result |
…/comgatenotify/ |
The URL addresses are unique for each e-shop only in the change of your own domain. It is also necessary to enter the IP address of your e-shop in the ComGate administration.

Picture: Entering URL addresses - final state
Setting up the payment gateway in K2
1. First, it is necessary to set the article identifier, non-stock item and stock unit in the Article book, on the Basic data tab.

Picture 1: Basic data in the Article book
Furthermore, on the E-shop tab it is necessary to assign the service article categories for your e-shop and check the Payment field, which specifies that this is an Article card representing a payment.

Picture: Example of setting the article category for the e-shop
2. In the second step, we set up the Payment for e-shop (Web and e-shop/General modules/Payments for e-shop). On the Basic data tab, we fill in the Abbreviation and Name fields, assign the Article (see step 1) and select the Payment method (Comgate). Furthermore, we assign the relevant payment gateway to the payment. We can also assign a specific payment method and thus save the e-shop user the first step of selecting the payment method after switching to the payment gateway.

Picture: Payment setting for the eshop - final state

Picture: Payment method settings
3. The third step is setting up combinations of shipping methods and payments in the Websites and E-shops book, Shipping methods and payments tab. In this section, the possible combinations of shipping method and payment method with the ComGate payment gateway are assigned. It is necessary to group here all combinations that are to be offered in the shopping basket. Shipping methods and payment methods are selected from the methods defined in advance in the Shipping method and Payment method books.

Picture: Setting up combinations of shipping methods and payments
Web and e-shop settings
We set up the payment gateway and its identifiers in the Website and e-shop settings, in the Payment gateways section. Here we define all payment gateways used that will be used in the e-shop. We check the option Use ComGate payment gateway. Here it is necessary to fill in data such as Identifier of shops connection and password, which were assigned through the conclusion of a business agreement with ComGate. We also select the Book of internal documents here and confirm the entered data.

Picture: Website and e-shop settings - Payment gateways
Test mode
If we have the data needed for testing, it is necessary to check the Test mode field in the website and e-shop settings configuration, and it is a good idea to test the payment gateway by performing several different scenarios with the selected payment gateway in the basket. No payment transactions are performed in test mode. (Note: for a preview of the test provider, see the chapter How the payment gateway works).

Picture: Checking the Test mode field
If everything is fine, it is possible to switch to live operation. When switching to the production gateway, do not forget to change the settings in the website and e-shop configuration – uncheck the Test mode option and replace the data with the data for live operation.
How the payment gateway works
As soon as an order is placed in the e-shop and ComGate is selected as the payment method, the user is automatically redirected in the order completion to a form for selecting the bank.

Picture: Order completion in the e-shop

Picture: ComGate - selection of bank
In test mode, the last step is the ComGate test provider, where the required step for testing the payment result can be selected.

Picture: Test provider - payment testing

Picture: Website and e-shop settings - Payments - Instant payment tab
Description of fields
Allow immediate payment |
Switches the e-shop to field direct sales mode - orders are paid directly on the spot. At the end of the ordering process, an invoice is created, which is at the same time paid by a cash document. For the process to be successful, the selected payment method must have the "Instant payment" option checked in the Basic data. |
Here we set the report and its parameters for generating a .pdf at the end of the ordering process. File must be selected as the export target. If invoices are to be generated to a file in .pdf format, their generation must be set up using the PDFregistertool tool, which is located in every K2 directory.
On this tab, we define whether quotations/requests can be created in the e-shop and other related settings.

Picture: Website and e-shop settings - Quotations
Description of fields
Enable creating offers from web, e-shop |
Option whether it will be possible to create quotations in the e-shop. |
Book of quotations |
Book of quotations in which the quotation is saved in IS K2 after it is created in the e-shop. |
Customer Approval Status |
Customer Approval Status |
Filter to display quotations |
Setting of the quotation filter definition that is to be displayed to the user after logging in in the list of quotations. |
Use the catalog price as the default price for quotations |
If checked, the catalogue price will be taken as the default price and the customer's current price will be set as the "quotation price", i.e. the article will already have a discount set after being added to the quotation basket. |
List of offers |
Definition of the text page "List of offers". The text page must be assigned if the option "Enable creation of quotations from website, e-shop" is checked. |
Quotation detail (text page) |
Definition of the text page "Quotation detail". The text page must be assigned if the option "Enable creation of quotations from website, e-shop" is checked. |
On the Items tab, in the E-shop articles table, the e-shop articles are calculated according to their sold quantity using recalculations and by checking the option "Recalculate goods statistics". Each item can be deleted from the list with the DELETE key.
Besides the information on the quantity of articles sold, there are two editable columns here: "Sold articles priority" and "New features - priority".
Sold articles priority - the value multiplies the "Sold quantity", i.e. the resulting best-selling articles are influenced not only by the sales themselves but also by this coefficient.
New features - priority - the values enter into the "Recommended" sorting. In the website and e-shop settings, on the "Catalogue of articles" tab, it is necessary to set sorting by this field.
In the Exposed article table, the articles that are currently assigned to the e-shop are calculated using a recalculation, but this depends on the currently logged-in registration. It is possible to display articles according to parameters (company, price group, currency).

Picture: Websites and e-shops - Items
Combinations of shipping method and payment method are assigned to a specific website / e-shop in the Web and e-shop book on the Shipping methods and payments tab. On this tab, it is necessary to create all combinations that are to be available to customers in the shopping basket.
Shipping methods and payment methods are selected from the methods defined in advance in the books:
- Shipping methods for e-shop
- Payments for e-shop
For individual combinations of shipping method and payment, the following can be set:
- default combination - specifies which combination of shipping method and payment will be automatically checked in the shopping basket
- display order in the shopping basket - the order of the combinations can be changed using the grey + and grey - keys on the numeric keypad
- amount limit - enables the definition of the maximum order amount up to which the given combination of transport and payment is offered.

Picture: Websites and e-shops - Shipping methods and payments
In the combination definition, it is also possible to check the option "Use for unsuitable combination of transport and payment". If the option is checked, this combination is always offered on the website/e-shop, even if the basket contains articles with a restriction on the parcel type, weight or transport method.

Picture: Shipping methods and payments
The Parameters tab is intended for special modifications of the website/e-shop and is not used in the standard. The user (Administrator) can define their own parameters, e.g. password length, which are incorporated in special modifications.

Picture: Websites and e-shops book - Parameters tab
In some modules used for the website and e-shop, the Links sub-tab is used on the External Documents and Documents (9th Page) tab. Specifically, these are the modules Article, Payments for e-shop, Shipping methods for e-shop. They are used to attach pictures and other related files, or links, that are to be displayed on the website/e-shop. These can be, for example, photos of the articles sold, attached documentation, a link to a video related to the article, etc.

Picture: Article book - Links on the External Documents and Documents (9th Page) tab
A detailed description of this tab is given in the basic manual Basic code lists and supporting modules. For easier access, we include it in the chapter List of related documentation.
Here we will only emphasise the following connections with the Web and e-shop module:
- For the purposes of the website/e-shop (i.e. on the Article, Category, etc.), it is important to follow the rule that there is exactly one picture for each "Main picture..." category. This picture represents the given record. In this context, it is advisable to upload pictures in the highest quality; however, the maximum recommended resolution is FullHD (1920×1080).
- The standard website/e-shop works with predefined combinations of link Type and Category. If we create another combination, or if we do not follow the set combination, it is necessary to verify that it is actually displayed on the website/e-shop in the required way. For example, pictures in formats other than .png, .jpg and .gif are not displayed on the website/e-shop (for reasons of universal use in different browsers). However, for example, displaying a picture with the Documents category is permissible; then, for some articles, a picture will be visible among the attached documents (typically a size chart, etc.).
- If we want to create a series of pictures for publication on the website/e-shop, the easiest way is to use the script New e-shop - Adding pictures to articles (NewEshop_AddPicture.PAS). Their use is described in detail in the catalogue of scripts (the chapter is added at the end of this manual).
- If a picture with category 2000000383 exists, it is used for display in variants; if the picture does not exist, a picture of category 2000000329 is used, which are small previews used in the basket, history, etc.
Examples of variants of displaying pictures in the e-shop:
Checked option - Add main product picture to gallery (Website and e-shop settings)
1) On the Links tab, 2 Main detail pictures and 4 Gallery - full size pictures are added. In the list of category items, the second inserted Main detail picture is displayed first for the given article (the first of them as if it were not on the Links tab at all - it is not displayed even in the product detail). In the article detail, the second inserted Main detail picture is displayed (in the 1st position in the carousel), followed by the other pictures inserted as Gallery - full size, sorted by name.
2) On the Links tab, 1 Main detail picture and 4 Gallery - full size pictures are added. In the list of category items, the Main detail picture is displayed for the given article. In the article detail, the Main detail picture is displayed in the 1st place, followed by a strip of Gallery - full size pictures sorted by name.
3) On the Links tab, only 4 Gallery - full size pictures are added. In the list of category items, the 1st Gallery - full size picture by name is displayed. The same picture is displayed in the 1st position in the product detail. In the carousel, the picture that is first by name is then displayed twice. The other pictures follow in order.
Unchecked option - Add main product picture to gallery (Website and e-shop settings)
1) On the Links tab, 2 Main detail pictures and 4 Gallery - full size pictures are added. In the list of category items, the second inserted Main detail picture is displayed first for the given article (the first of them as if it were not on the Links tab at all - it is not displayed even in the product detail). In the article detail, a carousel of Gallery - full size pictures sorted by name is displayed.
2) On the Links tab, 1 Main detail picture and 4 Gallery - full size pictures are added. In the list of category items, the Main detail picture is displayed for the given article. In the article detail, a carousel of Gallery - full size pictures sorted by name is displayed.
3) On the Links tab, only 4 Gallery - full size pictures are added. In the list of category items, the 1st Gallery - full size picture by name is displayed. In the product detail, the picture that is first by name is then displayed only once. The other pictures follow in order.
Recommendation: We recommend uploading the Main detail picture only once. When uploading a larger number of pictures, we recommend uploading all of them as Gallery - full size. The pictures will then be displayed by name, which makes it easier to keep track of their order.
In the website and e-shop settings, in the article detail section, it is possible to check adding the main product picture to the Gallery - which means that if this field is checked, the main picture is also displayed in the gallery in the e-shop.
Registration book
The Registration book is an overview of all customers registered on the website/e-shop. In this book, a K2 user can block any of the customers using the F8. key. Furthermore, if the option Confirm registrations manually is checked in the Website/e-shop settings, they can decide whose registration to approve (using Ctrl+F2) or reject (using Ctrl+F8). Each registration is linked either to an existing Contact person, or a new one is created for it. Logging in is possible only if the registration is linked to a Contact person and is active.

Picture: Registration book

Picture: Registration book - Basic data
Description of fields
Name |
Registered person name |
Surname |
Surname of registered person |
Web, e-shop |
Website, e-shop to which the registration belongs. |
Status |
Status of the registration. It can take 4 forms: new registration, to approve, active, blocked. |
E-mail address of registered person |
|
Phone |
Phone of the registered person |
Allow sending information |
Flag states whether registered person agrees with sending of information and news, i.e. newsletter. |
Offers creating |
The flag indicates whether the registered person can create quotations in the e-shop. For quotations in the e-shop to be fully functional, it is necessary to fill in the required data in Website and e-shop settings - Request settings. |
Contact person |
Contact person to which the registration belongs. It can be identical to the registered person (i.e. a new one is created after the registration is completed), or another, already existing one can be selected. |
Book of sale |
Book of sale in which orders created by registered person are written. |
Warehouse |
Warehouse from which the stock availability of articles is displayed to the given registered person. |
Book of cash documents for instant payment |
Book of cash documents in which the cash documents created during field direct sales in the e-shop are recorded. |
Login name |
The login name for the e-shop is the e-mail address of the registered person. |
Addresses |
They include both the delivery and invoice addresses of the registered person. |
In the Website and e-shop settings, we can modify various registration scenarios.

Picture: Website and e-shop settings - Function tab - User accounts section
We most often encounter two variants:
B2C variant
The abbreviation B2C (Business to Consumer) refers to business relationships between a company and an end customer. In this case, registrations typically proceed as follows:
- In the Websites and e-shops module, we select from the list the one for which we want to make the settings. Then, on the Basic data tab, using the Website and e-shop settings button (Function tab) we go to the configuration of User accounts itself.
- Here we can set all the options associated with registrations (confirming registration by e-mail, manual approval of registrations, etc.). We recommend setting Activate registrations by e-mail in order to verify the validity of the customer's e-mail address and thus prevent possible complications.
- Furthermore, it is recommended to check Enable entering the invoice address during user registration – there is also the option Mandatory entry of the invoice address during registration, but this is used rather for the B2B variant.
- After successful registration, a new record with a login for the given e-shop is created in the Registration book. For all logins in the B2C variant, a contact person identical to the registered person is created directly.
- Each of the logins can take various statuses, namely: new registration, to approve, active and blocked.
- New registration – the status when a new user registers and confirmation of their e-mail is awaited.
- To approve – the status when the Confirm registrations manually option is checked in the settings. The account is active only after the registration is manually approved.
- Active – the status when the account is fully functional and the user can fully use the e-shop.
- Blocked – the status when the user's account is blocked for certain reasons.
B2B variant
The abbreviation B2B (Business to Business) refers to business relationships between companies. Registration in the B2B variant typically looks like this:
- In the Websites and e-shops module, we select from the list the one for which we want to make the settings. Then, on the Basic data tab, using the Website and e-shop settings button (Function tab), we go to the configuration of User accounts itself.
- Here we can set all the options associated with registrations (mandatory entry of the invoice address, manual approval of registrations, etc.). We recommend setting Activate registrations by e-mail. Furthermore, it is advisable to have Mandatory entry of the invoice address during registration checked, including Mandatory entry of the Comp. Reg. No. in the invoice address. This prevents just anyone from registering – only registration of companies will be possible. If it is a new potential business partner, special price quotations or contracts can be prepared for them. Before the registration itself is approved, a contact person is created manually, which must be assigned to the given registration. Finally, the registration is approved and the customer can thus buy according to their personalised price lists.
- In connection with Confirm registrations manually, it is also advisable to set up Notification in My office . The responsible person is then shown a notice on a new registration that the new registration needs to be approved. During approval, it is necessary to assign a Contact person (new or existing), according to which prices will then be assigned to the newly registered user.
- Each of the logins can take various statuses, namely: new registration, to approve, active and blocked.
- New registration – the state in which a new user registers and the system waits for their e-mail to be confirmed.
- To approve – the status when the Confirm registrations manually option is checked in the settings. The account is active only after the registration is manually approved.
- Active – the status when the account is fully functional and the user can fully use the e-shop.
- Blocked – the status when the user's account is blocked for certain reasons.
If a user, when creating a new registration on the E-shop, checks the box "I agree to receive information and offers", a new activity of the SOUHLAS type is created for this new contact person.
Likewise, if the contact person withdraws this consent when changing the registration details, another new activity of the NESOUHLAS type is created.
Registered emails book
The Registered emails book displays all e-mail addresses subscribed to the newsletter on the web/e-shop. These are both the e-mails of users registered on the web/e-shop and e-mails without registration that are only subscribed to the newsletter. This book is also used in connection with the Watchdog function.

Picture: Registered emails book

Picture: Watchdog book - link to the Registered emails book
Quotations from the web and e-shop
The web or e-shop can be used not only to create orders and purchase articles, but also to create quotations and request articles. These two modes, i.e. Purchase of articles and creating Quotations, can be combined for one registered user. Several conditions must be met to create quotations from the web/e-shop.
Conditions:
1. A user who wants to create quotations on the e-shop must have a valid and approved registration and must have the creation of Quotations enabled. Under this registration it is possible both to purchase articles and to create Quotations; however, the registration, i.e. the contact person, must have the same partner assigned as the targeted end customer when a quotation is created.

Picture: User registration
2. It is advisable to prepare a book intended solely for quotations created from the web/e-shop. However, this is not a requirement. If a book for creating quotations in general already exists, it can be used.
3. In the Web and e-shop settings, on the Quotations tab, it is necessary to switch on the Enable creating quotations option from the web, e-shop and fill in other settings, such as the Book of quotations in which the quotations will be created, the Customer Approval Status and the text pages.

Picture: Creating quotations from the web, e-shop
4. In the Web and e-shop settings (tab Documents, records), set the action for sending an e-mail after a quotation is created. This action can be created in the Email templates book, and on the Documents, records - Settings of email actions tab the created e-mail template is assigned to Sending confirmation of quotation creation.

Picture: Settings for sending the quotation creation e-mail
For better orientation on the e-shop, it is also possible to create a text page pageQuotationList and then assign it to the web menu according to the needs of the e-shop administrator; the registered person thus gains the option to process the list of created quotations on the e-shop after logging in.
In the quotation mode, activated by clicking the quotation field in the Order type, articles can only be requested on the e-shop, not purchased. In the basket contents, the quotation of articles can be adjusted, both the quantity and the prices and discounts, in absolute or percentage terms.

Picture: Quotation mode on the e-shop
To create a quotation, the logged-in user adds articles to the basket using the Continue with quotation button. In the delivery details, the quotation must be created for a customer who has the same partner assigned in K2 IS as the contact person of the created registration.

Picture: Delivery details and payment
Direct field sales
Direct sales make it possible to monitor the current stock level in the warehouse of a given salesperson or of other colleagues. If we take inspiration from selling directly from a car, we can think of the car as the warehouse. Each salesperson also has their own cash register, which is linked to their registration. The whole process is, of course, connected to the Electronic Records of Sales. Products can be loaded into the basket using a barcode reader, which clearly speeds up the overall sales process. After completing the order, the salesperson immediately has a tax document available, which can be printed for the customer via the Web K2. In the Web K2, the salesperson can also easily modify the sales order should the need arise.
Steps required to put the direct field sales functionality into operation on the K2 e-shop:
Data preparation
- New cash register for the salesperson: Administrator – System – Administration of books – Cash registers tab. Using the Insert key, we create a new cash register and set its required attributes, or we can copy another cash register using the F6 key. The book must have an abbreviation and a company set. The company should be the same as the company under which the e-shop runs – this information can be found in the basic data of the Webs and e-shops book for the relevant e-shop record.
- New warehouse for the salesperson: Logistics – Basic data – Warehouses. Likewise, we create a new record using the Insert key, or as a copy of another warehouse. Then, of course, when loading the car, it is necessary to create receipt cards for this warehouse.
- Salesperson settings - registration: Web and e-shop – General modules – Registration. If the registration has not yet been created, it must be done. I.e. using the Insert key or the New button, we create a new record in which we fill in all mandatory fields. If the salesperson already has a registration on the relevant e-shop, we only fill in the Warehouse and Book of cash documents for instant payment fields.
Website and e-shop settings
- In the Catalogue of articles section, it is necessary to check Display availability according to the contact person's warehouse (the salesperson sees their own stock level as the default) and Show stock levels of branches (the salesperson sees the stock levels of other salespeople). At the same time, it is advisable to also check the Show actual warehouse statuses option (the salesperson sees on the e-shop the exact number of pieces available, or the stock held by another salesperson).
- In the Shopping basket section, it is necessary to check Add directly into basket, which allows items to be loaded via a barcode reader, or by entering the article number directly into the basket contents and confirming with the Enter key (note: when entering in the basket, the number is not visible anywhere).
- In the Types of records section, attention must be paid to the Types of documents on the 9th page section, i.e. attachments. Depending on which type is filled in here, the e-shop allows documents to be generated in a certain format after the order is completed, most often a PDF file. The document type of the documents cannot have the Copy type "Apply original" set, because in this case the original PDF file is deleted. This option is unsuitable for documents that are to be visible on the e-shop.
- In the Branches and own warehouses section, it is necessary to add all salespeople and their individual warehouses. These will then be displayed both in the catalogue and in the article detail. For a given product, the salesperson always sees their own stock availability at first glance. After clicking on the availability at branches, the salesperson sees the availability of other colleagues.
- In the Instant payment section, it is necessary both to enable instant payment and to set which print report is to be generated after the order is completed. It is advisable to select to file in the Export settings of the report. Typically, PDF is the file format used for generating the report. In connection with generating PDFs, the supplementary application PDFregistertool can be used, which is part of every IS K2 installation and can be found in this directory. This auxiliary application enables the creation of PDF files via K2. The payment that will be used for direct sales must have Instant payment checked in its basic data (this can be verified/set in: Web and e-shop – General modules – Payments for e-shop - Payment method field (Basic data)).
Article category book
The Article category book contains a list of all categories for all webs and e-shops. Changes in this book are reflected on the web/e-shop at an interval of approximately 5 minutes (the refresh rate of the cache, i.e. temporary memory). This setting speeds up the responses of the web/e-shop, which therefore does not have to be fully loaded from K2 every time.

Picture: Article category book
Example of a category tree design for a bicycle web/e-shop:
0. Internet shop DEMO K2
1. Mountain bikes
- Mountain 26
- Lapierre
- Giant
- Cannondale
- Mountain 27.5
- Focus
- Merida
- Rock Machine
- Mountain 29
- Lapierre
- Giant
- Cannondale
- Full suspension 26
- Lapierre
- Full suspension 27.5
- Ghost
- Full suspension 29
- Lapierre
- Cannondale
2. Road bikes
- Racing
- Lapierre
- Cannondale
- Performance
- Lapierre
- Cannondale
- Fitness
- Lapierre
- Cannondale
- Sport
- Lapierre
- Cannondale
3. Children's bikes
- Balance bikes
- Giant
- Ghost
- Push bikes
- Puky
- Ghost
- Children's
- Lapierre
4. City bikes
- Urban
- City
5. E-bikes
- Women's
- Lapierre
- Giant
- Ghost
- Men's
- Lapierre
- Giant
- Rock Machine
6. Folding bikes
- Men's
- Giant
- Tern
- Agogs

Picture: Article category book - Basic data
General information - field description:
E-shop |
The e-shop or web for which the category is created. |
Data editing language |
Some fields in the book can be entered in different languages. After changing the language, we enter values in the fields for the selected language. |
Name |
Name of the category. |
Main title |
Full title of the category, which will be displayed as the heading on the page of the given category. |
Do not display |
If the field is checked, the category will not be displayed on the e-shop. |
Superior category |
Superior category under which this category will be displayed. |
Category classification |
Structure of superior categories in which this category is included. |
Order |
Order in which the category is displayed in the tree within "its level". |
Parameters for filtering |
Assignment of a series of parameters whose values can then be used to filter articles on the e-shop/web. Working with the Parameters for filtering book is the same as working with the Classification book. However, they are separate code lists. |
Description |
Category description shown on the e-shop/web below the main heading on the category page. |
Meta title* |
Important for source web code and search engines (tag Title). |
Meta description* |
Important for source web code and search engines (tag Description). |
Key words* |
Important for source web code and search engines (tag Keyword). |
URL* |
Not implemented. It can replace the automatically generated link of the given page. |
Canonical URL* |
The canonical URL serves to simplify the address structure. Thanks to it, full-text robots know more precisely which page is more important from the webmaster's point of view. In addition, it can be used on both static and dynamic websites |
Analytics* |
Analytical codes for measuring the page, e.g. Google Analytics - page traffic. |
Price comparator categories for the current category |
Data required for the active use of information from the web and e-shop in various search engines and price comparison sites. In XML feeds for comparison sites (EshopXmlFeedExport.pas), the price comparison category on the Article card is searched first. If no category for the selected comparison site is found on the article, the price comparison categories are filled from the nearest filled-in e-shop category in which the article is included. |
* The content of these fields is only part of the page code for automated tools. It is not displayed to the ordinary user of the e-shop/web. |
|
Articles can be assigned to a given category in two ways:
1) Assigning the article to an article group and then assigning the whole article group to the category.
2) Assigning the article directly to the article category. An article or article group assigned to any category in the category tree also belongs to all superior categories.
The second page of the Article category book contains a list of all Article cards that belong to this category, as well as a list of all Article groups that are included in this category. A summary of these two parts is then shown on the Items tab of the Category, where the Article cards assigned to the groups are also listed individually.

Picture: Article category book - Items
The tab is used to display a summary of articles that:
- are directly included in the given category,
- are included in a group that is in this category.

Picture: Article category book - Summary of articles
We can also add a picture to the category (it will be displayed in the list of categories when the superior category is expanded in the Category tree according to the e-shop template used). For template 1 it is displayed on the e-shop at level 2 (e.g. hardtail 26), for template 2 it is displayed on the e-shop at level 1 (e.g. mountain bikes); in templates 3 and 4, pictures are not displayed in the category tree. On the External Documents tab, we display the Links subtab. It is necessary to use the Main picture - preview link. A more detailed description of working with the Links tab is given in the chapter External Documents - Links tab.
Category - tree book
Just as files on a computer are stored in directories to keep things clear and orderly, articles on the e-shop/web are divided into categories that form a tree structure. It is up to the user and the nature of the articles which categories best divide the set of articles we want to offer on the Internet. For each web and e-shop defined in the Webs and e-shops book, exactly one category tree can be defined. At the same time, each category is assigned to exactly one web/e-shop.
Before creating a new category, the e-shop for which we want to create the category tree structure must be created (in the Webs and e-shops book). Once this step is done, a new category can be created in the Category - tree book using the Insert key or the New button. At the top level of the tree, we always create a single record - the so-called root category (usually with the same name as the web/e-shop itself). This category will not be displayed anywhere, but it is important for a clear organization of all subordinate categories. The categories directly subordinate to the base record will form the default tree structure displayed on the web/e-shop. To include a subcategory, select the parent category with the cursor bar and add a subordinate item, again using the Insert key or the New button. Subordinate categories are then displayed only after the superior category is expanded, etc. It is up to the user what tree and how many category levels to create. A well-designed structure significantly affects how customers find their way around our web/e-shop, so it is advisable to pay close attention to this structure.
A second category at the same level as the root category (i.e. without a superior category) is called a Service category. We create it to include article cards that must be available but are not offered articles (e.g. cards for pricing transport or payment methods). Articles included here must not be included in any other category of the given web/e-shop, otherwise the intended effect of not being found in searches is lost.

Picture: Creating a new category
General information - field description:
E-shop |
The e-shop or web for which the category is created. |
Order |
Order in which the category is displayed in the tree within "its level". |
Language for displaying and editing data |
Language selection |
Main title |
Full title of the category, which will be displayed as the heading on the page of the given category. |
Name |
Category name |
Category classification |
Structure of superior categories in which this category is included. |
Superior category |
Superior category under which this category will be displayed. |
Parameters for filtering |
Assignment of a series of parameters whose values can then be used to filter articles on the e-shop/web. Working with the Parameters for filtering book is the same as working with the Classification book. However, they are separate code lists. |
Do not display |
If the field is checked, the category will not be displayed on the e-shop. |
Page title* |
Used for the page source code and search engines (Title tag). It is displayed in the browser header and also in search results - it has a great influence on traffic. If the title is not filled in, it is generated automatically from the main heading of the page, the category name, etc. The maximum recommended length is 55 characters including spaces. |
Page description* |
Used for the page source code and search engines (Description tag). It is displayed in search results below the Page title. It should contain a short summary of the page content. If the search engine does not find this field filled in, it selects a part of the page text itself. The maximum recommended length is 155 characters including spaces. |
Key words* |
Used, for example, for cataloguing some types of webs and e-shops. They have no special significance for searching in search engines. By default, they do not appear in the code and they are not generated automatically. |
URL* |
It helps the visitor quickly recognize what the page is about. It is displayed in the browser address bar and if it is easily readable, e.g.: www.domena.cz/novinky/spustili-jsme-eshop, it is clear to the visitor what the page will contain. Whereas if the URL address is written like this: www.domena.cz/page?type=news&ID=44828, it is unreadable for the visitor and consequently uninteresting. |
Canonical URL* |
It is a kind of specific meta tag. It serves to simplify the address structure. Thanks to it, full-text robots know more precisely which page is more important from the webmaster's point of view. It can be used on both static and dynamic websites. |
Analytics* |
Analytical codes for measuring the page, e.g. Google Analytics - page traffic. |
*SEO values, in other words search engine optimization. The content of these fields is only part of the page code for automated tools. They are not displayed to the ordinary user of the e-shop/web, but they can significantly affect web traffic if they are set correctly. |
|
When a category is selected with the cursor bar, a preview of the category data is displayed. After pressing the F5 key or the Change button, we can edit the data. In the lower part there is a field for selecting and editing the picture. In the right part of the screen there is the Articles in categories field. Within it there are Articles included in category, Groups included in category and Articles for category. By clicking in the form and then pressing the Insert key, we assign articles to the given category. In the same way, we can add a group to Groups included in category.

Picture: Category - tree
What virtual categories are used for
Virtual categories make it possible to dynamically include products in categories based on defined parameter values while setting a special name, description and URL address. They thus also serve as an indexable page for search engines without the need to maintain the inclusion of products in another category. The second purpose is better orientation for e-shop users, because when the corresponding combination of parameter values is selected in the filter in a category, the user is automatically redirected to the virtual category, and its name and description are therefore displayed.
Setting up a virtual category in K2
In the category tree a new category is created, which must be assigned to the e-shop; fill in the name and superior category fields and check the virtual category field. For a virtual category, it is important to set its superior category, from which it takes over all included products. Furthermore, it is necessary to set the parameter values to restrict the products taken over. Only those products that have all the defined parameters set identically are always included in the virtual category.

Picture: 1 Settings in Category – tree

Picture: 2 Display of the virtual category on the e-shop
Other options that can be defined in K2 include whether the user wants the virtual category to be displayed in the category tree on the e-shop or not, while its URL page will still exist. The do not display the virtual category in the internet shop field serves this function. In any case, however, the URL address and the page of the virtual category will exist and can be indexed by search engines.
Web menu book
The Web menu book is intended for configuring the individual menu variants supported on the web/e-shop. Each of the variants has a designated place on the page where it is displayed (e.g. side menu, bottom menu, etc.)
The items (or Text pages) to be displayed via the given menu can be modified by the user and must be created before the menu itself is created.

Picture: Web menu book
We create a new menu type using the Insert key, where we select the Web for which the menu is to be created. Next, it is necessary to select the Type, which determines the above-mentioned display on the web/e-shop, and the Name, which helps us better identify what type of menu it is. In this case, the Title is only a supplementary characteristic.

Picture: Web menu book - Basic data
Description of fields:
Web |
E-shop or web for which the menu is created. |
Type |
Menu display variant (side, bottom, etc.) |
Name |
Name of the web/e-shop menu |
Title |
Supplementary characteristic of the web/e-shop menu name |
The items of the menu being created can be modified on the 2nd page – Items of menu. Again, we insert them using the Insert key. We distinguish 2 types of nodes:
- basic, which does not have to be linked to any text page and can serve as the heading of the given menu – we insert it using the Insert key or, after right-clicking, we select the Insert new in level button.
- subordinate, which needs to be linked to the superior item and at the same time linked to the created text page to which we want to redirect from the given menu. We insert it using the Shift + Insert keys or, after right-clicking, we select the New subordinate button.

Picture: Web menu book - Items of menu
Description of fields:
Superior item |
Item under which the newly created menu item will be assigned. |
User access |
Determines for whom the menu item is to be displayed. You can choose from the options: everyone, logged in, not logged in. |
Text page |
Determines to which text page the user is redirected. The field cannot be filled in if we choose redirection to a URL address. |
Name |
Menu item name |
Title |
Title, i.e. a supplementary characteristic of the menu item name |
URL address |
If we want redirection to a specific URL address, we use this field instead of the previously mentioned text page. |
Text pages book
Text pages are simple pages with text. These are, for example, the pages All about shopping, Information, Trade terms, Complaints, Payments, About the company, Benefits and discounts, etc. This is data displayed on general tabs or in the bottom menu of the e-shop, but it is also related to flags on Article cards. Pages cannot be shared between individual webs and e-shops, i.e. a separate set of texts must be created for each web/e-shop.

Picture: Text pages book
Text pages
We create and record these pages in the Text pages book. Most text pages have their own template according to which they are subsequently loaded. Some functional pages must be assigned in the Web and e-shop book - Web and e-shop settings button - Pages - Configuration of specific pages.

Picture: Text pages book - Basic data
Description of fields:
Web, e-shop |
Web/e-shop to which the page is connected. |
Name |
Name of the text page. It is displayed as a clickable link. |
Type |
This is one of the nested pages, so-called widgets, which is displayed within the given text page. |
Main title |
Heading on the opened page. |
User access |
Determines to whom the given text page is displayed (everyone, logged in, not logged in). |
Short description |
It is not displayed on the web/e-shop. |
Sup. page |
Page that groups subordinate text pages. For a text page to be displayed on the web/e-shop, the superior page must always be filled in. |
Author |
Allows you to select the author from the list of contact persons. |
Date of publishing |
Intended for setting the date from which the text page is to be displayed, and also for sorting subordinate text pages. |
Time of publication |
Intended for setting the time from which the text page is to be displayed, and also for sorting subordinate text pages. |
Name of template |
On the new (template-based) e-shop, text pages are created based on templates created by programmers. The user has a list of templates available, from which they select the one for which they are creating the given text page. |
OG typ |
Intended for creating shared posts on social networks. |
Meta title |
It is displayed in the browser header, or as the name of a bookmark in the browser. If the title is not filled in, it is generated automatically from the main heading of the page, the category name, the product name, etc. |
Type of page |
For a subordinate page, it determines how this page is "nested" into the superior page. For more details, see the following chapter Inserting a nested page. |
Meta description |
It is displayed in search results below the Meta title. It should contain a short summary of the content and thus motivate the visitor to read the whole page. If the search engine does not find a description, it randomly selects a part of the text from the page. |
Key words |
Important for source web code and search engines (tag Keyword). |
Canonical URL |
The canonical URL serves to simplify the address structure. Thanks to it, full-text robots know more precisely which page is more important from the webmaster's point of view. In addition, it can be used on both static and dynamic websites. |
Analytics |
Analytical codes for measuring the page, e.g. Google Analytics - page traffic. |
Page indexing type |
Determines how the given text page is to be indexed by search engine robots.
If no value is entered, the text page is indexed as the Index follow type. |
URL address |
URL of the page, if different from the generated one. |
In the Description of a text page, we can insert links to other pages, plain or formatted text. Some pages do not have to contain any text - e.g. Article comparison or the basket. Such pages are in the list of texts so that a page (URL address) with separate functionality is generated on their basis (e.g. displaying the list of articles in the basket). It is also possible to use the Page content editor, which is a great aid for editing texts directly on the web/e-shop.
Shipping methods for e-shop book
The Shipping methods for e-shop book displays all shipping methods supported on the webs and e-shops. It usually contains a record for personal collection and several carriers or parcel services that we use.

Picture: Shipping methods for e-shop book
Free shipping
If the user wants to offer their customers some of the transport methods free of charge, they can use one of the following options:
1. When creating a new shipping method, it is necessary to select an article with a zero sales price. This method of transport will then always be displayed on the e-shop with a zero amount.
2. Another option is to set the given shipping method to be free from a certain amount. It can be set by filling in the Free from price field and the Free article field on the selected Shipping method, on the Basic data tab. After successful setup, free shipping applies if the customer makes a purchase for an amount equal to or greater than the set amount. Free shipping can also be set for other currencies by checking the For other currencies flag.

Picture: Shipping methods for e-shop book - Basic data (Delivery settings) - Free shipping from price
3. The last variant consists in setting up a discount coupon for free shipping. It must be created in the Discount coupons book with the Free shipping option switched on. Furthermore, on the given Shipping method, on the Basic data tab, it is necessary to check the option Free if a free shipping coupon is applied and fill in Free article. If the setup is done correctly, free shipping applies to the shipping method when a valid coupon is applied.

Picture: Shipping methods for e-shop book - Basic data (Delivery settings) - Discount coupon for free shipping
4. The last option for enabling free shipping on the e-shop is the purchase of articles with the Free shipping flag (set in the Article code list, on the E-shop page - Flags for article.

Picture: Shipping methods for e-shop book - Basic data (Delivery settings) - Free shipping for articles with the Free shipping flag
Changes made in this book take effect immediately in the Web and e-shop module.
The individual shipping methods are then combined with possible payments on the Shipping methods and payments tab of the e-shop.
Note: In the Suppliers/Customers book there are the Allowed methods of transp. and Allowed methods of payment fields. The e-shop responds to these definitions of shipping and payment methods and excludes the disallowed methods from the offer in the 2nd step of the basket.
On this tab, we view and edit the basic data about the individual shipping methods.

Picture: Shipping methods for e-shop - Basic data
Basic data and Delivery settings - field description:
Abbreviation |
Abbreviation of the shipping method. |
Name |
Name of the shipping method. |
Country |
Allows you to restrict the use of the shipping method (i.e. carrier) to the selected country; the restriction works when using e.g. the parcel bot and other custom solutions. The country in the order is checked in connection with the delivery address. |
Require entering delivery details |
If checked, entering the delivery address is mandatory when the given shipping method is selected in the basket. We switch the option off especially in the case of personal collection at a branch or when a widget is set. |
Note |
Note on the shipping method - it is displayed highlighted for the given shipping method. |
Articles |
The Article card that is added to the sales order for the given shipping method in the order. The price of the individual variants on the web/e-shop is also loaded from this card. On the Article card representing the transport, the Transport option must be checked on the E-shop tab. |
Shipping method |
Shipping method that is filled into the created sales order depending on the shipping method applied in the order from the web/e-shop. |
Method of transport |
Method of transport that is filled into the created sales order depending on the shipping method applied in the order from the web/e-shop. The Method of transport code list is used to record and edit methods of transport.
Picture: Method of transport - Basic data
Transport parameters - Minimum and Maximum weight In the Method of transport code list, it is possible to define the minimum and maximum weight for a given carrier. The weight must also be set on the article (Article - Basic data - Unit of measure - Gross Weight). If the articles in the order do not reach the minimum weight or, conversely, exceed the maximum weight specified in the Method of transport code list, this carrier will not be offered when selecting the method of transport. |
Delivery terms |
Delivery terms that are filled into the created sales order depending on the shipping method applied in the order from the web/e-shop. If Delivery terms are defined both in the Shipping methods for e-shop book and on the Supplier/Customer card, the value from the Shipping methods for e-shop book is filled into the sales order. |
Pick-up points |
Here we define a list of all branches related to the given shipping method. The individual branches are assigned as links to a Suppl./Cust. record. The basic address of the supplier/customer is then used to determine the branch address. Branches are transferred to the e-shop only if the Choose pick-up point option is checked. After checking the Choose pick-up point option, the Widget field also becomes available, which is used to select the widget of the given carrier. When the shipping method is entered on the e-shop, the delivery address will then be loaded from a 3rd-party widget (PPL, DPD, GLS, etc.). The "Own branches" widget is used for Personal collection. Note: If a widget is set, the "Require entering delivery details" option must not be checked.
Picture: Shipping methods for e-shop - carrier widget setting
Picture: Widget on the e-shop |
Free from price |
Determines the total order price from which the customer is no longer charged the price for the selected shipping method. Prices must be greater than 0. |
Free article |
The Article card that is added to the sales order for the given shipping method in the order if the customer is not charged the shipping price, i.e. when the amount in the Free from price field is exceeded or when the Free if there is an article with free shipping flag is used. On the Article card representing the transport, the Transport option must be checked on the E-shop tab. |
Free if there is an article with free shipping |
The option allows the transport price not to be charged if the order contains an article with the Free shipping flag on the E-shop tab. |
Free if the free shipping coupon is applied |
The option allows the transport price not to be charged if a valid discount coupon code is entered and the Free article is filled in at the same time. |
We can also add a picture to the shipping method (e.g. the carrier's logo) on the External Documents, tab, Links subtab. We use the Main detail picture category. Working with the Links table is described in detail in the chapter External Documents - Links tab.
Payments for e-shop book
The Payments for e-shop book displays all payment methods supported in the individual webs and e-shops.

Picture: Book Payments for e-shop - Basic data
General information - field description:
Abbreviation |
Abbreviation of the payment. |
Name |
Name of the payment. |
Note |
Note on the payment - it is displayed highlighted for the given payment method. |
Articles |
The Article card that is added to the sales order for the given payment method in the order. The price of the individual variants on the web/e-shop is also loaded from this card. On the Article card representing the payment, the Payment option must be checked on the E-shop tab. |
Payment method |
Payment method that is filled into the created sales order, depending on the payment method applied in the order from the web/e-shop. |
Payment gateway |
If the payment is made via a payment gateway, we select the payment gateway type. |
Payment method |
Preset payment method on the payment gateway. By selecting a specific method, we save the e-shop user the first step of selecting the payment method after being redirected to the payment gateway. If we do not define any method, a menu for selecting the method is displayed after being redirected to the payment gateway. The methods offered depend on the selected payment gateway. |
Charge [%] |
Allows you to enter a percentage surcharge for the selected payment method. For this number to be applied on the web/e-shop, the Calculate percentual price of payment method option must be checked. It is typically used as a surcharge for card payments, which transfers the payment costs from the merchant to the customer. |
Calculate percentual price of payment method |
The option ensures that the customer is shown the price of the payment method on the order depending on the order price. |
Free article |
The Article card that is added to the sales order for the given payment method in the order if the customer is not charged the payment price, i.e. when the amount in the Free from price field is exceeded. On the Article card representing the payment, the Payment option must be checked on the E-shop tab. |
Free if there is an article with free shipping |
The option allows the payment to be free of charge. If it is checked, the Free article field is filled in and the amount in the Free from price field is greater than 0, this type of payment will be free of charge. |
Free from amount |
Here we define the total order price from which the customer is no longer charged the price for the selected payment method. The amount is defined separately for each currency. The set amount must be greater than 0. |
Note: The entire procedure for setting up payment via a payment gateway is described in the chapter Comgate - Payment gateway settings in K2.
External Documents - Documents and Documents
We can also add a picture to the payment method (e.g. the logo of supported payment cards) on the External Documents - Documents tab, on the Links tab - it is necessary to use the Main picture - preview category. A detailed description of working on the Links tab is given in the chapter External Documents - Links tab.
Changes made in this book take effect on the web/e-shop immediately.
The individual shipping methods are then combined with possible payments on the Shipping methods and payments tab of the Web and e-shop book
Note: In the Suppliers/Customers book there are the Allowed methods of transp. and Allowed methods of payment fields. The e-shop responds to these definitions of shipping and payment methods and excludes the disallowed methods from the offer in the 2nd step of the basket.
Baskets book
This book stores the shopping baskets of all users of the web/e-shop. Baskets are saved for both registered and unregistered users. The basket status is decisive for saved baskets. Until the basket is in the ordered status, its content changes as the web/e-shop user changes it (unless cookies are deleted, in which case a new basket is created). Baskets are available to users only in browse mode. Baskets are stored in IS K2, so the basket content of a logged-in user is available on different computers after logging in.

Picture: Record detail of the basket book
General information - field description:
RID |
Unique record Id |
E-shop |
Web or e-shop in which the basket was created. |
Contact person |
Contact person who created the basket. |
Company |
If the customer has several partners, the field displays the name of the company for which they are creating/have created this shopping basket. |
Favourite |
The flag indicates whether the customer has saved this basket among favourites. |
Ordered |
The flag indicates whether the order has been created or completed. |
Offering |
The flag indicates whether |
Create basket |
Basket creation date |
Last change of basket |
Date of the last change of the basket |
Name |
Basket name |
Basket items |
Basket contents |
Favourites book
The Favourites book is intended for recording all favourite links. Each of them is automatically assigned the contact person who decided to keep the link for next time. The K2 user thus has an overview of which items, categories (and others) the web/e-shop customers are interested in and can more easily respond to external stimuli, create business strategies, etc. Individual entries in the Favourites book cannot be edited.

Picture: Favourites book
Banners book
A banner is a type of advertisement used on websites or in applications. It is usually a picture, animation or interactive graphic displayed most often near the edge of the screen, or somewhere in the body of the page. A banner should be designed to convey a certain message to the customer and attract them to take some action.
In K2, the user can select banners according to the e-shop template. There are several banner display variants (in the page body, along the edges, etc.). On each banner, you can set a background picture, a product picture and texts (name, description, price, button).

Picture: Banners book
When defining the banner itself (picture), pictures are inserted on the External Documents tab into two categories, namely Main detail picture for the background and Main picture - preview for the product. It is not necessary to split banners into two pictures, but in the case of responsive design it is advisable, because when the size changes, the banners will adapt better to the selected size or to the device on which the user will open the web/e-shop.
The Banners book is intended for recording all banners available on the website. The procedure for creating a new banner is as follows:
1. Using the Insert key or the New button on the toolbar, a new form opens.
2. Highlighted fields (in red in the default appearance) must always be filled in. When setting up a new banner, it is necessary to fill in for which e-shop it is to be displayed (the E-shop field). Afterwards, we can fill in other fields in the basic data for better clarity, e.g. the banner name, a brief description that helps us better identify what it is about, the target URL (after clicking, it redirects the customer to the product/category it refers to) or module category (intended primarily for websites – allows linking with created web categories).
3. Another mandatory field is Banner position, i.e. where the given banner will be displayed on the web/e-shop. Furthermore, we can specify the product category for which the banner is to be displayed. Optional fields include the banner order (i.e. whether this banner will be displayed in the first position when the page is loaded, or will be second in order), and also display time (you can choose how many seconds the banner will be displayed after loading – applies only to banner positions that allow it, e.g. scrolling banners). You can also specify the time range in which the banner is to be displayed (start date – end date).
4. In the Text layer, we can specify the text we want to be displayed on the banner (e.g. the product name). In the Text layer style field, we determine where this text will be displayed on the banner – top, bottom, right, left,… Then we fill in the field we want to be displayed - name, description, price or button. All of them can be filled in, but we recommend checking the appearance of the banner to make sure it is not overloaded with information and is sufficiently attractive for a potential customer. For each text type, it is possible to select the background/foreground colour via the three dots in the field.
5. The next step is selecting the banner picture. It can consist of a Background picture and a Product picture (this is not necessary, however). We select the picture from the computer using the
button. For some banners, the background picture can be defined for the desktop version and for the mobile version. Up to a size of 690px (screen size), the mobile picture is displayed for the banner. These are the following banner positions:
- popup banner
- article category top
- web top scrolling
- web top static
- web bottom scrolling
- web bottom static
6. The Analytics field consists of analytical codes for measuring the page.
7. The Connect module tab contains an overview of the modules with which the banner is linked.
8. The last tab, External Documents, is intended for recording attached files – e.g. pictures that were already attached on the Basic data tab.

Picture: Banners book - Basic data
General information - field description:
E-shop |
Web or e-shop in which the banner is to be displayed. |
Module category |
Intended primarily for websites – allows linking with created web categories. |
User access |
Determines to whom the banner will be displayed - only users who are not logged in, only logged-in users or all users. |
Name |
Banner name - the text displayed on the page. |
Short description |
The brief banner description is displayed when hovering the mouse over it. |
Target URL |
After clicking on the web/e-shop, it redirects the customer to the product/category it refers to. |
Position |
Place where the banner is to appear. The list of all positions is fixed and determines both the location and the size of the banner. The Banner type, which depends on the position, is defined in the banner position, i.e. all banners in the same position must have the same banner type |
Product categories |
We can assign the banner to an article category; it will then be displayed on the category page. |
Order |
Determines the order of the banner if several banners are defined for the same location. |
Date of beginning |
Date from which the banner is to be displayed. If not set, the banner is displayed immediately. |
End date |
End date of displaying the banner. If not specified, it is displayed permanently. |
Display time |
How long the banner will be displayed (in seconds). |
Text layer style |
Style and position of the text layer above the banner picture |
Text - name |
1st text position in the banner. For the text, the background colour (background) on which the text is to be placed and the text colour (foreground) are defined. |
Text - description |
2nd text position in the banner. For the text, the background colour (background) on which the text is to be placed and the text colour (foreground) are defined. |
Text - price |
3rd text position in the banner. For the text, the background colour (background) on which the text is to be placed and the text colour (foreground) are defined. |
Text - button* |
4th text position in the banner. For the text, the background colour (background) on which the text is to be placed and the text colour (foreground) are defined. |
Analytics |
Consists of analytical codes for measuring the page. |
*The button is displayed only if the URL address is also filled in.

Picture: Banner positions
Banner positions for the web/e-shop
Web bottom scrolling |
It is displayed in the bottom part of the page. It is a dynamic banner which may alternate in its position with another banner that also has this position set. If this position is assigned to only one banner, the same banner will keep scrolling. |
Web bottom static |
It is displayed in the bottom part of the page. This banner is static and will therefore be displayed permanently in the given place. |
Web left below category |
Banner intended only for template 2. It is displayed on the left side below the menu. |
Web top scrolling |
It is displayed in the top part of the page. It is a dynamic banner which may alternate in its position with another banner that also has this position set. |
Web top static |
It is displayed in the top part of the page. This banner is static and will therefore be displayed permanently in the given place. |
Web left static |
It is displayed in the upper left corner outside the page body. |
Web left text |
It is displayed in the upper left corner outside the page body. The banner displays only text layers. |
Web right static |
It is displayed in the upper right corner outside the page body. |
Web right text |
It is displayed in the upper right corner outside the page body. The banner displays only text layers. |
Article category top |
It is displayed in the top part of the selected category. It is a dynamic banner that shares its position. |
Popup banner |
It is displayed as a popup banner only on the first visit to the website. The display of the banner therefore depends on whether a record is stored in localStorage or whether the banner has new content. |
Information bar below the menu |
It is displayed as a thin information bar below the top menu only on the first visit to the website. The display of the banner therefore depends on whether a record is stored in localStorage or whether the banner has new content. |
The banner layout shown is indicative only. Banners automatically adapt to the device on which they are displayed, and their dimensions may therefore change.
The background picture of the Web top scrolling (static) banner can be higher than stated in the table. Its resulting height depends on the number of categories in the menu.
The table for the mobile version shows the recommended dimensions of background pictures. Due to the higher pixel density of mobile devices, we recommend using pictures in double resolution. The minimum required dimensions correspond to half of the recommended values.
(*) - the banner height is not limited. The stated value represents the minimum recommended height.
|
Desktop version |
Mobile version (recommended values) |
Popup banner |
background 570x350*, picture 254x140 Background height depends on the window width (recommended for FullHD). |
background 1200 x 800 |
Information bar below the menu |
- without background and picture - |
|
Web top scrolling |
background 1160x400*, picture 320x200 The picture may have a different aspect ratio. However, it must not exceed the maximum stated height. |
background 1270 x 866 |
Web top static |
background 720x400*, picture 336x350* Background height depends on the content/picture. |
background 1270 x 526 |
Web left/right static |
background 200x400* (or height even 600+ for a vertical banner), picture 135x150 Background height depends on the content/background. |
- not displayed on mobile - |
Homepage icons |
without background, picture 50x50* Height max. 50, otherwise according to the aspect ratio. Width always 50. |
does not change (100 x 100) |
Web bottom scrolling |
background 1460x250*, picture 320x200 Background height depends on the content. |
background 1270 x 524 |
Web bottom static |
background 570x239*, picture 260x180* Background height depends on the height of the content/picture. |
maximum width 1270, any height |
Article category top |
background 573x210, picture 209x216* Recommended picture height. |
background 1270 x 466 |
Popup banner

Picture: Popup banner - eshop 1
Homepage


Picture: Homepage - eshop 1
Category

Picture: Category - eshop 1
|
Desktop version |
Mobile version (recommended values) |
Popup banner |
background 520x322*, picture 260x196 Background height depends on the window width (recommended for FullHD). |
background 1040 x 692 |
Information bar below the menu |
- without background and picture - |
|
Web top scrolling |
background 950x500*, picture 475x196 The picture may have a different aspect ratio. However, it must not exceed the maximum stated height. |
background 1270 x 1000 |
Web top static |
background 465x264*, picture 209x216* Background height depends on the content/picture. |
background 1264 x 480 |
Web bottom scrolling |
background 950x500*, picture 445x196 Background height depends on the content. |
background 1270 x 524 |
Web bottom static |
background 465x279*, picture 209x152* Background height depends on the height of the content/picture. |
maximum width 1270, any height |
Article category top |
without text and background, picture 948x348* Recommended picture height |
background 1266 x 464 |
Web left below category |
without background, picture 121x90* Background height depends on the content/picture. The picture can also be in portrait orientation (220). |
- not displayed on mobile - |
Popup banner

Picture: Eshop2 - Popup banner
Homepage


Picture: Eshop2 - Homepage
Category

Picture: Eshop2 - Category
|
Desktop version |
Mobile version (recommended values) |
Popup banner |
background 570x313*, picture 255x196 Background height depends on the window width (recommended for FullHD). |
background 1140 x 758 |
Information bar below the menu |
- without background and picture - |
|
Web top scrolling |
background 1001x380*, picture 471x196 The picture may have a different aspect ratio. However, it must not exceed the maximum stated height. |
background 1226 x 746 |
Web top static |
background 620x220*, picture 285x170* Background height depends on the content/picture. |
background 1230 x 512 |
Web bottom static |
background 620x380*, picture 286x208* Background height depends on the height of the content/picture. |
maximum width 1270, any height |
Article category top |
without text and background, picture 1002x368* Recommended picture height |
background 1226 x 450 |
Web left below category |
background 236x280*, picture 88x66* Background height depends on the content/picture. The picture can also be in portrait orientation (220). |
- not displayed on mobile - |
Popup banner

Picture: Popup banner - eshop 3
Homepage


Picture: Homepage - eshop 3
Category

Picture: Category - eshop 3
|
Desktop version |
Mobile version (recommended values) |
Popup banner |
background 520x320*, picture 177x196 The popup adapts to this size; without a background it has no width or height. |
background 1040 x 692 |
Information bar below the menu |
without background and picture. Above the menu |
|
Web top scrolling |
background 810x428 (536x208), picture 397x388 (214x208). Depends on the position of the element. The picture may have a different aspect ratio. However, it must not exceed the maximum stated height. |
background 1270 x 490 / 622 x 328 – depends on the position of the element |
Web top static |
background 538x200*, picture 186x138* Background height depends on the content/picture. |
background 626 x 806 |
Web bottom static |
background 302x134, picture 215x156 Background height depends on the height of the content/picture. |
maximum width 1266, any height |
Article category top |
without text and background, picture 520x200* Recommended picture height |
there is no mobile version of the banner – only one picture for both desktop and mobile. |
Popup banner

Picture: Popup banner - eshop 5
Homepage


Picture: Homepage - eshop 5
Category

Picture: Category - eshop 5
Watchdog book
The Watchdog book is intended for recording items in which the customer has decided they are interested under certain conditions – e.g. once they are available in stock or as soon as their price drops below a certain level. For the K2 user, it provides an overview of which products customers are waiting for until they are in stock, or which price is favourable enough for them. Items in this book cannot be edited.

Picture: Watchdog book
Web texts book
The book is intended for recording and editing all static texts displayed on the web/e-shop within the selected template. The user can thus easily find a text they would like to rename (e.g. the text "The shopping basket does not contain any items" can be changed to "The shopping basket is empty"). Within this book, it is of course also possible to translate individual texts into foreign languages. Creating a new text is a matter of special customizations, which must first be handled by programmers and placed in the right place in the template.

Picture: Web texts book

Picture: Web texts book - Basic data
Description of fields:
Module |
Web module within which the text will appear. |
Web |
If a specific e-shop is filled in the Web field for the given record, this text will be displayed only on that e-shop. If the field is not filled in, the text will be displayed on all e-shops. |
Abbreviation of the text |
Unique identification of the text |
Text |
Text to be displayed on the web/e-shop. |


