<div class="grid-list__item<?=(($btnHtml || $priceHtml) ? '' : ' hidden')?>">
<div class="catalog-detail__buy-block catalog-detail__cell-block outer-rounded-x shadow" itemprop="offers" itemscope itemtype="http://schema.org/Offer" data-id="<?=$arResult['ID']?>" data-item="<?=$dataItem;?>">
<link itemprop="availability" href="http://schema.org/<?=$totalCount ? 'InStock' : 'OutOfStock';?>" />
<?if ($arDiscount["ACTIVE_TO"]):?>
<meta itemprop="priceValidUntil" content="<?=date('Y-m-d', MakeTimeStamp($arDiscount['ACTIVE_TO']));?>" />
<?endif;?>
<link itemprop="url" href="<?=$arResult["DETAIL_PAGE_URL"]?>" />
<div class="line-block line-block--20 line-block--16-vertical line-block--align-normal flexbox--wrap flexbox--justify-beetwen<?=($priceHtml ? '' : ' hidden')?>">
<div class="line-block__item catalog-detail__price catalog-detail__info--margined js-popup-price" data-price-config='<?=str_replace('\'', '"', CUtil::PhpToJSObject($arPriceConfig, false, true))?>'>
<?=$priceHtml?>
</div>
</div>
<? if ($bSKU2 && $arResult['HAS_SKU']) :?>
<?=$btnHtml?>
<? else: ?>
<div class="catalog-detail__cart js-replace-btns js-config-btns<?=($btnHtml ? '' : ' hidden')?>" data-btn-config='<?=str_replace('\'', '"', CUtil::PhpToJSObject($arBtnConfig, false, true))?>'>
<?=$btnHtml?>
</div>
<? endif; ?>
<?
$offersScheme = new TSolution\Scheme\Offers([
'ITEM' => $arResult,
'DISCOUNT' => $discountDateTo,
]);
$offersScheme->show();
?>
</div>
</div>
<? foreach ($arResult['PROPERTIES'] as $code => $value) {
if (in_array ($code, ELEMENT_PROPERTIES_SKIP) || empty($value['VALUE'])){
continue;
}
if ($code == 'PROP_INCOME') {
$value = value.style.font-weight == '600';
}
?>
<? } ?>
$(document).ready(function(){
document.getElementById('compareid_<?= $arItem["ID"]; ?>').onclick = function() {
if(document.getElementById('compareid_<?= $arItem["ID"]; ?>').checked) {
localStorage.setItem('compareid_<?= $arItem["ID"]; ?>', "true");
} else {
localStorage.setItem('compareid_<?= $arItem["ID"]; ?>', "false");
}
}
if (localStorage.getItem('compareid_<?= $arItem["ID"]; ?>') == "true") {
document.getElementById("compareid_<?= $arItem['ID']; ?>").setAttribute('checked','checked');
}
});
<a href="#" id="minustab"></a>
<input type="text" id="quantityitog" value="<?= $arResult['CATALOG_MEASURE_RATIO'] ?>" data-minimum="<?= $arResult['CATALOG_MEASURE_RATIO'] ?>" data-maximum="9999" data-step="<?= $arResult['CATALOG_MEASURE_RATIO'] ?>" maxlength="4">
<a href="#" id="plustab"></a>
https://disk.yandex.com.am/d/J2J8vmEnAxaI2w
https://disk.yandex.com.am/d/1f8w54MDBrg1cA