{% extends 'base_site.html' %} {% load static i18n products_tags thumbnail routers_tags %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if object.thumbnail.url %} {% else %} {% endif %}
{{ object.opts.verbose_name }} {% if object.parent %}- {{ object.parent.name }}{% endif %}

{{ object }}

{% if object.alias_name %}
{% trans "Alias Name" %}: {{ object.alias_name }}
{% endif %}
{% if object.description %}{{ object.description|safe }}{% else %}{% trans "No description" %}{% endif %}
{% if object.audience_criterias %}
{% trans "Audience Criteria" %}
{{ object.audience_criterias|safe }}
{% endif %} {% if object.specifications.all %}
{% trans "Specifications" %}
    {% for spec in object.specifications.all %}
  • {{ spec.feature }}
    {% if spec.description %}
    {{ spec.description|safe }}
    {% endif %} {% if spec.value %}{% trans "Minimum Value" %}: {{ spec.value }}{% endif %}
  • {% endfor %}
{% endif %} {% if object.topics.count %}
{% trans "Training Topics" %}
    {% for topic in object.topics.all %}
  • {{ topic.title }}
    {% if topic.description %}

    {{ topic.description|safe }}

    {% endif %}
  • {% endfor %}
{% endif %} {% if object.specific.bundle_items.count %}
{% trans "Bundled Items" %}
{% for bundle in object.specific.bundle_items.all %} {% endfor %}
{% trans "Inner ID" %} {% trans "Product" %} {% trans "Unit" %} {% trans "Quantity" %} {% trans "Tarif" %}
{{ bundle.product.inner_id }} {{ bundle.product }} {% if bundle.product.unit %}{{ bundle.product.unit|safe }}{% else %}-{% endif %} {{ bundle.quantity }} {{ bundle.total|currency }}
{% endif %} {% if object.specific.recommended_items.count %}
{% trans "Recommended Items" %}
{% for recommendation in object.specific.recommended_items.all %} {% endfor %}
{% trans "Inner ID" %} {% trans "Product" %} {% trans "Satuan" %} {% trans "Quantity" %} {% trans "Tarif" %}
{{ recommendation.product.inner_id }} {{ recommendation.product }} {% if recommendation.product.unit_code %}{{ recommendation.product.unit_code }}{% endif %} {{ recommendation.quantity }} {% if recommendation.product.unit %}{{ recommendation.product.unit|safe }}{% endif %} {{ recommendation.total|currency }}
{% endif %} {% if object.variants.count %}
{% trans "Variants" %}
{% for variant in object.variants.all %} {% endfor %}
{% endif %}
{% block comments %}{% endblock comments %}

{% trans "Price" %}

{{ object.estimation_price|currency }}
{% if object.min_stock %} {% endif %} {% if object.max_stock %} {% endif %} {% if object.analysis_method %} {% endif %}
{% trans "Estimation" %} {{ object.estimation_price|currency }}
{% trans "Minimum Stock" %} {{ object.min_stock }}
{% trans "Maximum Stock" %} {{ object.max_stock }}
{% trans "Minimum Order" %} {{ object.min_order }}
{% trans "Maximum Order" %} {{ object.max_order }}
{% trans "Analysis Method" %} {{ object.analysis_method }}
{% trans "Partial" %} {% if object.is_partial %} {% else %} {% endif %}
{% trans "Category" %} {% if object.category %}{{ object.category }} {% else %} {% trans "Uncategorized" %} {% endif %}
{% trans "Tags" %} {% for tag in object.tags.all %} {{ tag|title }} {% empty %} {% trans "No Tag" %} {% endfor %}
{% object_url 'website' 'simpel_shop.CartItem' action='add_item' pk=object.id as cart_url %} {% if user.is_authenticated and cart_url %} {% trans "Add to Cart" %} {% endif %}
{% endblock %}