Skip to main content

Link

Short description

Returns the URL of a category. The category ID must be specified.

Description of this function

Link( int $_categoryID  ) : string

Examples


{%
	$_value = GetGlobal("useHtmlAvailabilityIcon");
%}



{% if GetGlobal("useHtmlAvailabilityIcon") %}
	<span class="availabilityIcon available-$AvailabilityId" data-plenty="availabilityIcon">
		<span class="first"></span>
		<span class="second"></span>
		<span class="third"></span>
	</span>
{% else %}
	<span class="availabilityImageWrapper">$AvailabilityIcon</span>
{% endif %}
To top