Plugin Library / Marketing Tools / Also Purchased Turbo

Also Purchased Turbo

Marketing Tools

Plugin ID 2443

The Plugin ID is written into your manifest.php pluginId automatically the first time a release is published.

Overview

Replaces the stock "Customers who bought this product also purchased" engine with a precomputed product-pair table, eliminating the expensive orders_products self-join that runs on every product page view. In testing, the also-purchased query ran roughly 260x faster (96 ms down to under 1 ms), with the gain growing as the store gets larger. Recommendations are ranked by real purchase affinity (products most often bought together), with Recency and Random modes available. A checkout observer keeps the table current in real time, and a chunked, resumable seeding tool builds it from existing order history. No core file or template changes; storefront presentation is preserved, and customized template modules are never overwritten (takeover and integration options are in the readme). Admin: Configuration > Also Purchased Turbo and Tools > Also Purchased Turbo. Requires Zen Cart 2.2.2 or later. Source and releases: https://github.com/CcMarc/AlsoPurchasedTurbo

Releases

  • v1.2.1 Encapsulated Release ID #7833
    6 Oct 2026 · Compatible with 2.1.0, 2.2.0, 2.2.1, 2.2.2 Release by marcopolo · 19 downloads · 37.8 KB ZIP

    v1.2.1: Maintenance release. Adds direct-access guards to the admin extra_datafiles file, the admin language file and the installer, and to the storefront auto-loader, observer and extra_datafiles file. Each now exits when requested directly instead of through Zen Cart. The README also gains a note explaining that the Option B integration example is meant to differ from the plugin's own module, and how to mark a hand-merged module so the Tools page reports it as INTEGRATED. No functional, database or configuration changes. Upgrade from v1.2.0 with the Upgrade button in Plugin Manager.

  • v1.2.0 Encapsulated Release ID #7741
    26 Jul 2026 · Compatible with 2.1.0, 2.2.0, 2.2.1, 2.2.2 Release by marcopolo · 113 downloads · 37.0 KB ZIP

    v1.2.0: Adds configurable pair pruning (APT_MAX_PAIRS_PER_PRODUCT, default 50) with a chunked auto-continuing prune tool - keeps each product's strongest pairs, bounding the pair table's size on large stores with no visible change to the storefront. Pruning runs automatically after seeding. Also adds an "Optimize table (reclaim disk space)" maintenance action - InnoDB keeps deleted rows' space inside the tablespace after pruning, and this rebuilds the table to shrink the file on disk, showing reclaimable space before you run it and space recovered after. The Tools status panel now shows table size on disk plus last-prune and last-optimize history (when they ran, before/after counts, space reclaimed). Upgrading from 1.0.0 or 1.1.0: use Plugin Manager's Upgrade button (new configuration settings are seeded), then run "Prune pair table" once.

  • v1.0.0 Encapsulated Release ID #7734
    13 Jul 2026 · Compatible with 2.2.2 Release by marcopolo · 35 downloads · 29.9 KB ZIP

    Replaces the stock "Customers who bought this product also purchased" engine with a precomputed product-pair table, eliminating the expensive orders_products self-join that runs on every product page view. In testing, the also-purchased query ran roughly 260x faster (96 ms down to under 1 ms), with the gain growing as the store gets larger. Recommendations are ranked by real purchase affinity (products most often bought together), with Recency and Random modes available. A checkout observer keeps the table current in real time, and a chunked, resumable seeding tool builds it from existing order history. No core file or template changes; storefront presentation is preserved, and customized template modules are never overwritten (takeover and integration options are in the readme). Admin: Configuration > Also Purchased Turbo and Tools > Also Purchased Turbo. Requires Zen Cart 2.2.2 or later. Source and releases: https://github.com/CcMarc/AlsoPurchasedTurbo

Author
Updated
6 Oct 2026
Releases
3
Plugin ID
2443