{# /** * @file * Default theme implementation to list order types available for creating an * order. * * Available variables: * - types: A list of content types, each with the following properties: * - add_link: Link to create a piece of content of this type. * - description: Description of this type of content. * * @see template_preprocess_commerce_order_add_list() * * @ingroup themeable */ #} {% if types is not empty %}
{% for type in types %}
{{ type.add_link }}
{{ type.description }}
{% endfor %}
{% else %}

{% set create_order_type = path('entity.commerce_order_type.add_form') %} {% trans %} You have not created any order types yet. Go to the order type creation page to add a new order type. {% endtrans %}

{% endif %}