mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 22:56:07 +03:00
fix name attribute
This commit is contained in:
parent
8852b023e0
commit
b3d13d5c60
@ -186,7 +186,7 @@ class ModelRetailcrmIcml extends Model
|
|||||||
|
|
||||||
if ($offer['weight'] != '') {
|
if ($offer['weight'] != '') {
|
||||||
$weight = $this->dd->createElement('param');
|
$weight = $this->dd->createElement('param');
|
||||||
$weight->setAttribute('color', 'weight');
|
$weight->setAttribute('code', 'weight');
|
||||||
$weight->setAttribute('name', $this->language->get('weight'));
|
$weight->setAttribute('name', $this->language->get('weight'));
|
||||||
$weightValue = (isset($offer['weight_class']))
|
$weightValue = (isset($offer['weight_class']))
|
||||||
? round($offer['weight'], 3) . ' ' . $offer['weight_class']
|
? round($offer['weight'], 3) . ' ' . $offer['weight_class']
|
||||||
|
Loading…
Reference in New Issue
Block a user