No More Category Pages with a Single Product!
The Single Product Redirect Module for OpenCart (vQmod) is designed to create a more natural flow throughout an OpenCart storefront by eliminating the extra step commonly found when a category only contains a single product, and there are no further subcategories for the user to explore. This module also makes it possible to use Categories that would be displayed in the menu or navigation bar to link directly to a product, assuming however that there are no subcategories attached to that category.
Essentially, any time a request is made for a category level element, this module looks to see first if there are any subcategories. This is important because if there are more categories under the currently viewed category, we do not want to redirect the user away from being able to select the other subcategories. Once the user is in a last-level category (i.e. no more subcategories underneath it) the module then looks to see how many products are to be displayed. If there is only one product found, it automatically redirects the user seamlessly to the product page without first stopping on the category page.
As an example, if a storefront is selling computer repair services, they could create “Services” as a top level category. Then underneath “Services” they could create “Screen Replacement”, “Battery Replacement”, “Hard Drive Recovery”, or any other number of categories. Then they could create a single product in each of those subcategories so users can add the service to their cart and such. The front-end would then have the “Services” menu displayed with the subcategories that drop down from the menu. Clicking on any of the services would take the user directly to the service page to select options and add to cart, skipping to need to go to the “Screen Replacement” category page just to click on the “Screen Replacement” service item.
Utilizing vQmod for OpenCart, this module contains only a single file to be uploaded, and does not modify a single core file of the OpenCart system. Instead, using the vQmod system, it dynamically injects the necessary code into cached version of the core files allowing for complete native functionality, while still maintaining the ability to update the OpenCart system without worry of overwriting any changes made by this plugin.
New in Version 1.1.0!
Any search results that result in only a single product to be displayed will now redirect the user directly to the product page of the single product that would have been displayed for the search query. Again, this eliminates the needless intermediary category page which would normally be displayed to show the single product.
Fully tested and functional with OpenCart 1.5.6 and vQmod 2.4.1
This module was originally built and tested using OpenCart version 188.8.131.52, and vQmod version 2.2.1 and has been tested on subsequent releases since and has been found fully functional up to OpenCart version 1.5.6 and vQmod version 2.4.1. While there should be no problem using this module on previous version of OpenCart in the 1.5.x series, or vQmod in the 2.x series, we cannot guarantee any other specific combinations of software versions will be compatible. Should you have any issues installing or using this module, please contact us through our CodeCanyon author page so that we can offer any suggestions or fixes that may be required.
vQmod is absolutely required to use this module! Please make sure you have vQmod installed on your installation of OpenCart prior to attempting to use this module. vQmod is a free download.
Included with this module is a vQmod Module file which is to be uploaded to the XML folder of the vQmod installation.
Change HistoryVersion 1.1.0 (current)
- Added Support for Search Result Page Redirection
- Tested & Functional with OpenCart 1.5.6 and vQmod 2.4.1
- Initial software release