custom/plugins/Wingsacademy/src/Resources/views/storefront/component/privacy-notice.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/privacy-notice.html.twig' %}
  2. {% block component_privacy_notice %}
  3.     <div class="form-text privacy-notice">
  4.         {% block component_privacy_title %}
  5.             <strong>{{ "general.privacyTitle"|trans|sw_sanitize }}{{ "general.required"|trans|sw_sanitize }}</strong></br>
  6.         {% endblock %}
  7.         {% block component_privacy_dpi %}
  8.             {% if config('core.loginRegistration.requireDataProtectionCheckbox') == 1 || isCheckoutPrivacyCheckbox %}
  9.                 <div class="{{ formCheckboxWrapperClass }} data-protection-information">
  10.                     {% block component_privacy_dpi_checkbox %}
  11.                         <input type="checkbox"
  12.                                class="{{ formCheckInputClass }} {% if formViolations.getViolations('/acceptedDataProtection') is not empty %} is-invalid{% endif %}"
  13.                                name="acceptedDataProtection"
  14.                                required="required"
  15.                                value="1"
  16.                                id="acceptedDataProtection"
  17.                                oninvalid="this.setCustomValidity('Bitte klicken Sie dieses Kästchen an, um fortfahren zu können.')" oninput="this.setCustomValidity('')"
  18.                                {% if data.get('acceptedDataProtection') %}checked="checked"{% endif %}>
  19.                     {% endblock %}
  20.                     {% block component_privacy_dpi_label %}
  21.                         <label class="custom-control-label no-validation"
  22.                                for="acceptedDataProtection">
  23.                             {# @deprecated tag:v6.5.0 - Translation parameter %url% will be removed, use %privacyUrl% and %tosUrl% instead #}
  24.                             {{ "general.privacyNotice"|trans({
  25.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  26.                                 '%privacyUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  27.                                 '%tosUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage') })
  28.                             })|raw }}
  29.                         </label>
  30.                     {% endblock %}
  31.                 </div>
  32.             {% else %}
  33.                 <div class="data-protection-information">
  34.                     {% block component_privacy_label %}
  35.                         <label>
  36.                             {# @deprecated tag:v6.5.0 - Translation parameter %url% will be removed, use %privacyUrl% and %tosUrl% instead #}
  37.                             {{ "general.privacyNotice"|trans({
  38.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  39.                                 '%privacyUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  40.                                 '%tosUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage') })
  41.                             })|raw }}
  42.                         </label>
  43.                     {% endblock %}
  44.                 </div>
  45.             {% endif %}
  46.         {% endblock %}
  47.     </div>
  48.     <div class="form-text privacy-notice">
  49.     <strong>Gewerbliche Bestellung*</strong></br>
  50.                 <div class="{{ formCheckboxWrapperClass }} data-protection-information">
  51.                         <input type="checkbox"
  52.                                class="{{ formCheckInputClass }} {% if formViolations.getViolations('/acceptedbusiness') is not empty %} is-invalid{% endif %}"
  53.                                name="acceptedbusiness"
  54.                                required="required"
  55.                                value="1"
  56.                                id="acceptedbusiness"
  57.                                oninvalid="this.setCustomValidity('Bitte klicken Sie dieses Kästchen an, um fortfahren zu können.')" oninput="this.setCustomValidity('')"
  58.                                {% if data.get('acceptedbusiness') %}checked="checked"{% endif %}>
  59.                         <label class="custom-control-label no-validation"
  60.                                for="acceptedbusiness">
  61.                              Unser Angebot richtet sich ausschließlich an gewerbliche Kunden. Hiermit bestätige ich, dass es sich um eine gewerbliche Bestellung handelt.
  62.                              Hinweis: Weitere Informationen finden Sie in unseren <a href="/shop/FAQ-zur-Nutzung-der-Lizenzen/#faq_group_481761377d8642cbb3548daa960c2686">FAQ</a>.
  63.                         </label>
  64.                 </div>
  65.             
  66.     </div>
  67. {% endblock %}