fix
This commit is contained in:
parent
d3835ab721
commit
52271c3655
1 changed files with 5 additions and 1 deletions
|
@ -301,7 +301,11 @@ class MoySkladICMLParser
|
|||
|
||||
'purchasePrice' => isset($assortiment['buyPrice']['value']) ?
|
||||
(((float)$assortiment['buyPrice']['value']) / 100) :
|
||||
(((float)$assortiment['product']['buyPrice']['value']) / 100),
|
||||
(
|
||||
isset($assortiment['product']['buyPrice']['value']) ?
|
||||
(((float)$assortiment['product']['buyPrice']['value']) / 100) :
|
||||
0
|
||||
),
|
||||
|
||||
'weight' => isset($assortiment['weight']) ?
|
||||
$assortiment['weight'] :
|
||||
|
|
Loading…
Add table
Reference in a new issue