Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Categories preview showing empty list. #104

Closed
romainruaud opened this issue Sep 1, 2016 · 3 comments
Closed

Virtual Categories preview showing empty list. #104

romainruaud opened this issue Sep 1, 2016 · 3 comments

Comments

@romainruaud
Copy link
Collaborator

This issue seems to occurs on multiple websites instance.

Symptoms :

  • when building a virtual category in back-office, the preview remains always empty "Your product selection is empty".
  • the virtual category in front office is fine, displaying products matching the rule that have been set in the back-office.
@romainruaud
Copy link
Collaborator Author

I cannot reproduce this issue.

Even in a multiple website/store instance.

@vo1 could you come back to us to give us more details ?

Regards,

@romainruaud
Copy link
Collaborator Author

Closed due to 1 week without any update.

@vo1 feel free to reopen this issue if needed.

@afoucret
Copy link
Contributor

I was able to reproduce this issue when installing sample data are installed after the module.
The reason is that some category are created with the is_anchor attribute set to false.

It is impossible to have this with ElasticSuite.

A quick patch is to update the is_anchor attribute into the database:

UPDATE catalog_category_entity_int SET value = 1 WHERE attribute_id IN (SELECT attribute_id FROM eav_attribute WHERE attribute_code LIKE '%is_anchor%');

If you have custom code (mostly import for categories), check the is_anchor attribute is set to 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants