Skip to content

Commit 068981d

Browse files
committed
AC-15237: 'As low as' price label is shown for configurable products with single option
Updated "As low as" label for configurable product with single option. Added Unit and Integration test coverage
1 parent 4eae359 commit 068981d

File tree

3 files changed

+980
-3
lines changed

3 files changed

+980
-3
lines changed

app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function isChildProductsOfEqualPrices(SaleableInterface $product): bool
253253
}
254254
}
255255

256-
if ($saleableChildrenCount <= 1 || $firstFinal === null || !$allEqual) {
256+
if ($saleableChildrenCount < 1 || $firstFinal === null || !$allEqual) {
257257
$product->setData($memoKey, false);
258258
$this->equalFinalPriceCache[$cacheKey] = false;
259259
return false;

0 commit comments

Comments
 (0)