Merge pull request #15516 from shreyashah115/product-page

Fetch Item Group's name and image on website
This commit is contained in:
Shreya Shah 2018-09-27 15:12:42 +05:30 committed by GitHub
commit 0fc4917d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,8 @@
<a class="product-link" href="{{ route|abs_url }}">
<div class="col-sm-4 col-xs-4 product-image-wrapper">
<div class="product-image-img">
{{ product_image_square(thumbnail or website_image) }}
<div class="product-text" itemprop="name">{{ item_name }}</div>
{{ product_image_square(thumbnail or website_image or image) }}
<div class="product-text" itemprop="name">{{ item_name or name }}</div>
{% if price_sales_uom %}
<div>{{ price_sales_uom }}</div>
<div style='font-size: small; margin-bottom: 10px;'>({{ price_stock_uom }} / {{ stock_uom }})</div>