public function getListingPrices( Shop
$shop,
array
$products,
array
$configurations,
?VariantFacet
$variantFacet = null
) { $combinationPrices =
[];
$contexts =
$this->
getCustomerGroupContexts($shop);
/** @var ShopContextInterface $context */
foreach ($contexts as $context) { $prices =
$this->
fetchPrices($products,
$context);
$key =
$context->
getCurrentCustomerGroup()->
getKey();
foreach ($products as $product) { if (!
isset($configurations[$product->
getNumber()]) || !
isset($prices[$product->
getId()])) { continue;
}