2012-07-12 18:41:12 +05:30
|
|
|
{% extends "html/page.html" %}
|
|
|
|
|
|
|
|
{% block javascript %}
|
|
|
|
{% include "js/product_page.js" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block css %}
|
|
|
|
{% include "css/product_page.css" %}
|
|
|
|
{% endblock %}
|
2012-06-26 18:54:10 +05:30
|
|
|
|
2012-07-09 15:56:12 +05:30
|
|
|
{% block title %}
|
|
|
|
{% if item_name != name %}
|
|
|
|
{{ item_name }} [{{ name }}]
|
|
|
|
{% else %}
|
2012-12-25 15:09:14 +05:30
|
|
|
{{ item_name or name }}
|
2012-07-09 15:56:12 +05:30
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2012-06-26 18:54:10 +05:30
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="layout-wrapper layout-wrapper-background">
|
|
|
|
<div class="web-content" id="content-product-{{ name }}">
|
2012-12-17 16:00:34 +05:30
|
|
|
<div class="layout-main" style="padding: 30px;">
|
2012-12-18 14:47:54 +05:30
|
|
|
{% include 'html/product_search_box.html' %}
|
2012-12-25 15:09:14 +05:30
|
|
|
{% include 'html/product_breadcrumbs.html' %}
|
|
|
|
<h3>{{ item_name }}</h3>
|
2012-12-19 10:14:59 +05:30
|
|
|
<p class="help">Item Code: {{ name }}</p>
|
2012-07-09 15:56:12 +05:30
|
|
|
<div class="product-page-content">
|
2012-12-18 11:47:13 +05:30
|
|
|
<div class="span6">
|
2012-06-27 12:06:45 +05:30
|
|
|
{% if website_image %}
|
2012-12-25 15:09:14 +05:30
|
|
|
<image class="item-main-image" src="{% if website_image.lower().startswith('http') %}{{ website_image}}{% else %}files/{{ website_image }}{% endif %}" />
|
2012-07-09 15:56:12 +05:30
|
|
|
{% else %}
|
2012-12-18 14:47:54 +05:30
|
|
|
<div class="img-area">
|
2012-12-25 15:09:14 +05:30
|
|
|
{% include 'html/product_missing_image.html' %}
|
2012-12-18 14:47:54 +05:30
|
|
|
</div>
|
2012-06-27 12:06:45 +05:30
|
|
|
{% endif %}
|
2012-07-09 15:56:12 +05:30
|
|
|
<br><br>
|
|
|
|
</div>
|
2012-12-18 11:47:13 +05:30
|
|
|
<div class="span3">
|
|
|
|
<div class="item-price hide">
|
|
|
|
<p>Price:</p>
|
|
|
|
</div>
|
|
|
|
<div class="item-stock"></div>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="span9">
|
|
|
|
<h3>Product Description</h3>
|
|
|
|
<div>
|
2012-12-19 10:14:59 +05:30
|
|
|
{{ web_long_description or web_short_description or
|
|
|
|
"[No description given]" }}
|
2012-12-18 11:47:13 +05:30
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
{% if obj.doclist.get({"doctype":"Item Website Specification"}) %}
|
|
|
|
<h3>Specifications</h3>
|
|
|
|
<table class="table table-striped table-bordered" style="width: 100%">
|
|
|
|
{% for d in obj.doclist.get(
|
|
|
|
{"doctype":"Item Website Specification"}) %}
|
|
|
|
<tr>
|
2012-12-25 15:09:14 +05:30
|
|
|
<td style="width: 30%;">{{ d.label }}</td>
|
2012-12-18 11:47:13 +05:30
|
|
|
<td>{{ d.description }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2012-06-26 18:54:10 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-07-12 18:41:12 +05:30
|
|
|
{% endblock %}
|