mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 16:13:22 +00:00
feat: Shop by Category
- Added Shop by Category Page - Tabbed sections for item fields in Shop by Category Page - Added Shop by Category Section in E commerce Settings - Nested Navigation & Breadcrumbs in Item group pages - Added scrollable & clickable Sub categories in Item Group page - Made breadcrumbs slightly dynamic in Item Page - Added image to Brand doctype
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
<script type="text/javascript" src="/all-products/index.js"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<div class="item-breadcrumbs small text-muted">
|
||||
{% include "templates/includes/breadcrumbs.html" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block page_content %}
|
||||
<div class="item-group-content" itemscope itemtype="http://schema.org/Product" data-item-group="{{ name }}">
|
||||
<div class="item-group-slideshow">
|
||||
@@ -27,6 +33,20 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 order-2 col-md-9 order-md-2 item-card-group-section">
|
||||
{% if sub_categories %}
|
||||
<div class="sub-category-container">
|
||||
<div class="heading"> {{ _('Sub Categories') }} </div>
|
||||
</div>
|
||||
<div class="sub-category-container scroll-categories">
|
||||
{% for row in sub_categories%}
|
||||
<a href="{{ row.route or '#' }}" style="text-decoration: none;">
|
||||
<div class="category-pill">
|
||||
{{ row.name }}
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row products-list">
|
||||
{% if items %}
|
||||
{% for item in items %}
|
||||
|
||||
Reference in New Issue
Block a user