base element and embedded files need this information.
The URL- tags provide it. Four describe addresses of the shop, three more provide information about the parameters with which the current page was requested.
The addresses of the shop
URL-Homepage returns a complete address including the protocol, for example https://www.meinshop.de. The tag is valuable when the shop is reachable via several domains but all links should point to one of them. Without this tag, a visitor who arrived via a secondary domain stays there for all further requests as well.The main domain is set by the
Domain-! parameter in the Basic section of the shop configuration.The SSL domain is entered by the system administration of WEBSALE AG, not by the designer, because it belongs to the SSL certificate. It must match the main domain:
xyz.de goes with https://xyz.de, www.xyz.de goes with https://www.xyz.de. The form with www is recommended.URL-Shop returns the complete path to the shop directory, that is the domain, intermediate directories and the directory with the shop ID. It depends on the current request: if the request runs via HTTPS, the tag builds the address via the SSL domain, otherwise via the main domain.The path of the current template
URL-Template returns the directory in which the template currently being processed is located. It belongs in the base element in the page header so that all relative references in the template resolve.
The value depends on the template currently being processed, not on a fixed directory. If templates are located in several subdirectories, the tag returns the matching one in each case. Here too, the shop system chooses between the SSL domain and the main domain depending on the request.
The inserted script comes with its notice text in German and English and cannot be customized. If you build your own protection against double clicks, use a different function name so that the two do not get in each other’s way.
The parameters of the request
Three tags loop over the parameters with which the current page was requested. This lets you, for example, pass campaign parameters on to a follow-up link or make them visible for troubleshooting.These three tags are available in the shop system but are not described in the previous documentation.
Parameters that the shop system itself uses for internal assignment are excluded. They appear neither in the count nor in the loop. What remains are the parameters that were appended to the request from outside.
URL-Parameter_name and URL-Parameter_value are invalid tags outside the loop. Within the loop, both also work as bracketing, namely when a value is present. For a parameter without a value, URL-Parameter_value remains empty, whereas the name is always filled.The tags at a glance
All tags are permitted on all templates.
URL-Parameter_name and URL-Parameter_value are used exclusively within the URL-Parameter loop.
Related topics
- Reference: The
Domain-!parameter in theBasicsection of the shop configuration - Reference: WS- (General tags)
- Guide: Links in the template
