.bonus_item_cart, .lt_cart_bonus_all {
font-size: .8rem;
line-height: 1rem;
position: relative;
padding: 4px 0 0 14px;
width: max-content;
margin-left: auto;
}
.bonus_item_cart:after, .lt_cart_bonus_all:after {
content: '';
display: block;
position: absolute;
left: 0;
top: 3px;
bottom: 0;
width: 11px;
background: url(/bitrix/components/logictim/bonus.catalog/templates/aspro_lite/images/bonus_icon.svg) center no-repeat;
} "catalog_block",
"catalog_block_custom",
"catalog_list",
"catalog_list_custom",
"catalog_price",
"catalog_price_custom",
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_lite",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => $arResult["ITEMS"]
)
);}?> После блока с ценой <div class="js-popup-price" data-price-config='<?=str_replace('\'', '"', CUtil::PhpToJSObject($arPriceConfig, false, true))?>'>
...
</div> <div class="lb_bonus lb_ajax_<?=$arItem["ID"]?>" data-item="<?=$arItem["ID"]?>"></div>
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_lite",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => array("ITEMS"=>$arResult)
)
);}?>
После кода<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>
Вставить блок:<div class="lb_bonus lb_ajax_<?=$arResult["ID"]?>" data-item="<?=$arResult["ID"]?>"></div>
"catalog_block",
"catalog_block_custom",
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_lite",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => array("ITEMS"=>$arResult)
)
);}?>
<?=$priceHtml?>
<div class="lb_bonus lb_ajax_<?=$arResult["ID"]?>" data-item="<?=$arResult["ID"]?>"></div>
"catalog_block",
"catalog_block_custom",
"catalog_list",
"catalog_list_custom",
"catalog_price",
"catalog_price_custom",2. Открываем раздел /bitrix/templates/aspro-lite-mobile/components/bitrix/catalog.section
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_lite",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => $arResult["ITEMS"]
)
);}?>После блока с ценой<div class="js-popup-price" data-price-config='<?=str_replace('\'', '"', CUtil::PhpToJSObject($arPriceConfig, false, true))?>'>
...
</div>
и
<?=$priceHtml;?>
<div class="lb_bonus lb_ajax_<?=$arItem["ID"]?>" data-item="<?=$arItem["ID"]?>"></div>
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_lite",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => array("ITEMS"=>$arResult)
)
);}?>
После кода<?=$priceHtml?>
<div class="lb_bonus lb_ajax_<?=$arResult["ID"]?>" data-item="<?=$arResult["ID"]?>"></div>
Logictim - официальный сертифицированный партнер 1С-Битрикс, AMO CRM, Rusonyx
Вы можете связаться с нами любым из перечисленных способов:
Телефон: +7 (843) 212-62-17
Email: info@logictim.ru
Адрес: г. Казань, ул. Дубравная 38, офис 4
Режим работы: пн-пт с 10:00 до 18:00
Наши несколько основных принципов:
- Открытый и честный подход
- Стоимость пропорциональна объему работ
- Качественное исполнение
Наш менеджер свяжется с Вами в ближайшее время!