{% extends "layouts/panel.html" %} {% load i18n shop_ui %} {% load ravix_ui %} {% block title %}{% trans "Products" %}{% endblock %} {% block page_title %}{% trans "Products" %}{% endblock %} {% block content %}
{% blocktrans trimmed with name=site_obj.name %}Site: {{ name }}{% endblocktrans %}
{% blocktrans trimmed with count=low_total|fa_digits %}{{ count }} product(s) are at or below their low-stock threshold.{% endblocktrans %} {% trans "Show them" %}
| {% trans "Name" %} | {% trans "SKU" %} | {% trans "Price" %} | {% trans "Stock" %} | {% trans "Status" %} | |
|---|---|---|---|---|---|
| {{ p.name }}{% if p.is_variable %} {% blocktrans trimmed with count=p.variant_count|fa_digits %}{{ count }} variants{% endblocktrans %}{% endif %} | {{ p.sku|default:"—" }} | {% price p.price %} | {% if p.is_variable %}—{% else %}{{ p.stock|fa_digits }}{% if p.out_flag %} {% trans "Out of stock" %}{% elif p.low_flag %} {% trans "Low stock" %}{% endif %}{% endif %} | {% if p.is_active %}{% trans "Active" %}{% else %}{% trans "Inactive" %}{% endif %} | {% trans "Edit" %} |