Documentation

prepareQuantityTrace

string public static
\Bitrix\Catalog\ProductTable::prepareQuantityTrace(
 string $value
);

Method gets value for the field QUANTITY_TRACE (enable stock control) and. if it equals to D, returns module's field setting QUANTITY_TRACE instead of current value. Service static method.

Parameters

ParameterDescriptionVersion
$valueQUANTITY_TRACE field value.

Example



© «Bitrix24», 2001-2024
Up