vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_head %}
  3.     {% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  4. {% endblock %}
  5. {% block base_main_inner %}
  6.     <div class="container-main">
  7.         {% block page_content %}
  8.             {% block cms_breadcrumb %}
  9.                 <div class="breadcrumb cms-breadcrumb container">
  10.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  11.                         context: context,
  12.                         category: page.product.seoCategory
  13.                     } only %}
  14.                 </div>
  15.             {% endblock %}
  16.             {% block cms_content %}
  17.                 {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  18.                 <div class="{{ cmsPageClasses }}" itemscope itemtype="https://schema.org/Product">
  19.                     {% block page_content_blocks %}
  20.                         {% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': page.cmsPage} %}
  21.                     {% endblock %}
  22.                 </div>
  23.             {% endblock %}
  24.         {% endblock %}
  25.     </div>
  26. {% endblock %}