Documentation

getGroupChooseControl

string public static
\Bitrix\Sale\Delivery\Helper::getGroupChooseControl(
 integer|string $selectedGroupId,
 string $name,
 string $addParams = "",
 boolean $anyGroup = false
);

Method returns HTML (element <select>....</select>) for selecting group of delivery services from list. Static method.

Parameters

ParameterDescriptionVersion
$selectedGroupIdSelected group.
$nameGroup name.
$addParamsAdditional parameters for selecting tag.
$anyGroupAllows selecting only group.

Example



© «Bitrix24», 2001-2024
Up