commerce-8.x-2.8/modules/product/templates/commerce-product-attribute-value.html.twig
modules/product/templates/commerce-product-attribute-value.html.twig
{#
/**
* @file
*
* Default template for product attribute values.
*
* Available variables:
* - attributes: HTML attributes for the wrapper.
* - product_attribute_value: The rendered product attribute value fields.
* Use 'product_attribute_value' to print them all, or print a subset such as
* 'product_attribute_value.name'. Use the following code to exclude the
* printing of a given field:
* @code
* {{ product_attribute_value|without('name') }}
* @endcode
* - product_attribute_value_entity: The product attribute value entity.
*
* @ingroup themeable
*/
#}
<div{{ attributes }}>
{{- product_attribute_value -}}
</div>
