{# app/modules/loyalty/templates/loyalty/storefront/enroll.html #} {% extends "storefront/base.html" %} {% block title %}{{ _('loyalty.enrollment.title') }} - {{ store.name }}{% endblock %} {% block i18n_modules %}['loyalty']{% endblock %} {% block alpine_data %}customerLoyaltyEnroll(){% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if store.logo_url %} {{ store.name }} {% endif %}

{{ _('loyalty.enrollment.title') }}

{{ _('loyalty.enrollment.subtitle', points=program.points_per_euro if program else 1) }}

{{ _('loyalty.enrollment.not_available_title') }}

{{ _('loyalty.enrollment.not_available_message') }}

{{ _('loyalty.enrollment.welcome_bonus', points=program.welcome_bonus_points if program else 0) }}
{# Use flatpickr instead of — Firefox ignores the html lang attribute for native date inputs, so users on FR still saw mm/dd/yyyy. flatpickr enforces dd/mm/yyyy across all browsers and locales (universal in Europe). #}

{{ _('loyalty.enrollment.form.birthday_hint') }}

{{ _('loyalty.enrollment.already_member') }}

{% endblock %} {% block extra_scripts %} {# flatpickr loaded synchronously so x-init can call flatpickr() during Alpine setup #} {% if current_language and current_language != 'en' %} {% endif %} {% endblock %}