Configure Sales Score Decay

Sales score decay is the multiplier used to decay the sales score for inventory SKUs and navigation links. It is applied weekly and may be configured via config.sales_score_decay.

This decay is in place to manage changes in sales patterns over time. By gradually reducing the scores on a regular basis, fluctuations due to the changes in the seasons, holidays, etc will fade away instead of introducing permanent distortions.


# ...

Workarea.configure do |config|

  # ...

  config.sales_score_decay ||= 0.5

  # ...