custom/plugins/TwigelHardTheme/src/Resources/views/storefront/page/product-detail/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/page/product-detail/index.html.twig" %}
  2. {% block page_product_detail_tabs %}
  3.     {{ parent() }}
  4.     <div class="product-detail-subtab-container">
  5.         <h3 class="product-detail-subtab-title">
  6.             {{ 'twigel-theme.productPage.subTab.title'|trans }}
  7.         </h3>
  8.         <div class="product-detail-subtab-actions">
  9.             <a href="{{ 'twigel-theme.productPage.subTab.questions.link'|trans }}"
  10.                class="product-detail-subtab-questions">
  11.                 {% sw_icon "arrow-left" style{
  12.                     "pack":"arrows",
  13.                     "namespace":"TwigelHardTheme"
  14.                 } %}
  15.                 {{ 'twigel-theme.productPage.subTab.questions.text'|trans }}</a>
  16.             <a href="{{ 'twigel-theme.productPage.subTab.otherProds.link'|trans }}"
  17.                class="product-detail-subtab-other-products">
  18.                 {% sw_icon "arrow-left" style{
  19.                     "pack":"arrows",
  20.                     "namespace":"TwigelHardTheme"
  21.                 } %}
  22.                 {{ 'twigel-theme.productPage.subTab.otherProds.text'|trans }}</a>
  23.         </div>
  24.     </div>
  25. {% endblock %}
  26. {% block page_product_detail_main %}
  27.     {{ parent() }}
  28.     {% if page.productLink %}
  29.         <div class="product-link-custom">
  30.             <div class="product-link-controls">
  31.                 {% for product in page.productLink %}
  32.                     {% if loop.index0 == 1 %}
  33.                 <div class="product-link-control-prev">
  34.                     <a href="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}">
  35.                         {% sw_icon 'arrow-head-left' %}
  36.                     </a>
  37.                 </div>
  38.                     {% elseif loop.index0 == 2 %}
  39.                 <div class="product-link-control-next">
  40.                     <a href="{{ seoUrl('frontend.detail.page', { productId: product.id }) }}">
  41.                         {% sw_icon 'arrow-head-right' %}
  42.                     </a>
  43.                 </div>
  44.                     {% endif %}
  45.                 {% endfor %}
  46.             </div>
  47.         </div>
  48.     {% endif %}
  49. {% endblock %}