Skip to content

Commit

Permalink
Update register.html.twig (#700)
Browse files Browse the repository at this point in the history
Insert hidden field to let shopware know we want to create an account.
  • Loading branch information
uthiess authored Feb 16, 2024
1 parent 1c582fa commit 6189790
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 #}
<input type="hidden" name="createCustomerAccount" value="true">
{% else %}
{{ parent() }}
{% endif %}
Expand Down

0 comments on commit 6189790

Please sign in to comment.