Can't add administration module

I’m using Shopware 6.4.3.0, and I’m trying to add a new custom module on navigation menu, I had read the documentation and had added the code like on documentation but still it doesn’t appear on sidebar of administration dashboard, please is it possible to add it or no?

I also watched ( Creating the base for an administration module) on the shopware 6 training advanced tutorials, and did the same code as in the tutorial but still doesn’t work?

Hi,

I had a similar problem and the reason why it is not working on the first level in the Navigation is due to design decisions which the shopware UX team made.
You can only add your custom menu entry basically to the second level.

All you need to do for doing so is adding this to your navigation configuration:

parent: ‚sw-catalogue‘

This line means, that your menu entry will get added to the Catalog main navigation menu entry on the second level.

Don’t forget to

./psh.phar administration:build

If you are not in watch mode.

You can find this explanation and a example here

But of course there is always a way especially because this is Javascript.
It is actually quite easy.

To get your menu entry on the first level in your navigation, you have to add

type: „core“

instead of

type: „plugin“

The only thing which you have to be aware of is, that you can’t submit such an plugin to the shopware store because as I already mentioned, your menu entries have to go on the second level.

Cheers :slight_smile: