Merge pull request #9 from VitalyArt/bugfix

fix name attribute
This commit is contained in:
Alex Lushpai 2016-04-11 18:27:47 +04:00
commit 84acd2e0ab

View File

@ -186,7 +186,7 @@ class ModelRetailcrmIcml extends Model
if ($offer['weight'] != '') {
$weight = $this->dd->createElement('param');
$weight->setAttribute('color', 'weight');
$weight->setAttribute('code', 'weight');
$weight->setAttribute('name', $this->language->get('weight'));
$weightValue = (isset($offer['weight_class']))
? round($offer['weight'], 3) . ' ' . $offer['weight_class']