Shopware - page 2

Learn how to build custom Shopware implementations using PHP, Symfony, composer, and a spark of creative genius.

  1. How to remove canonical from paginated content to follow technical best-practices. Page 1 is not equal to page 2, and it therefore should not be defined as the canonical URL.
  2. This error may happen if you have deleted the headless sales channel, but it seems it is easily fixed by replacing the ID in Defaults.php
  3. Obtaining the host name from Shopware storefront and administration related code. E.g. From .twig and vue.js components.
  4. How SEO URLs work in Shopware, and how to customize them.
  5. Exclude redundant messages from your Shopware log files, exclude specific exceptions, and limit exception logging with error log levels using Monolog.
  6. I have been unable to return inactive products using Shopware DAL, so I came up with a simple SQL solution instead.
  7. Undefined array key password doing installation of Shopware using the web installer.
  8. Running messenger:consume workers with a time limit can be useful, but you should also not set it too low.
  9. If shopware is stuck in maintenance mode, make sure to delete the update fulder and disable maintenance mode manually.
  10. How to use the watch scripts to preview changes without having to recompile everything.