{% block page_product_detail_custom_fields_inner %}
{% block page_product_detail_custom_fields_container %}
<div class="row product-detail-custom-fields-container">
<div class="col-md-10 col-lg-6">
{% block page_product_detail_custom_fields_table %}
<table class="table product-detail-custom-fields-table">
<tbody>
{# @var product \Shopware\Core\Content\Product\SalesChannel\SalesChannelProductEntity #}
{#}
{% for key, group in page.product.customFields %}
{% if not (('migration' in key) or ('video' in key)) %}
{% block page_product_detail_custom_fields_table_row %}
<tr class="custom-fields-row">
{% block page_product_detail_custom_fields_item_label %}
<th class="custom-fields-label">{{ ('customFields.' ~ key) |trans|sw_sanitize }}:</th>
{% endblock %}
{% block page_product_detail_custom_fields_item_value %}
{% if not group is iterable %}
<td class="custom-fields-value">{{ group }}</td>
{% endif %}
{% endblock %}
</tr>
{% endblock %}
{% endif %}
{% endfor %}
#}
<tr class="custom-fields-row">
<th class="custom-fields-label">Author</th>
<td class="custom-fields-value">{{ page.product.customFields.custom_product_author }}</td>
</tr>
<tr class="custom-fields-row">
<th class="custom-fields-label">Publisher</th>
<td class="custom-fields-value"><a href="/All/?manufacturer={{ page.product.manufacturer.id }}">{{ page.product.manufacturer.name }}</a></td>
</tr>
<tr class="custom-fields-row">
<th class="custom-fields-label">ISBN</th>
<td class="custom-fields-value">{% if not(page.product.customFields.custom_product_isbn13 == '0') %} {{page.product.customFields.custom_product_isbn13 }} {% endif %}</td>
</tr>
<tr class="custom-fields-row">
<th class="custom-fields-label">Idea Code</th>
<td class="custom-fields-value">{{ page.product.customFields.custom_product_ideacode|replace({'ideacode': foo}) }}</td>
</tr>
{% set showStatus = false %}
{% for property in page.product.propertyIds %}
{% if property == '0a301fad566c43a78b00ae55471a9991' %}
{% set showStatus = true %}
{% elseif property == 'c5f551d7a5384d2d914493773e4f38e6' %}
{% elseif property == 'e505c83b8eb14b8d903a8bc5510e6511' %}
{% set showStatus = true %}
{% elseif property == '6fe80a8802b142179113e5ee40976380' %}
{% set showStatus = true %}
{% elseif property == '548e1938d6c246b390d6705d6eb6da63' %}
{% endif %}
{% endfor %}
{% if showStatus == true %}
<tr class="custom-fields-row">
<th class="custom-fields-label">Status</th>
<td class="custom-fields-value">
{% for property in page.product.propertyIds %}
{% if property == '0a301fad566c43a78b00ae55471a9991' %}
out of print
{% elseif property == 'c5f551d7a5384d2d914493773e4f38e6' %}
published
{% elseif property == 'e505c83b8eb14b8d903a8bc5510e6511' %}
not yet published
{% elseif property == '6fe80a8802b142179113e5ee40976380' %}
reprinting
{% elseif property == '548e1938d6c246b390d6705d6eb6da63' %}
new edition
{% endif %}
{% endfor %}
</td>
</tr>
{% endif %}
{# 'kenmerken' zit nu in custom-field-bottom.html #}
{#<tr class="custom-fields-row">
<td class="custom-fields-value" colspan="2">{{ page.product.customFields.custom_product_details }}</td>
</tr>#}
</tbody>
</table>
<!--
{% for property in page.product.propertyIds %}
{{ property }}
{% endfor %}
-->
{% endblock %}
</div>
</div>
{% endblock %}
{% endblock %}