We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3b5612 commit 8db1085Copy full SHA for 8db1085
app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPrice.php
@@ -99,11 +99,13 @@ public function checkProductsHaveEqualPrices():bool
99
foreach ($this->getUsedProducts() as $subProduct) {
100
if ($subProduct->isAvailable() && !$subProduct->isDisabled()) {
101
if ($specialPrice=$subProduct->getSpecialPrice()) {
102
- if ($specialPrice!=$minPrice || $subProduct->getFinalPrice()!=$minPrice) {
+ if ($specialPrice!=$minPrice) {
103
return false;
104
} else {
105
return true;
106
}
107
+ } elseif ($subProduct->getFinalPrice()<$minPrice) {
108
+ return false;
109
110
111
0 commit comments