Skip to content

Commit c6d7657

Browse files
committed
AC-13594: Special price is not showing correctly for Configurable product's child product (simple product)
Fix static test failures
1 parent 1cd0957 commit c6d7657

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Plugin/Model/ConfigPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public function __construct(
2828

2929
/**
3030
* Add special_price attribute to the list of attributes used in product listing
31-
* regardless of its used_in_product_listing setting
3231
*
3332
* @param Subject $subject
3433
* @param array $result
3534
* @return array
35+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
3636
*/
3737
public function afterGetAttributesUsedInProductListing(Subject $subject, array $result): array
3838
{

dev/tests/integration/testsuite/Magento/Catalog/Plugin/Model/ConfigPluginTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace integration\testsuite\Magento\Catalog\Plugin\Model;
8+
namespace Magento\Catalog\Plugin\Model;
99

1010
use Magento\Catalog\Api\ProductAttributeRepositoryInterface;
1111
use Magento\Catalog\Api\ProductRepositoryInterface;

0 commit comments

Comments
 (0)