Normally, we use repositories in Shopware 6 to read and write data from or to the database. In 99% of cases, this is the best way to do it. However, as I know from experience,
Much of the stuff, that we need to do in Shopware 6, revolves around events. For example, if we need to do something, when the product detail page loads, we can create a subscriber like
What are custom fields in Shopware 6? Custom fields are a Shopware 6 feature, that allows us to extend various entities like customers, products or categories, very easily. And by extending I mean storing and
What are the repositories in Shopware 6? To put it very simply: repositories = database tables in Shopware 6. Of course it is not that simple, but for the most part, it is the truth.