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
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
Set up a discount for a product with a future date in the Special Price From and To fields.
Create a virtual category with the virtual rule "Only discounted products".
Verify if the product remains in your virtual category after the date in Special Price From has passed.
Wait until the end of the sale period (as defined in the To field), and confirm that the product is no longer in your virtual category.
Expected result
The product should appear in the category after the Special Price From date and disappear from the category after the To date
Actual result
Discounted product is not disappear after the "special to date" passed.
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:
I tried to reproduce your issue according to your steps. So, I create a virtual category with the virtual rule Only discounted products and set up a discount for some products (in my case three first) with a future date in the Special Price From and To fields, as from 8 to 11 November.
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 catalog_product_index_price table was updated.
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.
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 system.log file if you activate the Debug mode of Elasticsuite in: Stores -> Configuration -> Elasticsuite -> Base settings -> Elasticsearch Client -> Enable Debug Mode.
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: