Good day
It is necessary when importing goods from 1C to 1C-Bitrix rewrite the price $arFields['PRICE']=$arFields['PRICE']/100*110;
, in init.php threw an event (I found something similar on the forum), but the price does not change
<? AddEventHandler("iblock", "OnBeforeIBlockElementUpdate", Array("MyClass", "OnBeforeIBlockElementUpdateHandler")); class MyClass { function OnBeforePriceUpdateHandler($PRICE_ID, $arFields) { $db_price = CPrice::GetList( array(), array( "ID" => $PRICE_ID ) ); if($ar_price = $db_price->Fetch()) { if($ar_price['PRICE'] != $arFields['PRICE']) { $arFields['PRICE']=$arFields['PRICE']/100*110; } } } }