templates/product_category/single.html.twig line 1

Open in your IDE?
  1. {#
  2.     This template has two options as there are two variants for the product category single display:
  3.     1. (main category) https://projects.invisionapp.com/d/main#/console/21605959/457678051/preview
  4.     2. (sub-category) https://projects.invisionapp.com/d/main#/console/21605959/457678052/preview
  5.     Main category:
  6.         - breadcrumbs : Aanbod, Toepassingen, Projectcases, FAQ
  7.         - Content H1
  8.         - product-category-properties
  9.         - aanbod
  10.         - call-to-action
  11.         - content
  12.         - toepassingen
  13.         - daarom kiest u voor coolworld
  14.         - gerelateerde projecten
  15.         - content
  16.         - content text links
  17.         - faq
  18.     sub category
  19.         - breadcrumbs: toepassingen, werking & accessoires, Gebruik, FAQ
  20.         - Content H1
  21.         - product-category-properties
  22.         - table
  23.         - cta
  24.         - toepassingen
  25.         - text titel links tekst rechts + usp 2 kolommen
  26.         - klantenverhalen
  27.         - alternatieve categorieen
  28.         - content tekst + image
  29.         - content image + tekst
  30.         - faq
  31.     If this page has a parent, and that parent uses the ProductCategory::singleAction method,
  32.     then this is a subcategory page.
  33. #}
  34. {% extends 'app/layout.html.twig' %}
  35. {% block content %}
  36.     {% include 'product_category/partials/editmode/_options.html.twig' %}
  37.     {% include "app/partials/navigation/_breadcrumbs.html.twig" %}
  38.     {% if pimcore_relation("productCategory").getElement() %}
  39.         {% if layout == "main" %}
  40.             {% include 'product_category/layouts/_main.html.twig' %}
  41.         {% endif %}
  42.         {% if layout == "sub" %}
  43.             {% include 'product_category/layouts/_sub.html.twig' %}
  44.         {% endif %}
  45.     {% endif %}
  46.     {{ pimcore_area('contact-side-widget', {
  47.         type: 'contact-side-widget-brick'
  48.     }) }}
  49. {% endblock %}