Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Category filters in layered navigation #334

Open
PandaTawer3 opened this issue Aug 20, 2021 · 5 comments
Open

Category filters in layered navigation #334

PandaTawer3 opened this issue Aug 20, 2021 · 5 comments
Labels
question If you are not sure how sth works or want discuss someting VSF1 Issues in regards to VSF1

Comments

@PandaTawer3
Copy link

I am trying to add a category filter to layered navigation such as in Magento 2.

I added a new property to defaultFilters on config/local.json
"defaultFilters": [ "price", "category_ids" ],

Also, I added this to elastic.schema.product.json
"category_ids": {"type": "integer"},

I rebuilt container but when I try to go to category page I see the error that "Products don't synchronous for this category"

In field "category_ids" value like as 1682.

What can I do? Or maybe all my steps are wrong? I need to do it

UPD: I also tried to add a category to defaultFilters and add it to productList->includeFields and productListWithChildren->includeFields. No one errors but results are not shown too.

@bloodf bloodf reopened this Aug 20, 2021
@bloodf bloodf added question If you are not sure how sth works or want discuss someting VSF1 Issues in regards to VSF1 labels Aug 20, 2021
This issue is being transferred. Timeline may not be complete until it finishes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question If you are not sure how sth works or want discuss someting VSF1 Issues in regards to VSF1
Projects
None yet
Development

No branches or pull requests

2 participants