Skip to content

Commit 5ffad34

Browse files
authored
Merge pull request #1704 from algolia/fix/MAGE-1217-excluded-websites
MAGE-1217: Fix excluded websites feature for price indexing
2 parents 61a91c6 + a649418 commit 5ffad34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Helper/Entity/Product/PriceManager/ProductWithoutChildren.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public function addPriceData($customData, Product $product, $subProducts): array
136136
}
137137
if(count($excludedGroups) > 0) {
138138
$this->groups->addFieldToFilter('main_table.customer_group_id', ["nin" => $excludedGroups]);
139+
$this->groups->clear();
139140
}
140141
}
141142
// price/price_with_tax => true/false

0 commit comments

Comments
 (0)