1
0
Fork 0
mirror of synced 2025-04-09 12:02:04 +00:00
This commit is contained in:
Azgalot 2017-06-14 15:37:43 +03:00
parent d3835ab721
commit 52271c3655

View file

@ -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'] :