PrestaShop Marketing & Promotions

Best Seller Flag — Automatic best-seller badge for PrestaShop 8

Automatic social proof on your best-sellers.

Best Seller Flag displays a "Best Seller" badge on the products that actually sell best in your store. Detection is automatic (ps_product_sale table), rendering is native (actionProductFlagsModifier hook), performance is guaranteed: a single SQL query per page with static cache. No more manual product flagging — your catalogue communicates its own bestsellers.

PrestaShop 8.0+ Native hook 1 SQL query/page Multistore Static cache 100% configurable
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
v1.0.0 · updated 2025-04-08
What it does

The short version.

01

Automatic detection

The module identifies your best-sellers in real time from the ps_product_sale table. No manual flagging, no cron job — the list updates with every confirmed order.

02

Maximum performance

A single light SQL query per page load, with static cache. Whether you have 12 or 60 products displayed, the database impact is constant.

03

Native PrestaShop 8 hook

Uses actionProductFlagsModifier — the official hook to add flags. Compatible with all PS 8 themes that respect the flag system (Classic, Hummingbird, and the majority of premium themes).

04

Ultra-simple configuration

A settings page with two fields: number of best-seller products (1 to 500) and badge text. Save, it's live.

The long version

Everything you'd want to know before you install.

A detailed look at how Best Seller Flag — Automatic best-seller badge for PrestaShop 8 works, why we built it the way we did, and the thinking behind the features above.

§ 01

Social proof, an underused conversion lever

When a visitor hesitates between several similar products, the signal "this product sells well" often tips the balance. Amazon has made it a pillar of its UX ("Best Seller", "Amazon's Choice", "#1 in sales"). Best Seller Flag answers this need on PrestaShop 8 — with no manual configuration, no list to maintain, no risk of inconsistency between your marketing claims and your actual sales reality.

§ 02

How it works

On every page load, the module runs a single SQL query on the ps_product_sale table (the standard PrestaShop table that aggregates sales per product). It identifies the N best-selling products according to your configuration, caches the result statically for the duration of the request, then adds a "Best Seller" flag on these products via the actionProductFlagsModifier hook. No catalogue modification, no additional table.

§ 03

Multistore handled natively

In multistore mode, each sub-store calculates its own best-sellers from its own sales. The France sub-store will see its France #1 sellers, the Germany sub-store its Germany #1 sellers. Automatic filtering by shop context, no configuration needed.

§ 04

Render customisation

The badge text is configurable per language: "Best Seller", "Meilleure vente", "Más vendido", "Bestseller", etc. Visual rendering is done via standard PrestaShop CSS classes for flags — you can apply your design guidelines without touching the module's PHP.