custom/static-plugins/checkout/src/Resources/views/storefront/component/account/register.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/component/account/register.html.twig" %}
  2. {% block component_account_register %}
  3.     {{ parent() }}
  4.     {% block snippets_for_js_validation %}
  5.         {% set validationSnippets = {
  6.             generalValidation: "wexoCheckout.checkout.validation.general"|trans,
  7.             addressValidation: "wexoCheckout.checkout.validation.address"|trans,
  8.             emailValidation: "wexoCheckout.checkout.validation.email"|trans,
  9.             phoneValidation: "wexoCheckout.checkout.validation.phone"|trans
  10.         } %}
  11.         <input type="hidden" id="validationErrorMessageSnippets" value="{{ validationSnippets|json_encode }}">
  12.     {% endblock %}
  13. {% endblock %}
  14. {% block component_account_register_privacy %}
  15.     {# Nope #}
  16. {% endblock %}
  17. {% block component_account_register_address_shipping_fields_company %}
  18.     {# Temporary fix, as it doesnt work in shopware 6.4. Issue created https://issues.shopware.com/issues/NEXT-16071 #}
  19.     {# Only change is i have add accountType to data passed #}
  20.     {% sw_include '@Storefront/storefront/component/address/address-personal-company.html.twig' with {
  21.         'prefix': 'shippingAddress',
  22.         'customToggleTarget': true,
  23.         'address': data.get('shippingAddress'),
  24.         'accountType': data.get('accountType')
  25.     } %}
  26. {% endblock %}