1
0
Fork 0
mirror of synced 2025-04-09 12:02:04 +00:00

upload images

This commit is contained in:
Sergey 2017-09-29 15:24:44 +03:00
parent a76aec189c
commit b1acc68e91

View file

@ -396,7 +396,7 @@ class MoySkladICMLParser
$products[$assortiment['id']]['image']['imageUrl'] = $urlImage;
$products[$assortiment['id']]['image']['name'] =
isset($assortiment['image']['filename']) ?
$assortiment['image']['filename'] : $assortiment['id'].'.jpg';
$assortiment['image']['filename'] : $assortiment['product']['image']['filename'];
}
}