PHPackages                             actualizer/hide-shopware-payments-menu - 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. [Admin Panels](/categories/admin)
4. /
5. actualizer/hide-shopware-payments-menu

ActiveShopware-platform-plugin[Admin Panels](/categories/admin)

actualizer/hide-shopware-payments-menu
======================================

Hides the Shopware Payments admin main menu entry

1.0.3(1mo ago)00MITJavaScriptPHP &gt;=8.4

Since Jun 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/actualizer/ActHideShopwarePaymentsMenu)[ Packagist](https://packagist.org/packages/actualizer/hide-shopware-payments-menu)[ RSS](/packages/actualizer-hide-shopware-payments-menu/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

ActHideShopwarePaymentsMenu - Hide the Shopware Payments admin menu entry
=========================================================================

[](#acthideshopwarepaymentsmenu---hide-the-shopware-payments-admin-menu-entry)

This plugin removes the **"Shopware Payments"** entries from the administration navigation. Shopware adds this payment offering to the admin menu by default. Its primary purpose is to **tidy up the main navigation for shops that do not use Shopware Payments**. (Earlier Shopware versions also threw a *"You do not have the required permissions"* page when the entry was clicked — that bug is fixed in current Shopware, but the unused entries remain.)

Shopware surfaces "Shopware Payments" in **two** separate places in the navigation via two different mechanisms, so the plugin filters both.

> **Note:** This is not a statement against Shopware Payments — it is a solid product and a great fit for many shops. This plugin simply addresses the menu clutter for the shops that don't use it: it only hides navigation entries and leaves the app, its payment methods and all functionality fully intact, so it can be enabled again at any time.

What it does
------------

[](#what-it-does)

- Hides the main menu node with navigation id `sw-payments` (registered by the `SwagExtensionStore` plugin) **and** its child entries (`Overview` / `Settings`, the `ShopwarePayments` service app's manifest modules with `parent === "sw-payments"`).
- Hides the **second** entry that appears under **"Extensions"** (`sw-extension`). Newer `ShopwarePayments` versions register it through the Meteor Admin SDK (`menuItem.add`) from inside their iframe; such entries get a random id and default to `parent: "sw-extension"`, so they cannot be matched by id/parent. They are matched instead via their SDK module's `baseUrl`, which points at the app's service domain (`shopware-payments.services.shopware.io`).
- It does this in the administration only, by overriding the `navigationEntries`computed of `sw-admin-menu` and filtering the entries out before the menu tree is built.

What it deliberately does NOT do
--------------------------------

[](#what-it-deliberately-does-not-do)

- It does **not** deactivate, uninstall or otherwise touch the `ShopwarePayments`app. The app must stay active — it is wired into the storefront cookie consent (custom field set `shopware_payments_express` and storefront gateways). Deactivating it causes an endless loading spinner in the storefront cookie settings.
- It does **not** touch `SwagExtensionStore`, any core files, the global `core.services.disabled` switch, ACL roles or payment methods.
- It only removes the **navigation entries** — nothing else. The change is purely cosmetic and fully reversible: deactivate this plugin and the entries reappear. The goal is a tidy main menu, not making the app inaccessible.

Result: both navigation entries are gone, everything else (the app, its payment methods and the storefront integration) keeps working unchanged.

Requirements
------------

[](#requirements)

- Shopware 6.7 (`>=6.7
