antonywu / Magento-2-Category-with-image-widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Category with image widget for Magento 2

###Features

  • Display category with images in any page
  • Only top level categories

How to use this widget

Link : https://youtu.be/RLN1A200MII

ScreenShot

###Mannual Installation Instructions Go to Magento2 Project root/app/code (create code folder if not exist)

Paste downloaded/cloned folder.

So folder strucuture will be as following


Magento2
└── app
   └── code
       └── ProgrammingAtKstark
           └──CatewithimgWidget
               ├──Block
               ├──etc
               ├──Model
               ├──view
               ├──composer.json
               └──registration.php


###Enable this widget to Enable this widget simply follow these steps:

  • php bin/magento setup:upgrade
  • php bin/magento cache:flush
  • Re-Compile (in-case you have compilation enabled)
    bin/magento setup:di:compile

Notes

  • If you are selecting more then 3 categories then you need to make changes in view/frontend/web/css/widget.css

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

License

By contributing your code, you agree to license your contribution under the MIT License.

About


Languages

Language:PHP 74.1%Language:HTML 19.6%Language:CSS 6.3%