2019-03-19 06:18:32 +00:00
|
|
|
{% extends "templates/web.html" %}
|
|
|
|
|
|
|
|
{% block title %} {{ title }} {% endblock %}
|
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
2021-01-20 12:17:25 +00:00
|
|
|
<div class="item-breadcrumbs small text-muted">
|
|
|
|
{% include "templates/includes/breadcrumbs.html" %}
|
|
|
|
</div>
|
2019-03-19 06:18:32 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
2021-03-22 10:47:59 +00:00
|
|
|
<div class="product-container col-md-12">
|
2020-12-24 06:10:33 +00:00
|
|
|
{% from "erpnext/templates/includes/macros.html" import product_image %}
|
|
|
|
<div class="item-content">
|
|
|
|
<div class="product-page-content" itemscope itemtype="http://schema.org/Product">
|
2021-03-22 10:47:59 +00:00
|
|
|
<!-- Image, Description, Add to Cart -->
|
2020-12-24 06:10:33 +00:00
|
|
|
<div class="row mb-5">
|
|
|
|
{% include "templates/generators/item/item_image.html" %}
|
|
|
|
{% include "templates/generators/item/item_details.html" %}
|
|
|
|
</div>
|
2019-03-19 06:18:32 +00:00
|
|
|
|
2021-03-22 10:47:59 +00:00
|
|
|
<!-- Product Specifications Table Section -->
|
|
|
|
{% if show_tabs and tabs %}
|
|
|
|
<div class="category-tabs">
|
|
|
|
<!-- tabs -->
|
|
|
|
{{ web_block(
|
|
|
|
"Section with Tabs",
|
|
|
|
values=tabs,
|
|
|
|
add_container=0,
|
|
|
|
add_top_padding=0,
|
|
|
|
add_bottom_padding=0
|
|
|
|
) }}
|
|
|
|
</div>
|
|
|
|
{% elif website_specifications %}
|
|
|
|
{% include "templates/generators/item/item_specifications.html"%}
|
|
|
|
{% endif %}
|
2019-03-19 06:18:32 +00:00
|
|
|
|
2021-03-22 10:47:59 +00:00
|
|
|
<!-- Advanced Custom Website Content -->
|
2020-12-24 06:10:33 +00:00
|
|
|
{{ doc.website_content or '' }}
|
|
|
|
</div>
|
2019-03-19 06:18:32 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block base_scripts %}
|
|
|
|
<!-- js should be loaded in body! -->
|
2021-05-07 09:23:42 +00:00
|
|
|
{{ include_script("frappe-web.bundle.js") }}
|
|
|
|
{{ include_script("controls.bundle.js") }}
|
|
|
|
{{ include_script("dialog.bundle.js") }}
|
|
|
|
{% endblock %}
|