{% extends 'core/base.html' %} {% load currency_filters %} {% load static %} {% block title %}{{ product.name }} — SwiftPOS{% endblock %} {% block topbar_title %}Product Detail{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
SKU: {{ product.sku }}{% if product.barcode %} · Barcode: {{ product.barcode }}{% endif %} · {{ product.category.name|default:"Uncategorized" }}
{{ product.sku }}{{ product.barcode }}| Attributes | SKU | Price | Stock |
|---|---|---|---|
|
{% for key, val in variant.attribute_values.items %}
{{ key|title }}: {{ val }}
{% empty %}
Standard
{% endfor %}
|
{{ variant.sku }} |
{% money variant.effective_price %} | {% if variant.real_stock <= 0 %} Out of Stock {% elif variant.real_stock <= variant.minimum_stock %} {{ variant.real_stock }} (Low) {% else %} {{ variant.real_stock }} {% endif %} |
| No variants configured. Add First Variant | |||
Includes barcode and product name for easy scanning.
{% else %}No barcode set. Edit this product to add one.