Why before calling the component and after calling the component bitrix:catalog.store.amount :
<?$APPLICATION->IncludeComponent("bitrix:catalog.store.amount", "store_amount", array( "ELEMENT_ID" => $ElementID, "STORE_PATH" => $arParams['STORE_PATH'], "CACHE_TYPE" => "A", "CACHE_TIME" => "36000", "MAIN_TITLE" => $arParams['MAIN_TITLE'], "USE_MIN_AMOUNT" => $arParams['USE_MIN_AMOUNT'], "MIN_AMOUNT" => $arParams['MIN_AMOUNT'], "STORES" => $arParams['STORES'], "SHOW_EMPTY_STORE" => $arParams['SHOW_EMPTY_STORE'], "SHOW_GENERAL_STORE_INFORMATION" => $arParams['SHOW_GENERAL_STORE_INFORMATION'], "USER_FIELDS" => $arParams['USER_FIELDS'], "FIELDS" => $arParams['FIELDS'] ), $component, array("HIDE_ICONS" => "Y") );?> $ElementId=5; ( b_catalog_store_product nothing in the b_catalog_store_product table). However, in the bitrix:catalog.store.amount component bitrix:catalog.store.amount , if you set echo $arParams["ELEMENT_ID"]; then mp are displayed id = 65 ; и кол-во торгового предложения, не товара (Если прописать ; и кол-во торгового предложения, не товара (Если прописать print_r ($ arResult ["STORES"]) , то выведет [0] => Array ([ID] => 0 [AMOUNT] => 105 `)). The total balance of goods is 100 ". (if the sales proposal, then the balance must be = 105)Why dont know....