shopwareDowntown / downtown

With our portal, we want to support local authorities and merchants. We want to connect merchants with closed stores to their customers. And we want to keep in mind, that not every merchant has a sophisticated digital strategy - or even a homepage.
https://github.com/shopwareDowntown/portal/wiki
MIT License
45 stars 29 forks source link

Categories are hidden, even when there is a merchant in subcategories #339

Open Nico-Schaefer-2111 opened 4 years ago

Nico-Schaefer-2111 commented 4 years ago

Like the headings said, there is a problem with category listing even when there is a merchant in the subcategory of it.

shyim commented 4 years ago

The current code does not consider sub categories. It allows only one level. You need to extend it here https://github.com/shopwareDowntown/downtown/blob/master/src/Merchants/Storefront/Services/NavigationLoader.php#L182