Tag Archives: Shopware Plugin Development

How To Create Shopware 6 Custom Plugin Logger?

How To Create Shopware 6 Custom Plugin Logger

In Shopware 6, there is a plugin logger that allows your plugin to output logs to its own log file, separate from the default Shopware logs. This can be useful for debugging, auditing plugin-specific activity, or keeping logs organized. Here is where you learn how to use a custom logger that logs to a special file. Every log file will append the environment and the date, both set in the.env […]

Shopware Extension Verifier: A Comprehensive Guide for Developers

Shopware Extension Verifier

Developing Shopware extensions comes with the responsibility of ensuring code quality, compatibility, and adherence to best practices. Fortunately, Shopware offers a powerful tool: Extension Verifier. This tool allows developers to easily validate and format their plugins, automate fixes, and ensure that the code adheres to Shopware’s guidelines. In this guide, we’ll walk through how to […]

How to configure Shopware 6 plugin configuration default values?

configure default values of Shopware 6 plugin config

This article will explain to you how to configure the default values that you want users to see in the configuration of your plugin once they install and activate it. To gain some fundamental knowledge with examples if you are new to the Shopware 6 plugin configuration, I recommend reading my post on how to […]

How to Send Emails From Shopware 6 Programmatically?

Send Emails From Shopware 6

Sending emails programmatically from Shopware 6 can be achieved using the Shopware-provided services and components. To do this, you’ll need to create a custom plugin and utilize the Shopware Email Service to send emails. Here’s a step-by-step guide to help you accomplish this