2019-03-19 06:18:32 +00:00
|
|
|
<div class="col-md-8">
|
|
|
|
<!-- title -->
|
|
|
|
<h1 itemprop="name">
|
|
|
|
{{ item_name }}
|
|
|
|
</h1>
|
|
|
|
<p class="text-muted">
|
|
|
|
<span>{{ _("Item Code") }}:</span>
|
|
|
|
<span itemprop="productID">{{ doc.name }}</span>
|
|
|
|
</p>
|
|
|
|
<!-- description -->
|
|
|
|
<div itemprop="description">
|
2019-08-07 11:51:22 +00:00
|
|
|
{% if frappe.utils.strip_html(doc.web_long_description or '') %}
|
2019-06-13 08:00:39 +00:00
|
|
|
{{ doc.web_long_description | safe }}
|
2019-08-07 11:51:22 +00:00
|
|
|
{% elif frappe.utils.strip_html(doc.description or '') %}
|
2019-06-13 08:00:39 +00:00
|
|
|
{{ doc.description | safe }}
|
|
|
|
{% else %}
|
|
|
|
{{ _("No description given") }}
|
|
|
|
{% endif %}
|
2019-03-19 06:18:32 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if has_variants %}
|
|
|
|
<!-- configure template -->
|
|
|
|
{% include "templates/generators/item/item_configure.html" %}
|
|
|
|
{% else %}
|
|
|
|
<!-- add variant to cart -->
|
|
|
|
{% include "templates/generators/item/item_add_to_cart.html" %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|