remove dead code
This commit is contained in:
parent
90465f0ea4
commit
02a94e2bd4
1 changed files with 0 additions and 50 deletions
|
|
@ -1,50 +0,0 @@
|
|||
{% sw_extends '@Storefront/storefront/page/product-detail/properties.html.twig' %}
|
||||
|
||||
{% block page_product_detail_properties_inner %}
|
||||
<div class="product-detail-properties">
|
||||
{% block page_product_detail_properties_container %}
|
||||
<div class="row product-detail-properties-container">
|
||||
<div class="col-md-10 col-lg-6">
|
||||
{% block page_product_detail_properties_table %}
|
||||
<table class="table table-striped product-detail-properties-table">
|
||||
<tbody>
|
||||
{# @var product \Shopware\Core\Content\Product\SalesChannel\SalesChannelProductEntity #}
|
||||
{% for group in page.product.sortedProperties %}
|
||||
{% block page_product_detail_properties_table_row %}
|
||||
<tr class="properties-row">
|
||||
{% block page_product_detail_properties_item_label %}
|
||||
<th class="properties-label">{{ group.translated.name|e }}:</th>
|
||||
{% endblock %}
|
||||
{% block page_product_detail_properties_item_value %}
|
||||
<td class="properties-value">
|
||||
{% apply spaceless %}
|
||||
{% for option in group.options %}
|
||||
{% set i = ( i | default(0) ) + 1 %}
|
||||
<span>{% if i > 1 %}, {% endif %}{{ option.translated.name|e }}</span>
|
||||
{% endfor %}
|
||||
{% endapply %}
|
||||
</td>
|
||||
{% endblock %}
|
||||
</tr>
|
||||
{% endblock %}
|
||||
{% endfor %}
|
||||
{% for customFieldKey, customFieldValue in page.product.translated.customFields %}
|
||||
{% block page_product_detail_customfields_table_row %}
|
||||
<tr class="properties-row">
|
||||
{% block page_product_detail_customfields_item_label %}
|
||||
<th class="properties-label">{{ "customFields.#{customFieldKey}"|trans|sw_sanitize }}:</th>
|
||||
{% endblock %}
|
||||
{% block page_product_detail_customfields_item_value %}
|
||||
<td class="properties-value">{{ "#{customFieldValue}"|trans }}</td>
|
||||
{% endblock %}
|
||||
</tr>
|
||||
{% endblock %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue