



.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_table",
"catalog_table_custom",
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_premier",
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_premier",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => array("ITEMS"=>$arResult)
)
);}?>
После кода<div class=" catalog-detail__price catalog-detail__info--margined js-popup-price <?=$prices->isFilled() ? '' : 'hidden';?>" data-price-config='<?=str_replace('\'', '"', CUtil::PhpToJSObject($arPriceConfig, false, true))?>'>
<?$prices->show()?>
</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_premier",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => array("ITEMS"=>$arResult)
)
);}?>
<div class="line-block line-block--gap line-block--gap-24 line-block--align-normal flexbox--wrap flexbox--justify-between<?=($prices->isEmpty() ? ' hidden' : '')?>">
<div class="line-block__item catalog-detail__price js-popup-price" data-price-config='<?=str_replace('\'', '"', CUtil::PhpToJSObject($arPriceConfig, false, true))?>'>
<?$prices->show();?>
</div>
</div>
<div class="lb_bonus lb_ajax_<?=$arResult["ID"]?>" data-item="<?=$arResult["ID"]?>"></div>
"catalog_block",
"catalog_block_custom",
"catalog_list",
"catalog_list_custom",
"catalog_table",
"catalog_table_custom",2. Открываем раздел /bitrix/templates/aspro-premier-mobile/components/bitrix/catalog.section
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_premier",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => $arResult["ITEMS"]
)
);}?>После div блока с ценой<div> <? $prices = (new TSolution\Product\Prices( $arItem, $arParams, $arPriceConfig ))->show(); ?> </div>
<div class="lb_bonus lb_ajax_<?=$arItem["ID"]?>" data-item="<?=$arItem["ID"]?>"></div>В файле /bitrix/templates/aspro-premier-mobile/components/bitrix/catalog/main/page_blocks/element_1.php
<? if(CModule::IncludeModule('logictim.balls')){
$APPLICATION->IncludeComponent(
"logictim:bonus.catalog",
"aspro_premier",
Array(
"COMPONENT_TEMPLATE" => ".default",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO",
"ITEMS" => array("ITEMS"=>$arResult)
)
);}?>
После кода<div class="visible-by-container-rule <?=$prices->isFilled() ? '' : '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))?>'>
<?$prices->show()?>
</div>
</div>
<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
Наши несколько основных принципов:
- Открытый и честный подход
- Стоимость пропорциональна объему работ
- Качественное исполнение
Наш менеджер свяжется с Вами в ближайшее время!