Skip to main content

SetCategoryId

Short description

Allows you to display the information of a specific category in a different section of the online store.

Description of this function

SetCategoryId( int $_categoryID  ) : void

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