Themes

Plugins and AdditionalBundles can bring themes which will automatically be installed. You can add one theme per bundle. So you can provide multiple themes in one plugin with the help of AdditionalBundles.

ThemeInterface

A plugin or bundle must implement the empty ThemeInterface to be known as a theme:

<?php

namespace Foo\Bar;

use Dustin\ShopwareUtils\Core\Framework\Plugin;
use Shopware\Storefront\Framework\ThemeInterface;

class FooBar extends Plugin implements ThemeInterface
{
}

Create a theme

If you want to know how to create a theme take a look into the Shopware documentation:

Last updated