{% set category = __SELF__.category %} {% set categories = __SELF__.categories %} {% set users = __SELF__.users %} {% set categoryUsers = __SELF__.categoryUsers %} {% set subs = __SELF__.subcategories %} {% set cities = __SELF__.cities %} {% set counter = 0 %}
{{ 'category.Kategoriya'|_ }}
{% if categoryUsers.count > 0 %}
{% endif %}
{% for user in users %} {% endfor %}
{% if category.subs.count == 0 %} {% if category.products.count == 0 %} {% set counter = 0 %} {% else %} {% set counter = counter + 1 %} {% endif %} {% elseif category.subs.count > 0 %} {% for sub in category.subs %} {% if sub.products.count > 0 %} {% set counter = counter + 1 %} {% endif %} {% if sub.subs.count > 0 %} {% for subsub in sub.subs %} {% if subsub.products.count > 0 %} {% set counter = counter + 1 %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% if counter == 0 %}
Gurluşyk, Gurluşyk platform, bezeg gurluşyk, gipsler merkezi

{{ 'product.SuwagtlykcaHarytYok'|_ }}

{% else %}
{{ 'filter.Kategoriyalar'|_ }}
{% if category.subs|length > 0 %}
{{ 'productAdd.IkinjiKategoriya'|_ }}
{% endif %}
{{ 'filter.Saherler'|_ }}
{{ 'filter.Baha'|_ }}
{% for subcategory in category.subs %} {% if subcategory.subs.count() > 0 %} {% for subsubcategory in subcategory.subs %} {% for product in subsubcategory.products %}
{% if user %} {% else %} {% endif %}

{{product.vendor.shop_title}}

{{ product.name }}
{% if product.vendor.web2 > 0 %} {{ product.price }} TMT {{ product.getDiscountedPrice(product.vendor.web2) }} TMT {% else %} {{ product.price }} TMT {% endif %}
{{ product.stock == 0 ? 'productAdd.ZakazaGelyar'|_ : 'productAdd.ElimizdeBar'|_ }}
{% endfor %} {% endfor %} {% else %} {% for product in subcategory.products %}
{% if user %} {% else %} {% endif %}

{{product.vendor.shop_title}}

{{ product.name }}
{% if product.vendor.web2 > 0 %} {{ product.price }} TMT {{ product.getDiscountedPrice(product.vendor.web2) }} TMT {% else %} {{ product.price }} TMT {% endif %}
{{ product.stock == 0 ? 'productAdd.ZakazaGelyar'|_ : 'productAdd.ElimizdeBar'|_ }}
{% endfor %} {% endif %} {% endfor %}
{% for subcategory in category.subs %} {% if subcategory.subs.count() > 0 %} {% for subsubcategory in subcategory.subs %} {% for product in subsubcategory.products %} {% endfor %} {% endfor %} {% else %} {% for product in subcategory.products %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% put scripts %} {% endput %}