Disable Shopware update notifications

How to disable update notifications in Shopwares administration.

364 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. Sometimes we may to manually clear cached Shopware files to fix namespace issues.
  2. How to obtain the currently selected API language from Shopware vue components.
  3. How to access file system paths from storefront twig files in Shopware.
  4. How to get or change the currently selected sales channel in an Shopware sw-sales-channel-switch component.
  5. In this tutorial you will learn how to work with Shopware entities in a generic way from PHP, without having to specifically inject the repository in your services.xml file.

More in: Shopware