You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the category, go to the overview 'Products List Preview and Sorting'
Set some products to invisible/blacklist (the green eye in the top right corner)
Save the settings and indexer:reindex
Expected result
The invisible products should be visible as blacklisted products, to have the opportunity to set them back to the visible overview
Actual result
Once indexer is finished, the products disappear from the overview, so you have no possibility to make the products visible again.
We created a workaround to get the product visible at the store views with around plugin for the : Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration class.
This turns off the blacklistedProducts $containerFilters. As I wrote above, this will work only on the store view level. If i set the product on the 'All Store Views' level to invisible, the product disappears on the 'All Store Views' AND also in the standard store (for me store_id = 3).
This behaviour may result from an incorrect handling of blacklist in the default scope (id=0) and index data from the default store view (in my case id=3) on reindex process.
The text was updated successfully, but these errors were encountered:
I understand your fix but it's quite "hacky" and cannot remain as is. As far as I remember, blacklisted products were shown properly on the BO when we implemented this feature, so it's more likely a regression on our side.
We'll try to reproduce this bug and to provide a fix for this one. Most probably, the blacklist filter should not be applied on the query which is used to fetch the preview of categories in BO. We should ensure the same issue is not occuring on the Search term result preview either.
Best regards, and thank you for reporting it.
@androshchuk can you try to reproduce this one and to provide an accurate fix ?
Preconditions
Magento Version : 2.3.1
ElasticSuite Version : 2.8.0
Environment : dev
Third party modules : nothing relevant
Steps to reproduce
Expected result
Actual result
We created a workaround to get the product visible at the store views with around plugin for the : Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration class.
This turns off the blacklistedProducts $containerFilters. As I wrote above, this will work only on the store view level. If i set the product on the 'All Store Views' level to invisible, the product disappears on the 'All Store Views' AND also in the standard store (for me
store_id = 3
).This behaviour may result from an incorrect handling of blacklist in the default scope (
id=0
) and index data from the default store view (in my caseid=3
) on reindex process.The text was updated successfully, but these errors were encountered: