Merge pull request #13786 from pratu16x7/hotfix

[fix] featured product thumbnail
This commit is contained in:
Prateeksha Singh 2018-04-25 13:04:19 +05:30 committed by GitHub
commit c23230faea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,8 @@
<a class="product-link" href="{{ item.route|abs_url }}"> <a class="product-link" href="{{ item.route|abs_url }}">
<div class="col-sm-4 col-xs-4 product-image-wrapper"> <div class="col-sm-4 col-xs-4 product-image-wrapper">
<div class="product-image-img"> <div class="product-image-img">
{{ product_image_square(item.thumbnail or item.image) }} <!-- thumbnail not updated, and used as background image in item card -->
{{ product_image_square(item.image) }}
<div class="product-text" itemprop="name">{{ item.item_name }}</div> <div class="product-text" itemprop="name">{{ item.item_name }}</div>
</div> </div>
</div> </div>