bitrix получить все свойства товара по ID

Отправлено planktun от ср, 03/23/2016 - 15:16

$ar_res = CCatalogProduct::GetByIDEx($arItem["PRODUCT_ID"]);
                
echo print_r($ar_res  ,true);

$ar_res2 = CCatalogProduct::GetByID($arBasketItems["PRODUCT_ID"]);

Array

(

[ID] => 55497

[QUANTITY] => 326

[QUANTITY_RESERVED] => 90

[QUANTITY_TRACE] => Y

[QUANTITY_TRACE_ORIG] => D

[WEIGHT] => 0

[WIDTH] => 0

[LENGTH] => 0

[HEIGHT] => 0

[MEASURE] => 5

[VAT_ID] => 0

[VAT_INCLUDED] => Y

[CAN_BUY_ZERO] => N

[CAN_BUY_ZERO_ORIG] => D

[NEGATIVE_AMOUNT_TRACE] => N

[NEGATIVE_AMOUNT_TRACE_ORIG] => D

[PRICE_TYPE] => S

[RECUR_SCHEME_TYPE] => D

[RECUR_SCHEME_LENGTH] => 0

[TRIAL_PRICE_ID] =>

[WITHOUT_ORDER] => N

[SELECT_BEST_PRICE] => Y

[TMP_ID] =>

[PURCHASING_PRICE] =>

[PURCHASING_CURRENCY] =>

[BARCODE_MULTI] => N

[TIMESTAMP_X] => 23.03.2016 18:31:10

[SUBSCRIBE] => Y

[SUBSCRIBE_ORIG] => D

[TYPE] => 1

)

Теги