Skip to main content

Link_AjaxBasket

Short description

Returns the URL for opening the individual shopping cart. The ID of the HTML element in which the shopping cart’s content is to be loaded must be specified as a parameter.

Description of this function

Link_AjaxBasket( string $_basketContainerID  ) : 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