Shopware

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

  1. How to debug issues caused by corrupted custom fields in Shopware 6.
  2. Sometimes we may to manually clear cached Shopware files to fix namespace issues.
  3. How to obtain the currently selected API language from Shopware vue components.
  4. How to access file system paths from storefront twig files in Shopware.
  5. How to get or change the currently selected sales channel in an Shopware sw-sales-channel-switch component.
  6. 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.
  7. 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.
  8. 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.
  9. How to access standard php $_GET parameters from the Shopware storefront .twig files. E.g. The URL query string parameters.
  10. 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.

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.