GetByIDEx
array CCatalogProduct::GetByIDEx( int ID );
The method GetByIDEx returns an array of the product properties. The returned data contains all properties of the product including the catalog element properties.
Parameters
Parameter | Description |
---|---|
ID | Product ID. |
Return Values
Returns the associated array of the product properties on success, or False otherwise. The Example shows how to view all available properties of the product.
Example
<? $ID = 5; $ar_res = CCatalogProduct::GetByIDEx($ID); echo "<br>Product #".$ID." has the following parameters:<br><pre>"; print_r($ar_res); echo "</pre>"; ?>
© «Bitrix24», 2001-2024