{% load i18n static %}
{% csrf_token %}

{% trans 'Products' %}

{% if available_page and available_page.has_other_pages %} {% include 'manage/snippets/pagination.html' with page_obj=available_page url_name='lfs_manage_product_accessories' url_params=product.id page_info_position='beside' %} {% endif %}
{% if available_page and available_page.object_list %}
{% for p in available_page.object_list %} {% if p.is_product_with_variants %} {% for v in p.available_variants %} {% endfor %} {% endif %} {% endfor %}
{% trans 'Name' %} {% trans 'SKU' %} {% trans 'Active' %}
{{ p.get_name }} {{ p.get_sku|default:"---" }} {% if p.is_active %} {% else %} {% endif %}
{{ v.get_name }} {{ v.get_sku|default:"---" }} {% if v.is_active %} {% else %} {% endif %}
{% else %}

{% trans "No products found." %}

{% trans "Try adjusting your search or filter criteria." %}

{% endif %}