Git Product home page Git Product logo

magento2-simple-menu's Introduction

Magento Simple Menu

Compatible with Magento 2.1 +

Installation

  • Download zip file
  • Extract it
  • Put it in app/code/Fary directory on your magento project
    image
  • Rename it to SimpleMenu
  • Go to terminal on magento path and run these commands: php bin/magento setup:upgrade
    php bin/magento cache:clean

How it works

After installing module go to admin panel and category management page.
You can see three new fields have been added to categories:
image

If you wish to have your category as menu item same as before, do not touch these fields.

Navigation Type

Take a look at navigation type field, it has four options:

  • Category
  • CMS Page
  • Link
  • Attribute
Category

Creates a category and menu item with the link to that category (same as default category creation)

CMS Page

When you choose this option, another field will be shown that you can select your cms page. For example if you have about us CMS page and you wish to have it on top menu, you can simply select "CMS Page" as navigation type and then select "About us" from list of pages.

Static Link

This option is for when you want to have static link on your top menu no mather it's internal or external.
Choose static link and another field will be appeared that you can write your address there.
You need to write entire URL for example: http://faranakyazdanfar.com
image

Attribute

This option helps you have attribute filter on your topmenu.
After choosing this option another field become visible which lists all filterable attributes.
image
The link would be created category url filtered by selected attributes. Let's see the result on frontend:
image

There is another case which you choose just one attribute.
In this case you don't have any extra sub menus the only one is options.
image

Open in New Tab

This field allows you to choose how customers open a link.
If you set it to "No", current tab will navigate to another link, and if you select "Yes" menu item link will be open in a new tab.

Mega Menu

When you set "Yes" to mega menu field, another field will be shown as "Mega Menu Block" which allows you to add image to your menu.
image
And the result is:
image

Useful Information

  • This module works with virtual categories as well.
  • If you are frontend developer you can find each menu item has sufficient classes for having best experience of styling this menu.
Help

If you need help please contact [email protected].

magento2-simple-menu's People

Contributors

faranaky avatar

Watchers

katiak avatar

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.