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.
2 parents 8fc9670 + 62dd1fb commit 018a94bCopy full SHA for 018a94b
app/code/Magento/Elasticsearch/Model/Adapter/BatchDataMapper/PriceFieldsProvider.php
@@ -72,13 +72,15 @@ public function __construct(
72
*/
73
public function getFields(array $productIds, $storeId)
74
{
75
+ $websiteId = $this->storeManager->getStore($storeId)->getWebsiteId();
76
+
77
$priceData = $this->dataProvider->getSearchableAttribute('price')
78
? $this->resourceIndex->getPriceIndexData($productIds, $storeId)
79
: [];
80
81
$fields = [];
82
foreach ($productIds as $productId) {
- $fields[$productId] = $this->getProductPriceData($productId, $storeId, $priceData);
83
+ $fields[$productId] = $this->getProductPriceData($productId, $websiteId, $priceData);
84
}
85
86
return $fields;
0 commit comments