diff --git a/viaebShopwareAfterbuy.php b/viaebShopwareAfterbuy.php index d42409d..feb4d92 100755 --- a/viaebShopwareAfterbuy.php +++ b/viaebShopwareAfterbuy.php @@ -9,6 +9,7 @@ use Shopware\Components\Plugin\Context\InstallContext; use Shopware\Components\Plugin\Context\UninstallContext; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Shopware\Components\Plugin\Context\UpdateContext; /** * Shopware-Plugin FatchipAfterbuy. @@ -26,6 +27,15 @@ public function build(ContainerBuilder $container) parent::build($container); } + /** + * @param UpdateContext $context + */ + public function update(UpdateContext $context) { + parent::update($context); + + $this->updateAttributes(); + } + /** * @param InstallContext $context * @throws \Doctrine\ORM\OptimisticLockException