{% set product_attributes = hookable_metadata.context.mapped_product_attributes %}

{{ 'sylius.ui.attributes'|trans }}

{% hook 'attributes' with { product_attributes } %}