{# /** * @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.title product.variation_title product.variation_sku product.variation_price product.variations product_url #} {% set classes = [ 'product-page' ] %}
{% if product.field_product_image.0 %}
{{ product.field_product_image }}
{% endif %}
{{ product.field_product_catalogue }}

{{ product.title}}

{{ product.variation_price }}
{{ product.variation_list_price }}
{% if variation_count > 1 %} {{ product.variations }} {% else %}
{{ first_variation_title }}
{{ product.variations }}
{% endif %}
{% if product.field_short_description.0 %}
{{ product.field_short_description }}
{% endif %}
{{ product.addtoany }}
{{ product.field_product_paragraphs }}