Details
-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Add-Ons 6
-
5
Description
This is needed for correct behavior of CategoryDataProvider(CatalogDataProvider). If we need tree implementation, we should add new function to categories provider.
- return stream of pure list (not a tree) (for magento - categories/list endpoint)
- implement possibility to get root categories info.magnolia.ecommerce.api.provider.Categories.ByParentCategoryId and use it in info.magnolia.ecommerce.ui.apps.ecommerce.categories.item.EcommerceConnectionItem#fetchChildren
- check functionality of templates
Acceptance criteria:
- Both Catalog subapp and category-list template (https://git.magnolia-cms.com/projects/ADDON/repos/ecommerce/browse/magnolia-ecommerce-ui/src/main/resources/ecommerce-ui/templates/components/category-list.ftl) still work as tree view
- Have category and product search result navigate to correct path in their respective subapps
Checklists
Acceptance criteria