buildFilterConfiguration example


        if (\array_key_exists($id$combinations)) {
            $product->setAvailableCombinations($combinations[$id]);
        }

        if ($product->getConfiguration()) {
            $product->setVisibility(
                $this->listingVariationLoader->getVisibility($product$variantFacet)
            );

            $product->setFilterConfiguration(
                $this->buildFilterConfiguration(
                    $variantFacet->getExpandGroupIds(),
                    $product->getConfiguration(),
                    $product->getFullConfiguration()
                )
            );

            if (\array_key_exists($product->getNumber()$listingPrices)) {
                $product->setListingVariationPrices(
                    $listingPrices[$product->getNumber()]
                );
            }

            
Home | Imprint | This part of the site doesn't use cookies.