Commit 8f8a509e authored by Kulya's avatar Kulya 😊

Upd alvbx add prods6

parent 0c7aaa22
......@@ -387,6 +387,7 @@ class AloVoiceRest
"name" => $data["name"],
"code" => $this->translit($data["name"]),
"xmlId" => $xmlId,
"iblockSectionId" => (!empty($data["price"])) ? $data["sid"] : 0,
"quantity" => (!empty($data["qty"])) ? $data["qty"] : 0,
"quantityTrace" => 'N',
];
......@@ -395,11 +396,7 @@ class AloVoiceRest
$arNewProductParams["purchasingCurrency"] = $currency;
$arNewProductParams["purchasingPrice"] = $data["price"];
}
if(!empty($data["sid"])){
$arNewProductParams["iblockSectionId"] = $data["sid"];
}
if(!empty($conf["bxbillzfields"])){
foreach($conf["bxbillzfields"] as $bxf=>$blzf){
$bxFld = substr($bxf,9);
......
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