Commit 5ece354c authored by Kulya's avatar Kulya 😊

Upd alvbx add prods3

parent 5126f0ca
......@@ -371,7 +371,7 @@ class AloVoiceRest
$result = BxRest::call('catalog.product.list',[
"filter" => [
"xmlId" => $data["xmlId"],
"xmlId" => $xmlId,
"iblockId" => $conf["bx_catalog_id"],
],
"select" => $select
......@@ -386,7 +386,7 @@ class AloVoiceRest
"iblockId" => $conf["bx_catalog_id"],
"name" => $data["name"],
"code" => $this->translit($data["name"]),
"xmlId" => $data["id"],
"xmlId" => $xmlId,
"quantity" => (!empty($data["qty"])) ? $data["qty"] : 0,
"quantityTrace" => 'N',
];
......@@ -411,7 +411,7 @@ class AloVoiceRest
$blzVal = $blzf;
}
if( $bxFld != "xmlId" && $bxFld != "quantity" ){
if( $bxFld != "ID" && $bxFld != "xmlId" && $bxFld != "quantity" ){
$arNewProductParams[$bxFld] = $blzVal;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment