diff --git a/myproject/products/templates/products/configurablekit_detail.html b/myproject/products/templates/products/configurablekit_detail.html index a78e10f..f0691fa 100644 --- a/myproject/products/templates/products/configurablekit_detail.html +++ b/myproject/products/templates/products/configurablekit_detail.html @@ -139,6 +139,7 @@ Название атрибута Значение опции + Комплект Порядок Видимый @@ -148,6 +149,15 @@ {{ attr.name }} {{ attr.option }} + + {% if attr.kit %} + + {{ attr.kit.name }} + + {% else %} + + {% endif %} + {{ attr.position }} {% if attr.visible %} diff --git a/myproject/products/templates/products/configurablekit_list.html b/myproject/products/templates/products/configurablekit_list.html index 5e32661..af65921 100644 --- a/myproject/products/templates/products/configurablekit_list.html +++ b/myproject/products/templates/products/configurablekit_list.html @@ -59,6 +59,7 @@ Артикул Статус Вариантов + Атрибутов Дата создания Действия @@ -86,6 +87,9 @@ {{ item.options.count }} + + {{ item.parent_attributes.count }} + {{ item.created_at|date:"d.m.Y H:i" }} {% empty %} - + Нет вариативных товаров. Создать первый