Configuration
Open Add-ons > Manage add-ons > Top Vendors & Marketplace Leaderboards > Settings. Changes apply at the next recompute (Vendors > Leaderboards > Recompute now).
Ranking
Section titled “Ranking”| Setting | Default | What it does |
|---|---|---|
| Enable leaderboards | On | Off hides the blocks, badges and My ranking and stops the recompute. Rankings and history are kept. |
| Order statuses that count | Paid, Complete | Vendor orders in these statuses count for sales and orders. Cancelled, declined, failed and incomplete orders never count, even if selected. If your store has its own “Refunded” status, leave it unchecked. |
| Minimum orders to rank | 3 | Counted orders a vendor needs in the period to appear on the sales, orders, most improved and category leaderboards. |
| Rating source | Vendor reviews | Vendor reviews (Comments and reviews add-on), the average of the vendor’s product reviews (Product reviews add-on) or the core Vendor rating score (0-100, shown as stars out of 5). |
| Minimum reviews to rank by rating | 3 | Reviews a vendor needs in the period to be ranked by rating. Not used with the core Vendor rating source. |
| New vendors: joined within (days) | 90 | Active vendors with at least one product who joined within this many days appear on the New vendors leaderboard, newest first. |
| Category leaderboards down to level | 2 | Category leaderboards are computed for every category down to this level. |
Fair play
Section titled “Fair play”| Setting | Default | What it does |
|---|---|---|
| Ignore orders placed by the vendor’s own staff | On | An order placed from an account that belongs to the selling vendor does not count. |
| Ignore orders with an approved or completed return | On | Needs the RMA add-on. |
| Excluded vendor plans | none | Vendors on these plans are never ranked (Vendor plans add-on). |
| Excluded vendors | none | Edited on Vendors > Leaderboards > Exclusions (vendor picker). Excluded vendors are never ranked and never get a badge. |
Always ignored: parent orders of multi-vendor checkouts (each vendor’s own order counts), orders placed after the run started (next run), shipping and taxes (sales = subtotal minus subtotal discount), vendors that are not active, vendors without active products.
Storefront
Section titled “Storefront”| Setting | Default | What it does |
|---|---|---|
| Leaderboards shown on the storefront | all | Blocks and badges of unchecked leaderboards stay empty. Vendors still see their own rank everywhere. |
| Show the vendor rating on cards | On | Stars and the average rating. |
| Show the product count on cards | On | Number of active products. |
| Show position changes on cards | On | Places gained or lost since the ranking of the previous day. A second recompute on the same day keeps the same comparison. |
Revenue and order counts are never shown on the storefront, whatever these settings say.
“Top seller” badges
Section titled ““Top seller” badges”| Setting | Default | What it does |
|---|---|---|
| Show “Top seller” badges | On | |
| Badge leaderboard | Top sellers | Top sellers, Most orders (both labelled “Top seller”) or Top rated (“Top rated”). The leaderboard must be shown on the storefront. |
| Badge period | Last 30 days | |
| Badge for the top | 10 | Vendors ranked 1 to N get the badge. |
| Badge on the vendor store page | On | A badge with the rank and period above the vendor’s products. |
| Badge on product cards | Off | A small label on product cards of top vendors in product lists. |
Schedule
Section titled “Schedule”| Setting | Default | What it does |
|---|---|---|
| Recompute daily from panel visits | On | Without a cron job, administrator and vendor panel page views after the hour below run the daily recompute in short steps (at most 8 seconds each, small chunks). It switches itself off while a cron job runs, and after three steps without progress it stops and shows “cron needed” on Vendors > Leaderboards. |
| Daily recompute after (hour) | 3 | Store time zone. |
| Vendors per chunk | 200 | Vendors read at a time. Lower it on a slow database. |
For a fixed time, add a cron job (strongly recommended on marketplaces with hundreds of vendors or many orders):
0 3 * * * php /path/to/cs-cart/admin.php --dispatch=kv_vendor_leaderboards.cronOver HTTP, the cron URL needs the core cron password (Settings > Security settings): admin.php?dispatch=kv_vendor_leaderboards.cron&cron_password=....
License
Section titled “License”Enter your Kavio Labs license key on the License tab, or the CS-Cart Marketplace license number in Add-ons > Manage. Without a valid license the blocks, badges and My ranking are hidden and rankings stop updating; settings, exclusions and history are kept.