Shopware

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

  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.
  6. 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.
  7. 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.
  8. How to access standard php $_GET parameters from the Shopware storefront .twig files. E.g. The URL query string parameters.
  9. 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.
  10. 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.

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.