ProductBestsellersRanking
https://github.com/magesuite/product-bestsellers-ranking
This module calculates product bestseller ranking.
Installation
This module is a part of MageSuite metapackage
Â
Installation if metapackage is not used:
composer require "creativestyle/magesuite-product-bestsellers-ranking" ^1.0.0
Admin settings
Settings for the module can be found under: Stores -> Configuration -> MageSuite -> Bestsellers
Â
Crone settings:
Name | Options | Note |
---|---|---|
Enable Daily Calculation |  Yes/No | If this option is enabled then cron will recalculate bestsellers |
Recalculation Cron Schedule | default: 0 3 * * * | Schedule expression for bestsellers recalculation cron (format: * * * * *) |
Use Transactions | Yes/No | If this option is enabled bestsellers recalculation will be wrapped in db transaction to not lose already calculated bestseller scores, if any error occurs during recalculation |
Enable cron crash detector | Yes/No | When enabled cron job will check if bestseller calculation daily cron job crashed and if so it will try to rerun it. |
Â
Orders period settings:
Name | Options | Note |
---|---|---|
Orders period |
| Â |
Â
Boosting factors settings:
Â
You can set up below boosting factors to increase product scoring during bestsellers calculation. If an order is older it gets a lower boosting factor.
Name | Options | Note |
---|---|---|
Boosting Factor A | 3 (default) | Orders within 7 days will get this boosting factor (eg. 3) |
Boosting Factor B | 2 (default) | Orders within 30 days will get this boosting factor (eg. 2) |
Boosting Factor C | 1 (default) | Orders within 356 days will get this boosting factor (eg. 1) |
Boosting Factor D | 0 (default) | Orders older than 365 days will get this boosting factor (eg. 0) |
Sold Out Decrease Factor | 1 (default) | Products that are sold out will have this decrease factor (eg. 0.5) |
Â
Sorting settings:
Name | Options | Note |
---|---|---|
Sorting direction | Ascending / descending | Â |
Â
Crone tab settings
Navigate to Stores -> Configuration. -> Advanced -> System
Â
Product page settings:
Name | Options | Note |
---|---|---|
Bestseller Score By Sale | Â | Field will be overwritten automatically every night |
Bestseller Score Multiplier | Â | Value in % |
Backend
Â
BE documentation is in progress
Â
Frontend
There is no frontend functionality in this module.