{% extends "base.html" %} {% load static erp_tags bunny_images %} {% block title %}{{ product.title }} — Product{% endblock %} {% block chat_context %} {% endblock %} {% block content %} {# Product Header #}
{{ product.brand.title }}
{% endif %}SKU
{{ product.part_number|default:"—" }}
Type
{{ product.get_product_type_display }}
MPN
{{ product.mpn|default:"—" }}
Retail Price
Wholesale
{{ default_variant.wholesale_price|money }}
Stock
{% if default_variant.stock > 0 %} {{ default_variant.stock }} in stock {% else %} Out of stock {% endif %}
Product
{{ product.item_length|floatformat:1|default:"—" }} x {{ product.item_width|floatformat:1|default:"—" }} x {{ product.item_height|floatformat:1|default:"—" }} {{ product.item_dimension_uom|default:"in" }}
{% endif %} {% if product.shipping_length or product.shipping_width or product.shipping_height %}Shipping
{{ product.shipping_length|floatformat:1|default:"—" }} x {{ product.shipping_width|floatformat:1|default:"—" }} x {{ product.shipping_height|floatformat:1|default:"—" }} {{ product.shipping_dimension_uom|default:"in" }}
{% endif %} {% if product.item_weight or product.shipping_weight %}Weight
{% if product.item_weight %}{{ product.item_weight|floatformat:1 }} {{ product.item_weight_uom|default:"lb" }}{% endif %} {% if product.shipping_weight %}{% if product.item_weight %} · {% endif %}Ship: {{ product.shipping_weight|floatformat:1 }} {{ product.shipping_weight_uom|default:"lb" }}{% endif %}
{% endif %} {% if not product.item_length and not product.shipping_length and not product.item_weight and not product.shipping_weight %}No dimension data
{% endif %}| SKU | Name | Retail | Wholesale | Stock | Status |
|---|---|---|---|---|---|
| {{ v.sku }} | {{ v.name|default:"Default" }} | {{ v.retail_price|money }} | {{ v.wholesale_price|money }} | {{ v.stock|default:0 }} | {% if v.is_active %}Active{% else %}Inactive{% endif %} |
| No variants | |||||
| Price List | Variant | Price | Min Qty |
|---|---|---|---|
| {{ pli.price_list.name }} | {{ pli.variant.sku }} | {{ pli.price|money }} | {{ pli.min_qty }} |
| No pricing data | |||
| Warehouse | Variant | On Hand | Reserved | Available | Bin |
|---|---|---|---|---|---|
| {{ ws.warehouse.name }} | {{ ws.variant.sku }} | {{ ws.quantity }} | {{ ws.reserved_qty }} | {{ ws.available_qty }} | {{ ws.bin_location|default:"—" }} |
| No stock data | |||||
| Title | Type | Action |
|---|---|---|
| {{ doc.title }} | {{ doc.get_document_type_display }} | {% if doc.r2_url %} Download {% endif %} |
| No documents | ||