-
Notifications
You must be signed in to change notification settings - Fork 342
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
"Only discounted products" Virtual category rule is not reading "special from and to dates" in discounted products to load products #3430
Comments
Hello @indunie, I tried to reproduce your issue according to your steps. So, I create a virtual category with the virtual rule Indeed, when the "special to date" passed the discounted products did not disappear from the virtual category and the prices didn't change in the database. But after running reindex this issue was fixed, the products disappeared from the category, and So you may need to check the Magento cron job to make sure that the price index updating is configured correctly. Also, clarify what exactly version of Magento you are using, I mean OS, CE or EE. BR, |
Hello @vahonc , Thank you for checking the issue. The version I am using is Magento CE 2.4.6-p7. Reindexing crons are working well, but it doesn't fix the issue. |
Have you tried to run a manual re-index? This is very strange because I couldn't reproduce your issue on the fresh Magento, at least it was fixed by manual re-index, and products with the passes "special to date" disappeared from the virtual category. Could you provide more details about your Magento instance, especially if you are using any third-party extension? Also please provide an extract of the queries that are being sent to ES when you are browsing categories. You can get it from the BR, |
Hello @vahonc , Thank you for your attension on this issue. I am having multiple stores and special prices have been set store wise. Please see the below example and let me know if I am having any wrong data inserted in my database related to the below example. Ex : Arapahoe Boot Check the 8th row which was related to my AU store product. All dates are expired and it will not removed from the category with mannual reindex either. Virtual category configurations as below. Could you please review these configurations and let me know if I did anything wrong? Also please find the extracted query from the system.log file for the category load. Thank you. BR, |
How many virtual categories are you using in your store? Are all child categories of the Sale category from the screenshots is virtual? And what about assigning your test product in websites? BR, |
Hello @vahonc , There are 5 child categories set for the "Sale" parent category. I don't think it has more than 5 virutal categories for the store. Let me know if you need further information. BR, |
Hello @vahonc , I just figure out all the products which don't have special prices set which were displayed with the virtual category have been come from the non virtual subcategory of the "Sale" parent category. Once I detach that non virtual subcategory from the parent issue was fixed. i really appreciate your support and cooperation in this matter. Thank you. Best regards, |
Preconditions
Magento ver. 2.4.6-p7 and ElasticSuite Open Source ver. 2.11.9 (on elasticsearch ver. 8.15.1).
in both production and developer modes
Steps to reproduce
Expected result
Actual result
It seems like Special Price From and To are not being used to verify if a discount is active.
The below issue is related to this but I couldn't find it as resolved.
#2928
The text was updated successfully, but these errors were encountered: