Shopware

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

  1. How to get or change the currently selected sales channel in an Shopware sw-sales-channel-switch component.
  2. 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.
  3. This problem can happen when you use an event handler in Twig, but forget to add- or place your function in the wrong location in your index.js.
  4. The could not reset changes error might indicate a problem with file permissions, and you may have to fix the permissions and re-install the package via composer to fix it.
  5. How to access standard php $_GET parameters from the Shopware storefront .twig files. E.g. The URL query string parameters.
  6. Sometimes we may to manually clear cached Shopware files to fix namespace issues.
  7. You need quite a few files just to create a scheduled task in Shopware, and getting it right can be a challenging undertaking to new developers. In this tutorial, I tried to simplify the process.
  8. This error can apparently happen as a result of numerous situations causing perpetual calls to functions or methods. In this article, I try to list some of them.
  9. Here is the reason why the Shopware build script may not progress beyond: Dumped plugin configuration.
  10. Shopware has a convoluted media storage implementation, and Media URLs can break when you move server or create a new test environment for an existing Shopware installation, but luckily it is usually easily fixed.

Shopware

Shopware is a powerful open source e-commerce platform that allows businesses to create online stores with relative ease; the platform is built with popular technologies such as Composer and Symfony, and it is therefore very versatile, as this allows the platform to be used for many different purposes besides that which is offered as "core" functionality through composer packages and plugins made specifically for Shopware.

The platform offers a wide variety of payment- and shipping methods, and is easily extendable with more through existing plugins or custom development.

The internationalization part is also very well done, as Shopware supports multiple languages out-of-the-box. Operating multiple websites (domain names), each with their own language and settings, is also relatively easy when using Shopware – all the domains can be handled by the same system with different designs (themes), which centralizes the development and makes it easier to maintain multiple sites targeted at different countries.