Shopware - page 2
Learn how to build custom Shopware implementations using PHP, Symfony, composer, and a spark of creative genius.
- 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.
- 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
- Obtaining the host name from Shopware storefront and administration related code. E.g. From .twig and vue.js components.
- How SEO URLs work in Shopware, and how to customize them.
- Exclude redundant messages from your Shopware log files, exclude specific exceptions, and limit exception logging with error log levels using Monolog.
- I have been unable to return inactive products using Shopware DAL, so I came up with a simple SQL solution instead.
- Undefined array key password doing installation of Shopware using the web installer.
- Running messenger:consume workers with a time limit can be useful, but you should also not set it too low.
- If shopware is stuck in maintenance mode, make sure to delete the update fulder and disable maintenance mode manually.
- How to use the watch scripts to preview changes without having to recompile everything.