Answer the question
In order to leave comments, you need to log in
How to correctly get the availability of goods in 1s Bitrix and bring it to the limit for delivery services?
I'm trying to make a restriction for delivery services on the availability of goods.
formatted like this:
$arQuantity = CCatalogProduct::GetByID($arResult['ID']);
$quantityAll = $arQuantity['QUANTITY'];
if ($quantityAll > 0) {
return true;
} else {
return false;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question