Skip to content

Commit d4c24e5

Browse files
committed
Reset customer group collection after filtering
1 parent 70aac06 commit d4c24e5

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)