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

Price Filter show wrong Price number into the slider #3389

Closed
mahesh-makwana-web-vision opened this issue Sep 17, 2024 · 5 comments
Closed
Assignees

Comments

@mahesh-makwana-web-vision
Copy link

mahesh-makwana-web-vision commented Sep 17, 2024

In the category filter, the price filter shows a minimum price of €3.00, even though no products are listed with that price. There is a product priced at €3.90, which should be reflected in the filter.

Preconditions

Magento ver. 2.4.5-p9
ElasticSuite Open Source ver. 2.10.15.1

Environment : Production

Steps to reproduce

  1. Add products to a category with prices ranging from €3 to €1000.
  2. Ensure at least one product has a price of €3.90.
  3. Run the reindexing and clear the cache.
  4. Check the category filter.

Expected result

  1. The price filter should show the correct minimum price (e.g., €3.90) based on the actual product prices in the category.

Actual result

  1. The price filter shows a minimum price of €3.00, which does not match any product in the category.

TEST

@mahesh-makwana-web-vision
Copy link
Author

mahesh-makwana-web-vision commented Sep 23, 2024

Hello @romainruaud

We are encountering an issue where the price filter is displaying incorrect values, including zero, even though no products have a zero price.

After reindexing, the issue is temporarily resolved, but it reappears after a few days.

What steps should I take to fix this issue?

Is it related to this issue : #3300

Thanks.

@vahonc
Copy link
Collaborator

vahonc commented Sep 23, 2024

Hello @mahesh-makwana-web-vision,

Have you checked these two comments #1, #2?

Are you able to test the wrong price number issue without the ElasticSuite module, cause there could be some bug in the core of Magento?

BR,
Vadym

@mahesh-makwana-web-vision
Copy link
Author

Hello @vahonc

In my case, the price is not showing as a negative number, but it's showing as zero, and the filter is displaying incorrect products as a result.

When I run the indexer, the issue is fixed, but after a few days, when I add or update products again, the issue reappears.

It seems that adding or updating products is causing something to go wrong with the indexer.

For your information, products are added and updated via an import script, so we do not use the Magento admin interface, and the indexer is set to scheduled mode.

Thanks.

@vahonc
Copy link
Collaborator

vahonc commented Sep 30, 2024

@mahesh-makwana-web-vision,

Could you enable the debug mode of Elasticsuite and give us the query it's generating?

Also, provide (if it's possible) a code of your import script.

BR,
Vadym

Copy link

This issue was waiting update from the author for too long. Without any update, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution.

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