Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setFilterConfiguration example
$product
->
setConfiguration
(
$variantConfiguration
[
$number
]
)
;
}
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
(
)
]
)
;
}