grantham/module-recentcategory

Show Recent Category Block in All Pages

dev-main 2024-04-12 13:11 UTC

This package is auto-updated.

Last update: 2025-06-12 16:04:55 UTC


README

``grantham/module-recentcategory``

Main Functionalities

  • Showing recent category block in all the pages in magento
  • Provide system configuration to provide default category Id
  • Limit max 3 categories with their subcategories
  • Replace existing category if visits more categories

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Grantham
  • Enable the module by running php bin/magento module:enable Grantham_RecentCategory
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Make the module available in a composer repository for example:
    • private repository repo.magento.com
    • public repository packagist.org
    • public github repository as vcs
  • Add the composer repository to the configuration by running composer config repositories.repo.magento.com composer https://repo.magento.com/
  • Install the module composer by running composer require grantham/module-recentcategory
  • enable the module by running php bin/magento module:enable Grantham_RecentCategory
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush