{% extends 'cms_page.html' %} {% load cms_tags sekizai_tags i18n l10n thumbnail filer_tags filer_image_tags %} {% block sub_content %} {% if is_anonymous %}
{{ how_to_register }}
{% elif not may_order%}
{% trans "You are not allowed to order products" %}
{% else %} {# not is_anonymous and may_order#}
{% if permanence.offer_description and permanence.offer_description.strip %}
{{ permanence.offer_description | safe }}
{% else %}

{{ permanence.get_permanence_customer_display }}

{% endif %}
{% if basket %}

{% trans "Details of your order" %}

{% else %} {% if offeritem_list %} {% endif %} {% endif %} {% endif %} {# not is_anonymous and may_order#} {% if not is_anonymous or display_anonymous_order_form %}
{% if offeritem_list %} {% for offer in offeritem_list %} {% if offer.picture %} {% thumbnail offer.picture "0x150"|extra_padding_y:5 crop="smart" as product_thumbnail %}
{% else %}
{% endif %} {{ offer.cache_part_a | safe }}
{% if offer.may_order %}{% endif %} {{ offer.cache_part_b | safe }} {% if not offer.is_box %}
{% endif %}
{% if offer.is_box %}
{{ box_description |safe }}
{% endif %} {% if not forloop.last %} {% if box %}

{% else %}

{% endif %} {% else %} {% if is_paginated %} {% endif %} {% endif %} {% endfor %} {% else %}

{% trans "No offer found" %}

{% endif %}
{# Communication Modal starts#} {# Communication modal ends#} {# Order Modal starts#} {# Order modal ends#} {# Other qty Modal starts#} {# Other qty modal ends#}
{% endif %} {# not is_anonymous or display_anonymous_order_form #} {% endblock %} {% block footer %}
{{ permanence.cache_part_d | safe }} {% if box_set %}
{% endif %}
{% if offeritem_list %} {% endif %} {% if is_paginated %}
{% if page_obj.has_previous %}          {% else %} {% endif %} {% if page_obj.has_previous or page_obj.has_next %} {% trans "Page " %} {{ page_obj.number }} {% trans "of" %} {{ page_obj.paginator.num_pages }} {% endif %} {% if page_obj.has_next %}          {% else %} {% endif %}
{% endif %}
{% addtoblock "lastjs" %} {% endaddtoblock %} {% static_placeholder 'footer' %} {% endblock %}