DocumentMailTemplatesToBuiltInMailTemplatesMigration

Implements \Shopware\Plugins\ViisonCommon\Components\Migration\Migration

Find the mail templates for the ERP document mailer and migrates them to templates used by Shopware's built in order document mailer.

Migration is executable since Shopware 5.5.0.

package

Default

Methods

__construct

__construct(\Zend_Db_Adapter_Abstract $db, \Shopware\Models\Plugin\Plugin $plugin, \Enlight_Components_Snippet_Manager $bootstrapSnippetManager) 

Arguments

$db

\Zend_Db_Adapter_Abstract

$plugin

\Shopware\Models\Plugin\Plugin

$bootstrapSnippetManager

\Enlight_Components_Snippet_Manager

canExecute

canExecute() 
inheritdoc

execute

execute(\Shopware\Plugins\ViisonCommon\Components\Migration\MigrationTranscript $transcript) 
inheritdoc

Arguments

$transcript

\Shopware\Plugins\ViisonCommon\Components\Migration\MigrationTranscript