Filter

Hallo,

wir befinden uns momentan in der Umstellung von Shopware 4 auf Shopware 5.1.6 (wegen Template).

In Shopware 4 haben wir per Plugin die Filter auf der Startseite anzeigen lassen.

        $categoryId = 3;
        $articleProperties = Shopware()->Modules()->Articles()->sGetCategoryProperties($categoryId, null);
            $this->View()->assign(array(
                   'sPropertiesOptionsOnly' => $articleProperties['filterOptions']['optionsOnly'] ?: array(),
                   'sPropertiesGrouped' => $articleProperties['filterOptions']['grouped'] ?: array()
            ));

Leider gibt es die Funktion: sGetCategoryProperties in den Articles Modules nicht mehr.

Frage, wo finde ich die entsprechende Funktion nun in SW 5?

Gruss

Schoppy