magmodules / magento2-sooqr

Sooqr Connect for Magento® 2
https://www.magmodules.eu/sooqr-connect.html
Other
2 stars 3 forks source link

Categories in feeds aren't filtered based on the root category #70

Closed rexterkate-adwise closed 5 months ago

rexterkate-adwise commented 5 months ago

Describe the bug Only categories that are children of the root-category should be included in the feed. Now all categories are included

Used versions

To Reproduce Steps to reproduce the behavior:

  1. On a multistore Magento environment
  2. Set the 'Root Category' (Stores -> All Stores -> Pick the Store to edit) to different categories for each store
  3. Generate or preview Sooqrfeeds
  4. All categories (inside and outside the root category) are shown in the feeds for each store

Expected behavior Only categories that are children of the root-category are included in the feed voor each store

Actual behavior All categories (inside and outside the root category) are shown in the feeds for each store

Screenshots n.a.

Additional context Temporarily patch we use to work around the problem (only tested for our usecase)

magmodules-sooqr-fix-root-category.patch

Marvin-Magmodules commented 5 months ago

Hi @rexterkate-adwise, thank you for opening this issue and also supplying the patch! Just released v2.1.2 that includes this patch. We are closing this issue now but please feel free to reopen if it doesn't fit your needs.