{# /** * @file * * Default product template. * * Available variables: * - attributes: HTML attributes for the wrapper. * - product: The rendered product fields. * Use 'product' to print them all, or print a subset such as * 'product.title'. Use the following code to exclude the * printing of a given field: * @code * {{ product|without('title') }} * @endcode * - product_entity: The product entity. * - product_url: The product URL. * * @ingroup themeable */ #}
{{ product.field_sale_label }} {{ product.field_new_label }}
{% if product.title %}

{{ product['title'][0] }}

{% endif %}
{{ product.field_short_description }}

{{ product['variation_price'][0] }} {{ product['variation_field_old_price'][0] }}

{{ product.variations }}
{{ product.flag_compare }} {{ product.flag_wishlist }} {{- product|without('variation_attributes', 'variations', 'variation_sku', 'title', 'variation_title', 'variation_field_stock_amount', 'variation_field_images', 'field_sale_label', 'field_new_label', 'variation_price', 'variation_field_old_price', 'field_short_description', 'flag_compare', 'flag_wishlist') -}}