Skip to content
Snippets Groups Projects

Issue # 3523677: Changes in the commerce-product--teaser.html.twig for making...

Merged Daniel Rodriguez requested to merge issue/sshop-3523677:3523677-product-images-in into 8.x-1.x
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -15,6 +15,7 @@
* @endcode
* - product_entity: The product entity.
* - product_url: The product URL.
* - product.field_product_media_image: Product Image (Media field)
*
* @ingroup themeable
*/
@@ -22,7 +23,7 @@
<article{{ attributes.addClass('commerce-product-teaser') }}>
<div class="product-inner">
<div class="product-image">
{{ product.field_product_media_image }}
<a href="{{ product_url }}">{{ product.field_product_media_image }}</a>
</div>
{{ product.variations|without('field_reviews') }}
Loading