M2.4.3, v1.1.1: Not compatible with elasticsearch

Created by Esther Nguyen, Modified on Mon, 26 Sep 2022 at 02:43 PM by Esther Nguyen

ISSUE:

I have set the default page limit to 60 on the category page but only shown 59 items. I enable the admin preview option in 1 of 60 items so that 60 products indexes in elastic search but no filter 'Admin Preview' this attribute in the elastic search index.


For example, the collection included 60 items and enabled 2 products admin preview config to display 58 items on the product listing page. If the Admin Preview config is enabled, only 13 items are displayed per page. Otherwise, 15 items will be shown if disabling this config. The product listing display should be 58 (items) / 15 (products per page on grid value) but now 60 (items) / 15 (products per page on grid value)  so that displaying 2 empty grids.


SOLUTION:

Unfortunately, our Admin Product Preview Plus module has not been compatible with elastic search


To resolve the issue, please download the file attached below and insert them into the following path:

app/code/Bss/AdminPreview/Model/Elasticsearch/FilterProductElasticsearch.php

app/code/Bss/AdminPreview/Plugin/Elasticsearch.php

app/code/Bss/AdminPreview/etc/frontend/di.xml


If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article