feat: Product Details Tabbed Section and Add to Wishlist in Item Full Page

- Add to Wishlist button next to add to cart
- Beautified Product Specifications table section
- Product Specifications can be optionally in a tabbed section with custom tabs added
- Removed hard coded gray bg to allow custom theme overwrites
- Fixed resizing issues in Item Full Page view
- Cleaned up inline styles and ported to scss
This commit is contained in:
marination
2021-03-22 16:17:59 +05:30
parent cd117149e1
commit 25ffafae81
18 changed files with 268 additions and 48 deletions

View File

@@ -28,7 +28,6 @@ def get_context(context):
context.attribute_filters = filter_engine.get_attribute_filters()
context.e_commerce_settings = engine.settings
context.body_class = "product-page"
context.page_length = engine.settings.products_per_page or 20
context.no_cache = 1

View File

@@ -2,10 +2,12 @@
<!-- style defined at shop-by-category index -->
<div class="card category-card" data-type="{{ type }}" data-name="{{ title }}">
{% if image %}
<img class="card-img-top" src="{{ image }}" alt="{{ title }}" style="height:80%">
<img class="card-img-top" src="{{ image }}" alt="{{ title }}" style="height: 80%;">
{% else %}
<div class="placeholder-div">
<span class="placeholder">AB</span>
<span class="placeholder">
{{ frappe.utils.get_abbr(title) }}
</span>
</div>
{% endif %}
<div class="card-body text-center text-muted">