Skip to content

Commit

Permalink
MAGETWO-57056: [Backport] [GitHub] Configurable product disabling low…
Browse files Browse the repository at this point in the history
…est price associated product still shows its price #4419 - for 2.0

- fix builds
  • Loading branch information
vnayda committed Oct 27, 2016
1 parent 482da28 commit da533ee
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ public function build($productId)

return [$priceSelect];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ public function build($productId)

return $select;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ public function build($productId)

return [$priceSelect];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public function getProducts(ProductInterface $product)
}
return $this->products[$product->getId()];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ public function resolvePrice(\Magento\Framework\Pricing\SaleableInterface $produ

return (float)$price;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ private function getConfigurableOptionsProvider()
}
return $this->configurableOptionsProvider;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ public function getProducts(ProductInterface $product)
->addIdFilter($productIds)
->addAttributeToSelect('*')
->addPriceData()
->addTierPriceData();
->addTierPriceData()
->getItems();
return $lowestPriceChildProducts;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ interface LowestPriceOptionsProviderInterface
* @return \Magento\Catalog\Api\Data\ProductInterface[]
*/
public function getProducts(\Magento\Catalog\Api\Data\ProductInterface $product);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ public function testResolvePriceDataProvider()
'price of five' => [5],
];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ public function hasSpecialPriceDataProvider()
[20., 10., true],
];
}
}
}

0 comments on commit da533ee

Please sign in to comment.