Skip to content

Commit 641e9a3

Browse files
authored
Merge pull request #1705 from algolia/fix/MAGE-1217-excluded-websites-3.14.5
MAGE-1217: Fix excluded websites feature for price indexing (3.14.5)
2 parents 70aac06 + d4c24e5 commit 641e9a3

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
@@ -135,6 +135,7 @@ public function addPriceData($customData, Product $product, $subProducts): array
135135
}
136136
if(count($excludedGroups) > 0) {
137137
$this->groups->addFieldToFilter('main_table.customer_group_id', ["nin" => $excludedGroups]);
138+
$this->groups->clear();
138139
}
139140
}
140141
// price/price_with_tax => true/false

0 commit comments

Comments
 (0)