Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Location
    United States
    Posts
    494
    Plugin Contributions
    1

    Default Also Purchased Turbo - support thread

    Also Purchased Turbo is a new encapsulated plugin that replaces the stock "Customers who bought this product also purchased" engine with a precomputed product-pair table.

    The stock module runs an orders_products self-join on every product page view. The cost grows with order history and product popularity, and on large stores it's often the most expensive query in the slow-query log. This plugin does that work once - a checkout observer keeps a small pair table current in real time, and product pages read it with an indexed primary-key lookup instead.

    In testing, the also-purchased query ran roughly 260x faster (96 ms down to under 1 ms on the store's most popular product), and the gain grows with store size. As a bonus, recommendations are ranked by real purchase affinity - the products most often actually bought together - with Recency and Random modes available.

    Highlights:
    - No core file changes, no template changes - your existing also-purchased presentation is preserved
    - Installs via Plugin Manager; a chunked, resumable seeding tool builds the pair table from your existing order history
    - Honors the standard display settings (min/max/columns)
    - Customized template modules are detected and never overwritten - the readme covers a one-click takeover or a small integration edit that keeps your custom rendering
    - Admin pages under Configuration and Tools (status, seeding, maintenance, debug log)

    Requires Zen Cart 2.2.2 or later.

    Download and source: https://github.com/CcMarc/AlsoPurchasedTurbo
    (Plugin library listing pending approval.)

    Credit where due: the idea came out of balihr's "also purchased - optimization idea" thread in General Questions.

    Feedback welcome - especially from larger stores. If you try it, before/after numbers from your slow-query log would be great to see in this thread.
    marcopolo
    Zen Cart 2.2.2 | PHP 8.5.8 | MariaDB 10.11.14

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: Also Purchased Turbo - support thread

    Thanks for doing this!
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v150 You already purchased this product... [Support Thread]
    By CaroleAs in forum All Other Contributions/Addons
    Replies: 50
    Last Post: 15 Jun 2026, 01:06 PM
  2. eBay Turbo Lister 2.0 Exporter Support Thread
    By numinix in forum All Other Contributions/Addons
    Replies: 215
    Last Post: 8 Feb 2014, 06:03 AM
  3. Customers who purchased this, also purchased this, CSS issue
    By stlnyc in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jul 2009, 11:12 PM
  4. Also Purchased
    By jayson.gurney in forum Customization from the Admin
    Replies: 1
    Last Post: 29 Mar 2007, 08:59 PM
  5. Also Purchased
    By mansoor in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Mar 2007, 05:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg