{% set th = th|default([]) %}
{% set td = td|default([]) %}
{% set internalBrand = internalBrand ?? product.internalBrand ?? '' %}
<h3>{{ 'product.detail.Table'|trans }}</h3>
<table class="table">
<thead>
<tr>
<th></th>
</tr>
</thead>
<tbody>
{% for i in 0..td|length - 1 %}
{% if td[i] is not empty %}
<tr>
<th>{{ ('product.detail.' ~ internalBrand ~ "." ~ th[i])|trans }}</th>
{% set tk = 'product.detail.' ~ internalBrand ~ "." ~ th[i] ~ '-suffix' %}
{% set tk_prefix = '' %}
{% if th[i] == 'throughput' %}
{% set tk_prefix = 'product.detail.' ~ internalBrand ~ "." ~ th[i] ~ '-prefix' %}
{% endif %}
<td class="text-end" style="list-style-position: inside;">
{{ ((tk_prefix == tk_prefix|trans) and (not app.request.get('pimcore_debug_translations'))) ? '' : tk_prefix|trans|raw }}
{{ td[i]|raw }}
{{ ((tk == tk|trans) and (not app.request.get('pimcore_debug_translations'))) ? '' : tk|trans|raw }}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>