Disable Shopware update notifications

How to disable update notifications in Shopwares administration.

446 views

Edited: 2022-10-13 10:43

shopware: 
    auto_update:
        enabled: false

Source: /var/www/shopware/config/packages/shopware.yaml

When a new version of Shopware becomes available, a notification is displayed in the Administration to all admin users when logging in, and generally notifications like this is a bad thing. But, it is also annoying and unnecessary, because you will usually be managing the update process via composer anyway.

To disable this, simply edit the shopware.yaml file and disable the auto_update setting.

Remember to cache:clear after doing so. E.g:

sudo -u www-data bin/console cache:clear

Other notifications

As for other notifications, they are not so easily disabled, unfortunately. But, you can limit the probing interval time for the admin notification worker, this is done in the file:

/var/www/shopware/vendor/shopware/administration/Resources/app/administration/src/core/worker/admin-notification-worker.js

E.g:

constructor() {
  // ...

  this._notiticationInterval = 15000;

  // ...
}

The default for this._notiticationInterval is 5000 (5 seconds).

Tell us what you think:

  1. How to debug issues caused by corrupted custom fields in Shopware 6.
  2. Sometimes we may to manually clear cached Shopware files to fix namespace issues.
  3. How to obtain the currently selected API language from Shopware vue components.
  4. How to access file system paths from storefront twig files in Shopware.
  5. How to get or change the currently selected sales channel in an Shopware sw-sales-channel-switch component.

More in: Shopware