# magepow/categories

> Shows categories in the form of a grid or list, on category pages, home page or any other page.

`composer require magepow/categories`

Canonical URL: https://packagento.com/magepow/categories

## At a glance

- **Vendor**: magepow (https://packagento.com/magepow.md)
- **Latest version**: 1.1.4 — released 2026-05-31
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/magepow/categories and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require magepow/categories:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Shows categories in the form of a grid or list, on category pages, home page or any other page.

## README

[<img src="https://github.com/magepow/themeforest/blob/master/shopify/shopify_affiliate.jpg" >](https://shopify.pxf.io/VyL446)

### Magento 2 Categories Extension Free
**Magento 2 Categories Extension Free** allows you to take the shortest way to lead customers to their target pages. With this extension, you can show subcategories on category pages and choose the layout to display them as the grid or list. Aside from that, you also can show the hot categories or simply the chosen categories on the Homepage or any CMS page. 

**Categories extension free by Magepow** is very easy to configure and manage, with no coding needed and responsive ready. With this extension, you can suggest to customers more content/products you have on your store and make an eye-catching look.

For example, your online store is selling a wide range of subcategories such as Tops, bottoms, pants, bags, jackets... might dozens of categories but you want when your customers come to your store, you want them to buy or know most of some products types that you concentrate more than normal products. 

![Magento 2 Categories Free](https://github.com/magepow/magento-2-categories/blob/master/media/magento-2-categories-5.png)

So this extension can help you show on the top of the page the hot categories are chosen from categories collection or show them on the top of the category pages to recommend to customers.

[![Latest Stable Version](https://poser.pugx.org/magepow/categories/v/stable)](https://packagist.org/packages/magepow/categories)
[![Total Downloads](https://poser.pugx.org/magepow/categories/downloads)](https://packagist.org/packages/magepow/categories)
[![Daily Downloads](https://poser.pugx.org/magepow/categories/d/daily)](https://packagist.org/packages/magepow/categories)

#### 1. Highlight Features
| Features  | Free Version  | Pro Version |
| :------------ |:---------------:| :-----:|
|Display optional subcategories on **Home page**|:white_check_mark:|:white_check_mark:|
|Display the subcategories as slider layout on the Home page|X|:white_check_mark:|
|Display optional subcategories on **Category page**|:white_check_mark:|:white_check_mark:|
|Display the subcategories as slider layout on the Categories page|X|:white_check_mark:|
|Display optional subcategories on **Product page**|X|:white_check_mark:|
|Display optional subcategories on **Shopping Cart page**|X|:white_check_mark:|
|Add or remove categories for the home pape and category pages as desired|:white_check_mark:|:white_check_mark:|
|Add or remove categories on each page as desired|X|:white_check_mark:|
|Multiple positions show categories|X|:white_check_mark:|
|Subcategory characteristics on homepage and category page vary with 2 <br /> independent installers|:white_check_mark:|:white_check_mark:|
|Subcategory block characteristics on each page can be individually <br /> customized using 'Category Pro Rule'|X|:white_check_mark:|
|**Grid layout**|:white_check_mark:|:white_check_mark:|
|**List layout**|:white_check_mark:|:white_check_mark:|
|**Slider layout**|X|:white_check_mark:|
|Sort the subcategories by **Name**|:white_check_mark:|:white_check_mark:|
|Sort the subcategories by **Page Title**|:white_check_mark:|:white_check_mark:|
|Sort the subcategories by **Location**|:white_check_mark:|:white_check_mark:|
|Sort the subcategories by **Creation Date**|:white_check_mark:|:white_check_mark:|
|Sort the subcategories by **Admin tree**|X|:white_check_mark:|
|Display subcategory with **Block Title**|:white_check_mark:|:white_check_mark:|
|Display subcategory with **Description**|:white_check_mark:|:white_check_mark:|
|Display subcategory with **Thumbnail**|:white_check_mark:|:white_check_mark:|
|Display subcategory with **Item Amount**|:white_check_mark:|:white_check_mark:|
|Full responsive design|:white_check_mark:|:white_check_mark:|
|Customize Responsive Information|X|:white_check_mark:|
|Display different categories with customer groups <br /> (Not logged in, General, Wholesale, Retailer)|X|:white_check_mark:|
|Free Support|X|:white_check_mark:|

![Magento 2 Categories Free](https://github.com/magepow/magento-2-categories/blob/master/media/magento-2-categories-7.jpg)

Display optional subcategories on Home page

![Magento 2 Categories Free](https://github.com/magepow/magento-2-categories/blob/master/media/magento-2-categories-9.jpg)

Display optional subcategories on Category page

![Magento 2 Categories Free](https://github.com/magepow/magento-2-categories/blob/master/media/magento-2-categories-8.jpg)

Display optional subcategories on Product page

![Magento 2 Categories Free](https://github.com/magepow/magento-2-categories/blob/master/media/magento-2-categories-6.jpg)

Display optional subcategories on Shopping Cart page

See more: [Demo free version](https://demo.magepow.com/categories/) - [Demo Pro version](https://demo.magepow.com/categoriespro/)

[![Magento 2 Categories Free](https://github.com/magepow/magento-2-categories/blob/master/media/Mgento-2-category-4.jpg)](https://magepow.com/magento-2-categories-extension.html) [![Magento 2 Categories Pro](https://github.com/magepow/magento-2-categories/blob/master/media/magento-2-categories-3.jpg)](https://magepow.com/magento-2-categories-extension.html)

#### 2. How to install Magento 2 Categories extension Free
##### ✓ Install Magepow Categories via composer (recommend)
Run the following command in Magento 2 root folder:

```
composer require magepow/categories
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
```

#### 3. Magepow Categories user guide
**SubCategories extension free for Magento** allows customers access the categories quickly and conveniently, stimulating users to click on the categories because of the beautiful interface.

##### Enable Magepow Categories
Go to `Admin Panel > Stores > Settings > Configuration > Magepow > Categories`

_(README truncated for .md surface. Full README on https://packagento.com/magepow/categories.)_

## Recent Versions

| Version | Released |
|---|---|
| 1.1.4 | 2026-05-31 |
| 1.1.3 | 2026-05-08 |
| 1.1.2 | 2024-02-03 |
| 1.1.1 | 2024-01-23 |
| 1.1.0 | 2023-09-27 |
| 1.0.9 | 2023-07-18 |
| 1.0.8 | 2022-11-10 |
| 1.0.7 | 2022-08-27 |
| 1.0.6 | 2022-07-29 |
| 1.0.5 | 2021-05-11 |

Showing 10 of 14 versions. Full release history on https://packagento.com/magepow/categories.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magepow/core | ^1.0.0 |

## Quality

Latest release (1.1.4) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | 1 | – |
| 2.4.9 | – | – | 1 | 1 |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 390 | 45 errors, 345 warnings (ruleset: Magento2) — 271 auto-fixable with phpcbf |
| PHPMD | Warning | 15 | 15 rule violations (UndefinedVariable:6, UnusedLocalVariable:3, MissingImport:2, IfStatementAssignment:2, CyclomaticComplexity:1) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 31 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Pass | 0 |  |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 11 | 11 | – | – |
| 2.4.8 | – | 11 | 11 | – |
| 2.4.9 | – | – | 11 | 11 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["magepow/categories"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

magepow is a Magento 2 vendor on Packagento. See https://packagento.com/magepow.md for their full catalogue.

