{% extends 'core/base.html' %} {% load currency_filters %} {% load static %} {% block title %}{{ product.name }} - SwiftPOS{% endblock %} {% block topbar_title %} Product Detail {% endblock %} {% block content %}
| Branch | Quantity |
|---|---|
| {{ vbs.branch.name }} | {{ vbs.quantity }} |
| No branch-level variant stock yet. Use Manage Variants → Restock to add branch stock. | |
| Global (all variants) | {{ variant_stock_total }} |
| {{ bs.branch.name|default:"Main Branch" }} | {{ bs.quantity }} |
| No branch allocations set yet. | |
{{ product.description }}
{% endif %}| Attributes | SKU | Price | Stock |
|---|---|---|---|
|
{% for attr in variant.attributes.all %}
{{ attr.attribute_name|title }}: {{ attr.attribute_value }}
{% empty %}
Standard
{% endfor %}
|
{{ variant.sku }} | {% money variant.price %} | {# Show branch stock total for this variant if available #} {% with stock=variant.stock_quantity %} {% if stock <= 0 %} Out {% else %} {{ stock }} {% endif %} {% endwith %} |
|
No variants configured for this product. Add First Variant |
|||
The image includes the barcode and product name for easy recognition.
{% else %}This product does not have a barcode yet. Set a barcode on the edit page to generate an image.
{% endif %}