Commit eb5af32b authored by Kulya's avatar Kulya 😊

Upd alvbx add prods7

parent 26327060
...@@ -409,7 +409,7 @@ class AloVoiceRest ...@@ -409,7 +409,7 @@ class AloVoiceRest
$blzVal = (!empty($data["properties"][$blzSubFldCode])) ? $data["properties"][$blzSubFldCode] : false; $blzVal = (!empty($data["properties"][$blzSubFldCode])) ? $data["properties"][$blzSubFldCode] : false;
} }
else { else {
$blzVal = $blzf; $blzVal = $data[$blzf];
} }
if( $bxFld != "ID" && $bxFld != "xmlId" && $bxFld != "quantity" && !empty($blzVal) ){ if( $bxFld != "ID" && $bxFld != "xmlId" && $bxFld != "quantity" && !empty($blzVal) ){
...@@ -443,6 +443,9 @@ class AloVoiceRest ...@@ -443,6 +443,9 @@ class AloVoiceRest
} }
} }
var_dump($arNewProductParams);
BillzRest::setLog($arNewProductParams); BillzRest::setLog($arNewProductParams);
$arProduct = BxRest::call('catalog.product.add',["fields"=>$arNewProductParams]); $arProduct = BxRest::call('catalog.product.add',["fields"=>$arNewProductParams]);
......
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