+7 499 938 8452 пн.-пт. 10:00 – 17:00

Не нашли ответы на свои вопросы в наших публикациях? Задайте вопрос в службу техподдержки!


// init.php
AddEventHandler('acrit.import', 'OnAfterFillData', static function (\Acrit\Import\Import $profile, &$arSectFields, &$arIBFields, &$arItemProduct, &$arItemPrices, &$arItemPricesCurrencies, &$arItemStores) {
	$profileId = $profile->getArProfile()['ID'];
	if ($profileId == 1) { // для первого профиля
		$arItemProduct['PURCHASING_CURRENCY'] = 'EUR'; // для закупочной цены ставим "евро"
		if (count($arItemPrices) > 0) {
			foreach ($arItemPrices as $price) {
				$arItemPricesCurrencies[ $price['CATALOG_GROUP_ID'] ] = 'RUB'; // для всех остальных цен - рубли
			}
		}
	}
});


Назад в раздел



Часто задаваемые вопросы по модулям экспорта

Видео плейлист по настройке модулей экспорта