From 4a968cd3e98d9d2ac9b8889a19638aa3f4127a3a Mon Sep 17 00:00:00 2001 From: Uwe Thiess Date: Thu, 8 Feb 2024 17:50:38 +0100 Subject: [PATCH] Update register.html.twig Insert hidden field to let shopware know we want to create an account. --- .../views/storefront/page/checkout/address/register.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Resources/views/storefront/page/checkout/address/register.html.twig b/src/Resources/views/storefront/page/checkout/address/register.html.twig index 2933f774e..f36ac8a57 100644 --- a/src/Resources/views/storefront/page/checkout/address/register.html.twig +++ b/src/Resources/views/storefront/page/checkout/address/register.html.twig @@ -12,6 +12,8 @@ {% if(isMollieSubscription == true) %} {# we must require a registration, so hide the "do not create customer" checkbox #} + {# but the form field is still required to be true, otherwise we continue as guest #} + {% else %} {{ parent() }} {% endif %}