Skip to content

Commit a9fd38a

Browse files
committed
AC-13594: Special price is not showing correctly for Configurable product's child product (simple product)
Fix for failing WebAPI test related to bundle product
1 parent 2770160 commit a9fd38a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Pricing/Price/SpecialPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function getSpecialPrice()
8585
$specialPrice = $this->product->getSpecialPrice();
8686

8787
// If special_price is not loaded (null and attribute not loaded), load it from resource
88-
if ($specialPrice === null) {
88+
if ($specialPrice === null && $this->product->getTypeId() === 'simple') {
8989
$specialPrice = $this->getSpecialPriceFromResource();
9090
}
9191

0 commit comments

Comments
 (0)