Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 4b5a73f

Browse files
MAGETWO-80371: Exception when product added to cart with tiered price reduced to $0.00
1 parent 850b9e5 commit 4b5a73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ protected function modifyPriceData($object, $data)
360360
{
361361
/** @var array $priceItem */
362362
foreach ($data as $key => $priceItem) {
363-
if (isset($priceItem['price']) && $priceItem['price'] > 0) {
363+
if (array_key_exists('price', $priceItem)) {
364364
$data[$key]['website_price'] = $priceItem['price'];
365365
}
366366
if ($priceItem['all_groups']) {

0 commit comments

Comments
 (0)