PrestaShop Product Accessories Cross-Sell Module
Enhance your PrestaShop product listings with this free module. Display associated accessories directly on search results, category pages, manufacturer/supplier listings, and even featured products. Easy installation, plug-and-play functionality automatically generates accessory lists for products with associated items. Leverages PrestaShop's built-in product association feature. Includes a fix for the common "displayProductListReviews" hook issue, ensuring proper product list display in classic themes.
Why hide accessories only on the product page? Customers don’t always open every product. They scroll category listings, search results, and homepage blocks. If accessories and “goes well with” appear only after they click through to the product page, you’re missing chances to suggest cables, cases, or bundles right where they’re comparing options.
PrestaShop already lets you associate accessories (or “related products” in newer versions) per product in the Back Office. The problem is that this data is only used on the single product page. On lists, each product looks standalone—no hint of what pairs with it.
Product Accessories on List reuses that same data everywhere. Install the module, and wherever the product list is rendered (category, search, manufacturer, supplier, featured products), each product card can show its associated accessories: small thumbnails and names, linked to the accessory product page. No new data to maintain: you keep using the standard “Accessories” or “Related products” section on the product edit page. The module just surfaces it on lists.
Features in detail Uses Built-in Accessories The module does not introduce a new “accessories” system. It reads the same associations you set in PrestaShop: on the product edit page, in the Accessories (older releases) or Related products (newer releases) section. One source of truth, no duplicate configuration.
Works on All Product Lists The addon hooks into displayProductListReviews, which is used wherever PrestaShop renders a product list: category pages, search results, manufacturer and supplier product lists, featured products on the homepage, and any theme or module that uses this hook. Same behaviour everywhere.
Clean Accessory Block For each product that has accessories, the module outputs a compact block: product image (small thumbnail), product name (truncated), and link to the accessory. Only accessories that are available for order (or allow out-of-stock if configured) are shown, so the list stays relevant.
Simple configuration: one option that solves a real problem The module is plug and play: install it and accessories start showing on product lists. The only setting you might need is the Fix classic theme bug option—for stores using the PrestaShop classic theme, where the displayProductListReviews hook can break the layout of the product list. Enable it and the module loads a small script that corrects the display so the list renders properly.
Module behaviour Accessories from product edit page You assign accessories (or related products) per product in the standard PrestaShop form. The module displays them on lists—no extra screens.
Automatic display Wherever the product list is shown (category, search, manufacturer, supplier, featured), accessories appear next to each product that has them.
Fix classic theme bug (Optional) displayProductListReviews hook issue On the classic theme, using this hook can break the product list layout. Enable the fix to load a small script that restores correct display. Documented in Forge The behaviour is documented in the PrestaShop Forge bug report (BOOM-4369). The module links to it from the configuration description.
Technical specification & compatibility The module uses standard PrestaShop hooks and the native Product::getAccessories() method. It does not override core files and is cache-friendly (per-product cache key). PrestaShop versions: 1.6.x, 1.7.x, 8.x, 9.x. Compatible with both “Accessories” and “Related products” naming in the Back Office. Front-office hooks: displayProductListReviews (accessories block), header (CSS and optional fix script). Data: Reads accessories via Product::getAccessories(). Only shows items that are available for order (or allow out-of-stock). Output: Cached per product (accol.tpl). Inline CSS loaded from module; optional JS only when “Fix classic theme bug” is enabled.
Commentaires (0)
Votre avis ne peut pas être envoyé
Signaler le commentaire
Signalement envoyé
Votre signalement ne peut pas être envoyé