By Category Modules

Table of Contents

About

This is a Bestsellers, Latest and Specials module filtered by the category that is currently being viewed. It falls back to the standard 'global' bestsellers,latest and specials if you are not looking at a category page.

If the module is placed on a Top category which has no products in it then it will get the products from the sub-categories and display those instead. This update will work with ‘Top’ categories only. What it does:

  1. Gets the category id
  2. Tests the category id to see if it is a ‘Top’ category
  3. Does the standard query to get the products in the category and displays them (if there are any to display)
  4. If there are no products to display and the category is a ‘Top’ category then:
    1. Queries for child categories of the current top category
    2. Adds all the products in all the child categories
    3. Randomizes the product list
    4. Selects the first x products (where x is the limit set in the module)
  5. If there are no products to display from a subcategory and/or the category is not ‘Top’ then displays the default list.

~~~~~ * ~~~~~
NOTE: This extension is not compatible with Journal 3
~~~~~ * ~~~~~

Download

You can purchase and download this extension at the Opencart Extension Store

A full list of my extensions is availble here: Opencart Market Place

New Installation - Opencart 3.x

  1. Go to Extensions -> Installer
  2. Upload the file modules_by_category_oc3.x_v3.0f.ocmod and wait for it to finish.
    This could take a few minutes to upload so please be patient.
  3. Go to System -> Users -> User Groups, edit admin user and select:
    extension/module/bestseller_by_cat
    extension/module/bestseller_by_cat
    extension/module/latest_by_cat
    extension/module/special_by_cat
  4. Go to Extensions -> Extensions, select Modules and then install the Bestsellers by Category, Latest by Category and Specials bt Category modules
  5. Configure the modules in the same way you would with the default opencart bestsellers etc. modules.

New Installation upto Opencart 2.3.x (vQmod)

The instructions here are for Opencart 3.x.  Although the instructions are much the same, there are some small differences.

Please see the Installation instructions that are in the download.

Upgrade

There is no 3.x upgrade at this time.

For Opencart 1.5.x to 2.3.x upgrades, please see the Updates Document in the download.

Uninstall

Opencart 3.x
  1. Go to Admin > Extension > Extension and uninstall the modules.
  2. Go to Extensions > installer and delete the modules_by_category_oc3.x_v3.0f.ocmod

For help and support please use the email form Email Support Form

If something has gone wrong or you need support then please include as much information as possible and a full description of the problem.  If you send me an email that just says 'it's not working', support is going to take a lot longer as I'm going to have to start asking lots of questions.... the more information I have the quicker I can solve any problems.