|
@@ 312-314 (lines=3) @@
|
| 309 |
|
$row['attributes'][Product::ATTRIBUTE_REFERENCE_QUANTITY] = null; |
| 310 |
|
} |
| 311 |
|
|
| 312 |
|
if (!(array_key_exists(Product::ATTRIBUTE_PACKAGEUNIT, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_PACKAGEUNIT])) { |
| 313 |
|
unset($row['attributes'][Product::ATTRIBUTE_PACKAGEUNIT]); |
| 314 |
|
} |
| 315 |
|
|
| 316 |
|
if (!(array_key_exists(Product::ATTRIBUTE_MANUFACTURERNUMBER, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER])) { |
| 317 |
|
unset($row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER]); |
|
@@ 316-318 (lines=3) @@
|
| 313 |
|
unset($row['attributes'][Product::ATTRIBUTE_PACKAGEUNIT]); |
| 314 |
|
} |
| 315 |
|
|
| 316 |
|
if (!(array_key_exists(Product::ATTRIBUTE_MANUFACTURERNUMBER, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER])) { |
| 317 |
|
unset($row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER]); |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
if (!(array_key_exists(Product::ATTRIBUTE_BASICUNIT, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_BASICUNIT])) { |
| 321 |
|
unset($row['attributes'][Product::ATTRIBUTE_BASICUNIT]); |
|
@@ 320-322 (lines=3) @@
|
| 317 |
|
unset($row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER]); |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
if (!(array_key_exists(Product::ATTRIBUTE_BASICUNIT, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_BASICUNIT])) { |
| 321 |
|
unset($row['attributes'][Product::ATTRIBUTE_BASICUNIT]); |
| 322 |
|
} |
| 323 |
|
$product = new Product($row); |
| 324 |
|
|
| 325 |
|
$this->eventManager->notify( |