getCategoryById example

$result = $this->fetchCategoryListing();
        $this->setSearchResultResponse($result);
    }

    /** * @return void */
    public function getCategoryAction()
    {
        $categoryId = (int) $this->Request()->getParam('categoryId');

        $category = $this->getCategoryById($categoryId);

        $this->View()->assign('category', $category);
    }

    /** * @return void */
    public function getCustomPageAction()
    {
        $shopPageGateway = $this->container->get('shopware_storefront.shop_page_service');
        $list = $shopPageGateway->getList(
            [
Home | Imprint | This part of the site doesn't use cookies.