fix name attribute

This commit is contained in:
Vitaly Artemev 2016-03-17 10:40:47 +04:00
parent 8852b023e0
commit b3d13d5c60

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