{% extends 'root/base.html' %} {% load static %} {% block title %} Product Detail {% endblock %} {% block maincontent %} {% include 'root/loader.html' %}
product image
{% for image_data in prod_img_detail %} product image {% endfor %}
{{prod_detail.short_desc}}
by {{prod_detail.supplier_desc}} {% if prod_detail.external_link %} {% endif %}
{{prod_detail.currency_id}} {{prod_detail.price}} / {{prod_detail.unit_desc}}
{% if quantity_dictionary %}
Available Discount {% for quantity in quantity_dictionary.variant_data %}
discount {{quantity.discount_percentage_value}}% off on minimum {{quantity.discount_min_quantity}} quantity
{% endfor %}
{% endif %}
Quantity
Minimum Order Quantity: {{prod_detail.quantity_min}}
Lead Time(Days): {{prod_detail.lead_time}}
{% for eform_data in eform_detail %} {% if eform_data.dropdown_pricetype == 'VARIANT_BASE_PRICING' %}
{{eform_data.eform_field_name}}
{% for variant in eform_data.pricing %}
{{variant.pricing_data}} {{variant.product_description}}, {{variant.price}}
{% endfor %}
{% endif %} {% endfor %} {% for eform_data in eform_detail %} {% if eform_data.dropdown_pricetype == 'VARIANT_ADDITIONAL_PRICING' %}
{{eform_data.eform_field_name}}
{% for variant in eform_data.pricing %}
{{variant.pricing_data}}
{% endfor %}
{% endif %} {% endfor %}
{% for eform_data in eform_detail %} {% if eform_data.dropdown_pricetype == 'VARIANT_WITHOUT_PRICING' %}
{{eform_data.eform_field_name}}
{% endif %} {% endfor %}
Product Description

{{prod_detail.long_desc}}

{% if product_specification %}
Product Specifications
{% for prod_spec in product_specification %} {% endfor %}
{{prod_spec.product_info_key}} {{prod_spec.product_info_value}}
{% endif %}
{% if prod_detail.quantity_avail %}
Available Quantity: {{prod_detail.quantity_avail}}
{% endif %}
Price Unit: {{prod_detail.price_unit}}
Product Category: {{prod_detail.prod_cat_id_id}} - {{prod_detail.prod_cat_desc}}
Manufacturer: {{prod_detail.manufacturer}}
Country of Origin: {{prod_detail.country_desc}}
{% if prod_detail.brand %}
Brand: {{prod_detail.brand}}
{% endif %} {% if prod_detail.ctr_num %}
Contract Number: {{prod_detail.ctr_num}}
{% endif %}
{{ eform_detail|json_script:"eform_detail" }} {{ quantity_dictionary|json_script:"quantity_dictionary" }} {% endblock %}