adobe / commerce-cif-connector

AEM Commerce connector for Magento and GraphQL
Apache License 2.0
43 stars 27 forks source link

In Product Finder, products of a category that has sub-categories are not shown #122

Open mohand88 opened 4 years ago

mohand88 commented 4 years ago

Expected Behaviour

In Product Finder, when accessing to a category that has sub-categories and products, both sub-categories and products should be visible. image

Actual Behaviour

In Product Finder, when accessing to a category that has sub-categories and products, only sub-categories are shown. Products are not visible when I select my category.

Steps to Reproduce

  1. In Magento, create sub-categories Cat-1 and Cat-2 for a define category Cat-0 and assign products Prod-1, Prod-2 and Prod-3 to Cat-0
  2. Go in AEM Product Finder, find the linked Catalog and click on Cat-0 (only sub-categories Cat-1 and Cat-2 will appear, products Prod-1, Prod-2 and Prod-3 won't be visible)

Platform and Version

CIF Connector 0.10.0 AEM 6.5.0

For information

It seems that you have already discussed this issue with Olympe Kassa from Adobe. I have fix this point because for us, this was a blocker for contributors. So if you are interested, I can create a Pull Request. As Olympe recommend it, I have created a properties in OSGI to let customers use it ASIS now or to display both sub-categories and products.

okassa commented 4 years ago

@mohand88 thanks for sharing this issue which could be taken as an enhancement