|
@@ 303-305 (lines=3) @@
|
| 300 |
|
$row['attributes'][Product::ATTRIBUTE_REFERENCE_QUANTITY] = null; |
| 301 |
|
} |
| 302 |
|
|
| 303 |
|
if (!(array_key_exists(Product::ATTRIBUTE_PACKAGEUNIT, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_PACKAGEUNIT])) { |
| 304 |
|
unset($row['attributes'][Product::ATTRIBUTE_PACKAGEUNIT]); |
| 305 |
|
} |
| 306 |
|
|
| 307 |
|
if (!(array_key_exists(Product::ATTRIBUTE_MANUFACTURERNUMBER, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER])) { |
| 308 |
|
unset($row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER]); |
|
@@ 307-309 (lines=3) @@
|
| 304 |
|
unset($row['attributes'][Product::ATTRIBUTE_PACKAGEUNIT]); |
| 305 |
|
} |
| 306 |
|
|
| 307 |
|
if (!(array_key_exists(Product::ATTRIBUTE_MANUFACTURERNUMBER, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER])) { |
| 308 |
|
unset($row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER]); |
| 309 |
|
} |
| 310 |
|
|
| 311 |
|
if (!(array_key_exists(Product::ATTRIBUTE_BASICUNIT, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_BASICUNIT])) { |
| 312 |
|
unset($row['attributes'][Product::ATTRIBUTE_BASICUNIT]); |
|
@@ 311-313 (lines=3) @@
|
| 308 |
|
unset($row['attributes'][Product::ATTRIBUTE_MANUFACTURERNUMBER]); |
| 309 |
|
} |
| 310 |
|
|
| 311 |
|
if (!(array_key_exists(Product::ATTRIBUTE_BASICUNIT, $row['attributes']) && $row['attributes'][Product::ATTRIBUTE_BASICUNIT])) { |
| 312 |
|
unset($row['attributes'][Product::ATTRIBUTE_BASICUNIT]); |
| 313 |
|
} |
| 314 |
|
$product = new Product($row); |
| 315 |
|
|
| 316 |
|
$this->eventManager->notify( |