Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setFacetResults example
$diff
=
array_diff
(
$condition
->
getValueIds
(
)
,
$ids
)
;
$filtered
= \
count
(
$condition
->
getValueIds
(
)
)
!== \
count
(
$diff
)
;
if
(
$filtered
)
{
break
;
}
}
if
(
!
$filtered
)
{
$new
[
]
=
$propertyFacet
;
}
}
$facet
->
setFacetResults
(
$new
)
;
}
}