Skip to content

Commit a37d31f

Browse files
EroslaevJan Petr
authored andcommitted
[add-storeid-to-facets] Add storeId to getFacets when you send changes to algolia (for multistore) (#789)
1 parent fd756f4 commit a37d31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Entity/ProductHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ private function getAttributesForFaceting($storeId)
953953

954954
$currencies = $this->currencyManager->getConfigAllowCurrencies();
955955

956-
$facets = $this->configHelper->getFacets();
956+
$facets = $this->configHelper->getFacets($storeId);
957957
foreach ($facets as $facet) {
958958
if ($facet['attribute'] === 'price') {
959959
foreach ($currencies as $currency_code) {

0 commit comments

Comments
 (0)