CodeExplorer arrayCombinations example
if (!
isset($configurations[$product->
getNumber()]) || !
isset($prices[$product->
getId()])) { continue;
} $configuration =
$configurations[$product->
getNumber()];
$groups =
$this->
getFilteredGroups($configuration,
$variantFacet);
if (empty($groups)) { continue;
} $combinations = self::
arrayCombinations($groups);
$combinationPrices[$key][$product->
getNumber()] =
$this->
getCombinationPrices( $configuration,
$prices[$product->
getId()],
$combinations,
$variantFacet );
} } $contexts =
$this->
getPriceContexts($shop);