Giter Club home page Giter Club logo

magento2-home-categories's Introduction

#Magento 2 Frontend : How to call category collection on home page

More infos visit our magento 2 blog post: http://ibnab.com/en/blog/magento-2

Or Visit our store : http://store.ibnab.com ##Manual installation :

download from github

past in your folder app/code

enable extension in app/etc/config.php by adding 'Ibnab_CategoriesSide' => 1,

and execute the command php bin/magento setup:upgrade

magento2-home-categories's People

Contributors

ibnab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

magento2-home-categories's Issues

How to show Subcategories of a specific-category instead of root category on home page?

This extension works well to show all store categories with their children on home page. The function
$categories = $this->getStoreCategories(true,false,true);
is used to fetch all categories and subcategories inside the root category.

But how to show categories and subcategories of a "specific category" (by id, or by url_key) on home page. I dont want all categories/subcategories of root-category of store.

Or, Is their any way to go one level down, like some kind of getStoreCategories(true,false,true, $level=2) will help to show categories of level 2 or 3 any input.

Can not Install the extension

thank you for the article , I did try to install the module but in frontend it has an error Setup version for module 'Ibnab_CategoriesSide' is not specified and tried adding 'Ibnab_CategoriesSide' => 1, to config.php and php bin/magento setup:upgrade then the added line is disappearing after run the command

Can i use this for vertical menu?

Thank you for your extension. It's very good.
Now, i want to use it for menu like Amazon (Departments button).
But i am a newbie in Magento 2...
How can i do this?
Please give me an advice.
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.