Skip to content

Catalog Product Index category.is_virtual flag #3579

@vpashovski

Description

@vpashovski

Hello, I want Virtual Categories in my catalog_product index.
I can see there is a flag in it, but it is not populated for Virtual Categories:

Image

I found that this flag is set to true only if products are ordered manually from the backend.

Is there any way to index those categories and add them there? I tried one solution, but products for virtual categories are getting with elasticsearch query and when there is no index created yet, there is a problem.
Can't find how to get products for virtual categories without querying elastic.

Any suggestions here how I can populate this during catalogsearch_fulltext reindex?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions