PD Statistics Counters Pro — features, benefits and functionality
A professional module for PrestaShop designed to display animated statistics counters and badges with store indicators — customers, orders, products, reviews, years in business, or any custom numbers you choose. It builds social proof, increases buyer trust, and helps turn store data into a concrete sales argument on every front-office page.
Automatic data sources and static values
- Static value — any number entered manually, perfect for messages such as “15+ years of experience”, “98% satisfied customers”, or “3 floors of showroom space in the city centre”.
- Fourteen automatic data sources fetched live from the store database: number of registered customers, number of orders, number of newsletter subscribers, number of product reviews (from the productcomments module), number of customer messages, number of visits (connections) from PrestaShop statistics, number of active products, number of active categories, number of manufacturers, number of suppliers, number of active CMS pages, number of active carriers, number of discounted products, and number of active physical stores.
- Per-request cache — each data source is queried from the database only once during a single HTTP request, even if the same number appears on the page in several different counters.
- Read replica — all queries calculating auto-data values go through the PrestaShop slave connection (
_PS_USE_SQL_SLAVE_), reducing the load on the database master.
Twenty-two front-office hooks + custom theme hook
- Flexible positioning — you can place badges in:
displayTop,displayNav1,displayNav2,displayHome,displayTopColumn,displayWrapperTop,displayContentWrapperTop,displayLeftColumn,displayLeftColumnProduct,displayRightColumn,displayRightColumnProduct,displayContentWrapperBottom,displayWrapperBottom,displayProductAdditionalInfo,displayReassurance,displayShoppingCart,displayShoppingCartFooter,displayFooterBefore,displayFooterAfter,displayFooter, or in the dedicateddisplayCustomStatBadgeshook for manual insertion into any theme.tplfile. - Grouping badges into sections — several consecutive badges in the same hook and with the same group key are rendered side by side as one cohesive section — ideal for “Why trust us” blocks with 3–4 counters in a row.
- Shared group title — an optional multilingual heading displayed above the entire badge group, automatically synchronised across all badges in that group (saving the title on one badge updates the title of the others in the same group).
Advanced badge editor with six tabs
- Basics — per-badge activation, hook selection, group key and multilingual group title, position (order) within the group.
- Visibility rules — date range from–to, days of the week (Monday–Sunday), page filter (list of PrestaShop controllers), customer scope (all / logged-in / guests), language filter.
- Content and value — multilingual label, data source selection (static or one of 14 automatic sources), numeric value, unit (e.g. “zł”, “+”), suffix, counter-up animation, number of decimal places (0–4), formatting mode (standard / compact), thousands and decimal separators, trimming trailing zeros, compact abbreviation style (K/M/B uppercase or lowercase), icon (CSS class or image/SVG URL), icon size (px), target link, open in a new tab.
- Design and spacing — HEX colours for background, value, label and border (each with an independent “inherit from preset” / “use custom” switch), corner rounding 0–200 px, vertical and horizontal padding 0–200 px, preset selection, shadow variant (None / Soft / Medium / Strong).
- Responsive layout — three composition variants (Stacked vertically, Inline in a row, Split separated), text alignment (left / centre / right), Bootstrap width on five breakpoints (
xs,sm,md,lg,xl) from 1 to 12 columns, custom CSS class for special use cases. - Live preview — built-in preview updating in real time while changing form fields, with no need to save and refresh the store front office.
Five design presets with colour inheritance
- Custom — complete freedom, all colours set manually.
- Subtle — delicate pastel background with soft outlines, ideal for product pages and category listings.
- Outline — white background with a distinct border and colour accent, for minimalist B2B themes.
- Accent — a bold accent colour block, intended for the homepage and hero sections.
- Dark — dark theme with a contrasting number and light label, for stores with dark mode and premium themes.
- Independent per-colour override — for each of the four colour fields (background, value, label, border), you decide separately whether it inherits the preset colour or uses its own HEX value (one-click switch directly next to the field).
Number formatting in Polish and international standards
- Thousands separator — space (Polish standard), comma, dot, no separator, or “Based on locale” mode (automatically adjusts to the current store language).
- Decimal separator — comma (Polish standard), dot, or locale-based mode.
- Compact formatting — instead of “15000” it displays “15 K”, instead of “2500000” — “2.5 M”. Uppercase suffix style (K, M, B) or lowercase (k, m, b) can be selected.
- Trimming trailing zeros — option to remove unnecessary “.00” from whole numbers (e.g. “1.50” → “1.5”, “1.00” → “1”).
- Number of decimal places — from 0 to 4, with separate control for each badge.
Icons — CSS class or image / SVG
- CSS class mode — any Font Awesome class, Material Icons class, or custom class from the theme (e.g.
fa fa-users,icon-cart). - Image mode — URL to a PNG/JPG/SVG file, scaled to the defined size in pixels.
- URL validation — the module blocks unsafe schemes (
javascript:,data:) in image URL fields and target links.
Import and export of JSON configuration
- One-click export — download the full badge configuration of the current store to a JSON file, including label translations, group titles, visibility rules, design presets, and formatting settings.
- Import with validation — paste the exported JSON into the import form; the module recreates all badges in the current store with an optional “Replace existing” enforcement (removes old badges from that store before import).
- Transactional import save — the entire import runs within a single database transaction; an error at any point triggers a full rollback and displays a clear message without damaging existing data.
- Protection against oversized payloads — a hard limit of 2 MB for file size and 500 items per single import protects the store from PHP memory exhaustion in the event of suspicious or corrupted files.
PrestaShop multistore — full support
- Badges assigned to a specific store — each badge has its own
id_shopand is visible only on that store’s front office, allowing different campaigns for different brands within one PrestaShop installation. - Per-store master switch — the module’s main switch works in the context of the current store; disabling it in one store does not affect the others.
- Import and export isolation — export includes only badges from the current store, import saves only to the current store — with no risk of accidental configuration leakage between stores.
- Forced context selection — the administration panel blocks configuration in the “All stores” context and requires selecting a specific store before editing.