PHPackages                             jesper-herrloff/module-customer-navigation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jesper-herrloff/module-customer-navigation

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

jesper-herrloff/module-customer-navigation
==========================================

Extends Customer Navigation with settings for how to display the navigation

1.0.1(2y ago)125MITPHPPHP &gt;=8.1

Since Dec 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JesperHerrloff/module-customer-navigation)[ Packagist](https://packagist.org/packages/jesper-herrloff/module-customer-navigation)[ RSS](/packages/jesper-herrloff-module-customer-navigation/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

JesperHerrloff\_CustomerNavigation module
=========================================

[](#jesperherrloff_customernavigation-module)

Overview
========

[](#overview)

This module adds template to customer Navigation links in the header. And in Customer Account Navigation links in the sidebar.

Installation details
--------------------

[](#installation-details)

Before installing this module, note that the Magento\_Customer module depends on the Magento\_Theme module, which means that the Magento\_Theme module must be installed before the Magento\_Customer module is installed.

### Install via composer (recommend)

[](#install-via-composer-recommend)

Run the following command in Magento 2 root folder:

```
composer require jesper-herrloff/module-customer-navigation
php bin/magento setup:upgrade

```

Configuration
-------------

[](#configuration)

There is a setting in the admin panel under Stores -&gt; Configuration -&gt; Customer -&gt; Customer Navigation -&gt; Navigation Settings -&gt; Customer Account Navigation. This setting is used to enable or disable JesperHerrloff\_CustomerNavigation/Plugin/AccountNavigation. If the setting is enabled, the customer account navigation links in the sidebar will be displayed as links even if it is current link. Stores -&gt; Configuration -&gt; Customer -&gt; Customer Navigation -&gt; Navigation Settings -&gt; Add name in layout As link class. This setting is used to add the name of the link in the layout as a class to the link. This is to make it possible to add icons for example in the links.

How to use
----------

[](#how-to-use)

After installing the module, the customer navigation links in the header and in the sidebar will be displayed as links even if it is current link. This is to make it possible to add icons for example in the links.

Theme Extensibility
-------------------

[](#theme-extensibility)

Extend JesperHerrloff\_CustomerNavigation/templates/account/link.phtml template. This makes it possible to make a customisation of the template in your own theme.

Additional information
----------------------

[](#additional-information)

Example of how to add icons to the links in the sidebar and top.links. If setting Add name in layout As link class is enabled.

```
// Customer Navigation links in Customer Account sidebar
.block-collapsible-nav .nav.item .customer-account-navigation-account-link {
    // If you use svg icons
    &::before {
        content: "";
        background-image: url('@{baseDir}Vendor_Module/icons/icon.svg');
        background-size: 16px 16px;
        background-repeat: no-repeat;
        position:relative;
        display:inline-block;
        top:2px;
        height: 16px;
        width: 16px;
        padding-right: 5px;
    }
    // If you use font icons
    &::before {
        content: "\f007";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 16px;
        position:relative;
        display:inline-block;
        top:2px;
        height: 16px;
        width: 16px;
        padding-right: 5px;
    }
}
// Customer Navigation links in header
.header.links .nav.item .my-account-link {

    // If you use svg icons
    &::before {
        content: "";
        background-image: url('@{baseDir}Vendor_Module/icons/icon.svg');
        background-size: 16px 16px;
        background-repeat: no-repeat;
        position:relative;
        display:inline-block;
        top:2px;
        height: 16px;
        width: 16px;
        padding-right: 5px;
    }
    // If you use font icons
    &::before {
        content: "\f007";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 16px;
        position:relative;
        display:inline-block;
        top:2px;
        height: 16px;
        width: 16px;
        padding-right: 5px;
    }
}

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

923d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee5e77c90e7b7b0ed5cbbdd0df8280b9f9f08ab64263c32c6f4d527155e054c7?d=identicon)[JesperHerrloff](/maintainers/JesperHerrloff)

---

Top Contributors

[![JesperHerrloff](https://avatars.githubusercontent.com/u/70312997?v=4)](https://github.com/JesperHerrloff "JesperHerrloff (4 commits)")

---

Tags

magento2-extension-freemagento2-module

### Embed Badge

![Health badge](/badges/jesper-herrloff-module-customer-navigation/health.svg)

```
[![Health](https://phpackages.com/badges/jesper-herrloff-module-customer-navigation/health.svg)](https://phpackages.com/packages/jesper-herrloff-module-customer-navigation)
```

###  Alternatives

[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.8k2](/packages/zwernemann-module-withdrawal)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1615.9k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
