</table> <div style="width: 100%; text-align: center; margin: 10px 0;"> <input class="adm-btn-big bx-ui-dynamiclist-addmore" type="button" value="<?php echo Loc::getMessage('SALE_LOCATION_E_HEADER_LOC_MORE'); ?> " title="<?php echo Loc::getMessage('SALE_LOCATION_E_HEADER_LOC_MORE'); ?> "> </div> </div> <div style="display: none"> <?$APPLICATION->IncludeComponent("bitrix:sale.location.selector.".Helper::getWidgetAppearance(), "", array( "ID" => "", "CODE" => "", "INPUT_NAME" => "", "PROVIDE_LINK_BY" => "code", "SHOW_ADMIN_CONTROLS" => 'Y', "SELECT_WHEN_SINGLE" => 'N', "FILTER_BY_SITE" => 'Y', "FILTER_SITE_ID" => $id, "SHOW_DEFAULT_LOCATIONS" => 'N', "SEARCH_BY_PRIMARY" => 'Y', "JS_CONTROL_GLOBAL_ID" => 'defaultLocationSelector', "USE_JS_SPAWN" => 'Y' ), false );?>
<div style="width: 100%; text-align: center; margin: 10px 0;"> <input class="adm-btn-big bx-ui-dynamiclist-addmore" type="button" value="<?php echo Loc::getMessage('SALE_LOCATION_E_HEADER_LOC_MORE'); ?> " title="<?php echo Loc::getMessage('SALE_LOCATION_E_HEADER_LOC_MORE'); ?> "> </div> </div> <div style="display: none"> <?php $APPLICATION->IncludeComponent("bitrix:sale.location.selector." . Helper::getWidgetAppearance(), "", array("ID" => "", "CODE" => "", "INPUT_NAME" => "", "PROVIDE_LINK_BY" => "code", "SHOW_ADMIN_CONTROLS" => 'Y', "SELECT_WHEN_SINGLE" => 'N', "FILTER_BY_SITE" => 'Y', "FILTER_SITE_ID" => $id, "SHOW_DEFAULT_LOCATIONS" => 'N', "SEARCH_BY_PRIMARY" => 'Y', "JS_CONTROL_GLOBAL_ID" => 'defaultLocationSelector', "USE_JS_SPAWN" => 'Y'), false); ?> </div> <script> new BX.ui.dynamicList({ scope: 'ib_external_values_<?php echo $randTag; ?> ', initiallyAdd: 3, startFrom: <?php echo intval($i); ?> , bindEvents: {