Free OpenCart Module: Create a Complete Product Listing Page

This free opencart extension provides a simple and effective way to display all products on a single, dedicated page in your OpenCart 4 store. It adds a link to your main navigation menu, making it easy for customers to browse your entire catalog. The page features a “load more” functionality, which dynamically loads products as the user scrolls, ensuring a smooth and fast browsing experience without long initial loading times. Managing a large product catalog in OpenCart can be challenging, especially when you want to provide customers with a comprehensive view of all your products. While OpenCart offers category-based browsing, sometimes you need a simple “All Products” page that displays your entire inventory in one place. Today, we are providing a free OpenCart module that does exactly that.

Features

  • Dedicated “All Products” Page: Creates a new page to list every product in your store.
  • Main Menu Link: Automatically adds an “All Products” link to the main navigation menu.
  • Load More Functionality: Products are loaded dynamically as the user scrolls down the page, improving performance and user experience.
  • Admin Control: Easily enable or disable the entire module from the OpenCart admin panel.
  • Clean Installation: The module uses OpenCart’s event system to add the menu link and cleanly removes the event upon uninstallation.
  • Standard Module: Follows OpenCart 4 best practices for module development.

Download

Installation

  1. Prepare the Extension: Download the module from the above link, which will give you a zip file likeallproductslisting.ocmod.zip.
  2. Upload:
    • Navigate to your OpenCart Admin Panel.
    • Go to Extensions > Installer.
    • Click the Upload button and select the allproductslisting.ocmod.zip file.
    • Then click the Install button
      All products installation
  3. Install the Module:
    • After the upload is complete, go to Extensions > Extensions.
    • From the dropdown filter, select Modules.
    • Find All Products Listing in the list and click the green Install button (plus icon).
  4. Enable the Module:
    • Once installed, click the blue Edit button (pencil icon) next to the module.
    • Change the Status to Enabled.
    • Click the Save button in the top right.

How It Works

Frontend

  • Menu Link: The module uses an event (catalog/view/common/menu/before) to add the “All Products” link to the start of your main navigation menu. This only happens if the module is enabled in the admin panel.
  • All Products Page: The link directs users to the route index.php?route=extension/allproductslisting/module/allproductslisting. This page lists products from your catalog.
  • Load More: As the user scrolls towards the bottom of the page, an AJAX request is sent to the server to fetch the next batch of products, which are then appended to the list seamlessly.
All products listing opencart module

Backend (Admin)

  • Configuration: The admin interface  Extensions > Extensions > Modules > All Products Listing is simple, containing only a status switch to enable or disable the module.
  • Install/Uninstall: The install() method sets up the event required for the menu link. The uninstall() method removes this event, ensuring your system is left clean if you decide to remove the extension.
All products listing admin settings

File Structure

The module is contained within the upload/extension/allproductslisting/ directory and follows the standard OpenCart extension structure:

/upload/extension/allproductslisting/
|-- admin/
|   |-- controller/module/allproductslisting.php
|   |-- language/en-gb/module/allproductslisting.php
|   `-- view/template/module/allproductslisting.twig
|-- catalog/
|   |-- controller/module/allproductslisting.php
|   |-- language/en-gb/module/allproductslisting.php
|   `-- view/template/module/allproductslisting.twig
|-- install.json
`-- README.md

Compatibility: Developed and tested for OpenCart 4.x.

Why You Need an All Products Page

Business Benefits

  • Improved User Experience: Customers can browse your entire catalog without navigating multiple categories
  • Better SEO: A comprehensive product listing can improve search engine visibility
  • Simplified Navigation: Especially useful for stores with complex category structures
  • Inventory Overview: Helps both customers and administrators see the full product range

Use Cases

  • Wholesale stores showing complete catalogs
  • Small stores with limited product ranges
  • Clearance or sale sections
  • Product comparison shopping
  • Mobile-friendly browsing experiences

Conclusion

Creating a comprehensive “All Products” page in OpenCart doesn’t have to be complicated. This free module provides a solid foundation that you can customize to meet your specific needs. Whether you’re running a small boutique or a large catalog store, having an all-products view can significantly improve your customers’ shopping experience. Hope you liked this opencart module, please subscribe to our YouTube Channel for Opencart video tutorials. You can also find us on Twitter and Facebook.

Previous articleAI Description Generator Extension for OpenCart 4.1.0.3
Author of four Opencart book. The recent are Opencart 4 developer book and Opencart 4 user manual

LEAVE A REPLY

Please enter your comment!
Please enter your name here