{% sw_extends "@Storefront/storefront/page/product-detail/index.html.twig" %}
{% block page_product_detail_tabs %}
{{ parent() }}
<div class="product-detail-subtab-container">
<h3 class="product-detail-subtab-title">
{{ 'twigel-theme.productPage.subTab.title'|trans }}
</h3>
<div class="product-detail-subtab-actions">
<a href="{{ 'twigel-theme.productPage.subTab.questions.link'|trans }}"
class="product-detail-subtab-questions">
{% sw_icon "arrow-left" style{
"pack":"arrows",
"namespace":"TwigelHardTheme"
} %}
{{ 'twigel-theme.productPage.subTab.questions.text'|trans }}</a>
<a href="{{ 'twigel-theme.productPage.subTab.otherProds.link'|trans }}"
class="product-detail-subtab-other-products">
{% sw_icon "arrow-left" style{
"pack":"arrows",
"namespace":"TwigelHardTheme"
} %}
{{ 'twigel-theme.productPage.subTab.otherProds.text'|trans }}</a>
</div>
</div>
{% endblock %}
{% block page_product_detail_main %}
{{ parent() }}
{% if page.productLink %}
<div class="product-link-custom">
<div class="product-link-controls">
{% for product in page.productLink %}
{% if loop.index0 == 1 %}
<div class="product-link-control-prev">
<a href="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}">
{% sw_icon 'arrow-head-left' %}
</a>
</div>
{% elseif loop.index0 == 2 %}
<div class="product-link-control-next">
<a href="{{ seoUrl('frontend.detail.page', { productId: product.id }) }}">
{% sw_icon 'arrow-head-right' %}
</a>
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% endblock %}