ps_crossselling Allow for configuration of number of orders analyzed #29140
Labels
BO
Category: Back Office
Cross selling
Module: ps_crossselling
Feature
Type: New Feature
Module
Module
Needs Specs
Status: issue needs to be specified
PR available
Solution: issue is being addressed
Projects
Prerequisites
Is your feature request related to a problem?
The current release is not working on larger installations (see #20874) because too many orders are inspected.
There have been number of resolution attempts for this, but unfortunately the diverge in the number of orders analyzed (see commits PrestaShop/ps_crossselling@e3b11e2 and PrestaShop/ps_crossselling@a26cec6). This may be due to the fact that the optimum number may vary a lot depending on the number of orders and products in the shop and the average number of products per order.
Describe the solution you'd like
A better solution would be to make this number configurable and take a reasonable default value.
Alternatives you've considered
None. As long as the performance problem in #20874 is not solved, the module cannot be used in production due to excessive slowdown.
Additional context
No response
Do you plan to work on this feature?
The text was updated successfully, but these errors were encountered: