Bitrix Site Manager

CPrice::SetBasePrice

bool
CPrice::SetBasePrice(
 int PRODUCT_ID, 
 float PRICE, 
 string CURRENCY
);

The method SetBasePrice is used to assign a base price to the specified product.

Parameters

ParameterDescription
PRODUCT_ID Product ID.
PRICE New base price.
CURRENCY Currency of the new base price.

Return Values

Returns True on success or False otherwise.