var/cache/dev/twig/5d/5d907e3d9e46166acfde4a36e95470a6.php line 58

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* product/detail.html.twig */
  14. class __TwigTemplate_becd50e18290b4a2add0e391817ea029 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.             'additionalimages' => [$this'block_additionalimages'],
  25.             'colorvariants' => [$this'block_colorvariants'],
  26.             'detailinfos' => [$this'block_detailinfos'],
  27.             'salesinfos' => [$this'block_salesinfos'],
  28.             'description' => [$this'block_description'],
  29.             'attributes' => [$this'block_attributes'],
  30.             'productrelations' => [$this'block_productrelations'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 5
  36.         return "layouts/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product/detail.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""product/detail.html.twig"));
  45.         // line 3
  46.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("product/macros.html.twig""product/detail.html.twig"3)->unwrap();
  47.         // line 5
  48.         $this->parent $this->loadTemplate("layouts/layout.html.twig""product/detail.html.twig"5);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 7
  56.     public function block_content($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  63.         // line 8
  64.         echo "
  65.     <div id=\"main-content\" class=\"main-content\">
  66.         <div class=\"d-md-none mt-3\">
  67.             ";
  68.         // line 12
  69.         if ((twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'12$this->source); })()), "manufacturer", [], "any"falsefalsefalse12) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'12$this->source); })()), "manufacturer", [], "any"falsefalsefalse12), "logo", [], "any"falsefalsefalse12))) {
  70.             // line 13
  71.             echo "                ";
  72.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'13$this->source); })()), "manufacturer", [], "any"falsefalsefalse13), "logo", [], "any"falsefalsefalse13), "thumbnail", [=> "product_detail_manufacturer"], "method"falsefalsefalse13), "getHTML", [=> ["imgAttributes" => ["class" => "img-fluid float-right"]]], "method"falsefalsefalse13);
  73.             echo "
  74.             ";
  75.         }
  76.         // line 15
  77.         echo "            <div class=\"page-header\">
  78.                 <h1>";
  79.         // line 16
  80.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'16$this->source); })()), "oSName", [], "any"falsefalsefalse16), "html"nulltrue);
  81.         echo "</h1>
  82.             </div>
  83.         </div>
  84.         <div class=\"bg-white my-3\">
  85.             <div class=\"row\">
  86.                 <div class=\"col-md-6 mb-4\">
  87.                     ";
  88.         // line 24
  89.         if (twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'24$this->source); })()), "mainImage", [], "any"falsefalsefalse24)) {
  90.             // line 25
  91.             echo "
  92.                         <div class=\"p-3\">
  93.                             <a href=\"";
  94.             // line 27
  95.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'27$this->source); })()), "mainImage", [], "any"falsefalsefalse27), "getThumbnail", [=> "galleryLightbox"], "method"falsefalsefalse27);
  96.             echo "\" class=\"thumbnail\">
  97.                                 ";
  98.             // line 28
  99.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'28$this->source); })()), "mainImage", [], "any"falsefalsefalse28), "thumbnail", [=> "product_detail"], "method"falsefalsefalse28), "getHTML", [=> ["imgAttributes" => ["class" => "img-thumbnail1 img-fluid"]]], "method"falsefalsefalse28);
  100.             echo "
  101.                             </a>
  102.                             ";
  103.             // line 31
  104.             $this->displayBlock('additionalimages'$context$blocks);
  105.             // line 53
  106.             echo "                        </div>
  107.                     ";
  108.         }
  109.         // line 55
  110.         echo "                </div>
  111.                 <div class=\"col-md-6 mb-4\">
  112.                     <div class=\"p-3 pt-4\">
  113.                         <div class=\"row d-none d-md-block mb-3\">
  114.                             <div class=\"col-12\">
  115.                                 ";
  116.         // line 63
  117.         if ((twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'63$this->source); })()), "manufacturer", [], "any"falsefalsefalse63) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'63$this->source); })()), "manufacturer", [], "any"falsefalsefalse63), "logo", [], "any"falsefalsefalse63))) {
  118.             // line 64
  119.             echo "                                    ";
  120.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'64$this->source); })()), "manufacturer", [], "any"falsefalsefalse64), "logo", [], "any"falsefalsefalse64), "thumbnail", [=> "product_detail_manufacturer"], "method"falsefalsefalse64), "getHTML", [=> ["imgAttributes" => ["class" => "img-fluid float-right"]]], "method"falsefalsefalse64);
  121.             echo "
  122.                                 ";
  123.         }
  124.         // line 66
  125.         echo "
  126.                                 <h2 class=\"\">";
  127.         // line 67
  128.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'67$this->source); })()), "oSName", [], "any"falsefalsefalse67), "html"nulltrue);
  129.         echo "</h2>
  130.                             </div>
  131.                         </div>
  132.                         <div class=\"row\">
  133.                             ";
  134.         // line 72
  135.         $this->displayBlock('colorvariants'$context$blocks);
  136.         // line 86
  137.         echo "
  138.                             ";
  139.         // line 87
  140.         $this->displayBlock('detailinfos'$context$blocks);
  141.         // line 100
  142.         echo "
  143.                             ";
  144.         // line 101
  145.         $this->displayBlock('salesinfos'$context$blocks);
  146.         // line 117
  147.         echo "
  148.                         </div>
  149.                         <hr/>
  150.                         <div class=\"mt-4 text-center\">
  151.                             ";
  152.         // line 122
  153.         $context["priceInfo"] = twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'122$this->source); })()), "oSPriceInfo", [], "any"falsefalsefalse122);
  154.         // line 123
  155.         echo "                            ";
  156.         $context["price"] = twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'123$this->source); })()), "oSPrice", [], "any"falsefalsefalse123);
  157.         // line 124
  158.         echo "
  159.                             ";
  160.         // line 125
  161.         if (twig_get_attribute($this->env$this->source, (isset($context["priceInfo"]) || array_key_exists("priceInfo"$context) ? $context["priceInfo"] : (function () { throw new RuntimeError('Variable "priceInfo" does not exist.'125$this->source); })()), "rules", [], "any"falsefalsefalse125)) {
  162.             // line 126
  163.             echo "
  164.                                 <div class=\"alert alert-success mb-4\" role=\"alert\">
  165.                                     <p class=\"small mb-2\"><strong>";
  166.             // line 129
  167.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.your-benefits"), "html"nulltrue);
  168.             echo "</strong></p>
  169.                                     <ul class=\"list-unstyled mb-0 small\">
  170.                                         ";
  171.             // line 132
  172.             $context['_parent'] = $context;
  173.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["priceInfo"]) || array_key_exists("priceInfo"$context) ? $context["priceInfo"] : (function () { throw new RuntimeError('Variable "priceInfo" does not exist.'132$this->source); })()), "rules", [], "any"falsefalsefalse132));
  174.             foreach ($context['_seq'] as $context["_key"] => $context["rule"]) {
  175.                 // line 133
  176.                 echo "                                            <li>";
  177.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["rule"], "label", [], "any"falsefalsefalse133), "html"nulltrue);
  178.                 echo "</li>
  179.                                         ";
  180.             }
  181.             $_parent $context['_parent'];
  182.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['rule'], $context['_parent'], $context['loop']);
  183.             $context array_intersect_key($context$_parent) + $_parent;
  184.             // line 135
  185.             echo "                                    </ul>
  186.                                 </div>
  187.                             ";
  188.         }
  189.         // line 140
  190.         echo "
  191.                             ";
  192.         // line 141
  193.         if (twig_get_attribute($this->env$this->source, (isset($context["priceInfo"]) || array_key_exists("priceInfo"$context) ? $context["priceInfo"] : (function () { throw new RuntimeError('Variable "priceInfo" does not exist.'141$this->source); })()), "hasDiscount", [], "any"falsefalsefalse141)) {
  194.             // line 142
  195.             echo "                                <p class=\"detail-price original mb-3\">";
  196.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["priceInfo"]) || array_key_exists("priceInfo"$context) ? $context["priceInfo"] : (function () { throw new RuntimeError('Variable "priceInfo" does not exist.'142$this->source); })()), "originalPrice", [], "any"falsefalsefalse142), "html"nulltrue);
  197.             echo "</p>
  198.                             ";
  199.         }
  200.         // line 144
  201.         echo "
  202.                             <p class=\"detail-price mb-2\">";
  203.         // line 145
  204.         echo twig_escape_filter($this->env, (isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'145$this->source); })()), "html"nulltrue);
  205.         echo "</p>
  206.                             <div class=\"detail-tax text-muted\">
  207.                                 <ul class=\"list-unstyled\">
  208.                                     ";
  209.         // line 149
  210.         $context['_parent'] = $context;
  211.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'149$this->source); })()), "taxEntries", [], "any"falsefalsefalse149));
  212.         foreach ($context['_seq'] as $context["_key"] => $context["taxEntry"]) {
  213.             // line 150
  214.             echo "                                        <li>";
  215.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["taxEntry"], "entry", [], "any"falsefalsefalse150), "name", [], "any"falsefalsefalse150), "html"nulltrue);
  216.             echo ": ";
  217.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["taxEntry"], "percent", [], "any"falsefalsefalse150), "html"nulltrue);
  218.             echo "% (";
  219.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\Currency']->format(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["taxEntry"], "amount", [], "any"falsefalsefalse150), "asNumeric", [], "any"falsefalsefalse150), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'150$this->source); })()), "currency", [], "any"falsefalsefalse150), "shortName", [], "any"falsefalsefalse150)), "html"nulltrue);
  220.             echo ")</li>
  221.                                     ";
  222.         }
  223.         $_parent $context['_parent'];
  224.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['taxEntry'], $context['_parent'], $context['loop']);
  225.         $context array_intersect_key($context$_parent) + $_parent;
  226.         // line 152
  227.         echo "                                </ul>
  228.                             </div>
  229.                             ";
  230.         // line 155
  231.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'155$this->source); })()), "saleInformation", [], "any"falsefalsefalse155), "saleInformation", [], "any"falsefalsefalse155)) {
  232.             // line 156
  233.             echo "                                <p class=\"small text-muted mt-1\">";
  234.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.available-in"), "html"nulltrue);
  235.             echo " ";
  236.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_lower_filter($this->env, ("attribute." twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'156$this->source); })()), "saleInformation", [], "any"falsefalsefalse156), "saleInformation", [], "any"falsefalsefalse156), "availabilityType", [], "any"falsefalsefalse156)))), "html"nulltrue);
  237.             echo "</p>
  238.                             ";
  239.         }
  240.         // line 158
  241.         echo "                        </div>
  242.                         <a href=\"";
  243.         // line 160
  244.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-add-to-cart", ["id" => twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'160$this->source); })()), "id", [], "any"falsefalsefalse160)]), "html"nulltrue);
  245.         echo "\" class=\"btn btn-success btn-block\">";
  246.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.add-to-cart"), "html"nulltrue);
  247.         echo "</a>
  248.                     </div>
  249.                 </div>
  250.             </div>
  251.             <hr>
  252.             ";
  253.         // line 170
  254.         $this->displayBlock('description'$context$blocks);
  255.         // line 180
  256.         echo "
  257.             ";
  258.         // line 181
  259.         $this->displayBlock('attributes'$context$blocks);
  260.         // line 280
  261.         echo "
  262.             ";
  263.         // line 281
  264.         $this->displayBlock('productrelations'$context$blocks);
  265.         // line 305
  266.         echo "
  267.         </div>
  268.     </div>
  269. ";
  270.         
  271.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  272.         
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  274.     }
  275.     // line 31
  276.     public function block_additionalimages($context, array $blocks = [])
  277.     {
  278.         $macros $this->macros;
  279.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  280.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalimages"));
  281.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalimages"));
  283.         // line 32
  284.         echo "                                ";
  285.         $context["additionalImages"] = twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'32$this->source); })()), "additionalImages", [], "any"falsefalsefalse32);
  286.         // line 33
  287.         echo "                                ";
  288.         if ((isset($context["additionalImages"]) || array_key_exists("additionalImages"$context) ? $context["additionalImages"] : (function () { throw new RuntimeError('Variable "additionalImages" does not exist.'33$this->source); })())) {
  289.             // line 34
  290.             echo "
  291.                                     <div class=\"row\">
  292.                                         ";
  293.             // line 37
  294.             $context['_parent'] = $context;
  295.             $context['_seq'] = twig_ensure_traversable((isset($context["additionalImages"]) || array_key_exists("additionalImages"$context) ? $context["additionalImages"] : (function () { throw new RuntimeError('Variable "additionalImages" does not exist.'37$this->source); })()));
  296.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  297.                 // line 38
  298.                 echo "
  299.                                             <div class=\"col-4 mt-3\">
  300.                                                 <a href=\"";
  301.                 // line 41
  302.                 echo twig_get_attribute($this->env$this->source$context["image"], "getThumbnail", [=> "galleryLightbox"], "method"falsefalsefalse41);
  303.                 echo "\" class=\"thumbnail\">
  304.                                                     ";
  305.                 // line 42
  306.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["image"], "thumbnail", [=> "product_detail_small"], "method"falsefalsefalse42), "getHTML", [=> ["imgAttributes" => ["class" => "img-thumbnail1 img-fluid"]]], "method"falsefalsefalse42);
  307.                 echo "
  308.                                                 </a>
  309.                                             </div>
  310.                                         ";
  311.             }
  312.             $_parent $context['_parent'];
  313.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  314.             $context array_intersect_key($context$_parent) + $_parent;
  315.             // line 48
  316.             echo "
  317.                                     </div>
  318.                                 ";
  319.         }
  320.         // line 52
  321.         echo "                            ";
  322.         
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  324.         
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326.     }
  327.     // line 72
  328.     public function block_colorvariants($context, array $blocks = [])
  329.     {
  330.         $macros $this->macros;
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""colorvariants"));
  333.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""colorvariants"));
  335.         // line 73
  336.         echo "                                <dl class=\"item-property col-12\">
  337.                                     <dt>";
  338.         // line 74
  339.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.color"), "html"nulltrue);
  340.         echo "</dt>
  341.                                     <dd>
  342.                                         ";
  343.         // line 76
  344.         $context['_parent'] = $context;
  345.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'76$this->source); })()), "colorVariants", [], "any"falsefalsefalse76));
  346.         foreach ($context['_seq'] as $context["_key"] => $context["colorVariant"]) {
  347.             // line 77
  348.             echo "                                            <a href=\"";
  349.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ProductPageExtension']->generateLink($context["colorVariant"]), "html"nulltrue);
  350.             echo "\"
  351.                                                class=\"btn ";
  352.             // line 78
  353.             echo (((twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'78$this->source); })()), "id", [], "any"falsefalsefalse78) == twig_get_attribute($this->env$this->source$context["colorVariant"], "id", [], "any"falsefalsefalse78))) ? ("btn-primary") : ("btn-outline-primary"));
  354.             echo "\">
  355.                                                 ";
  356.             // line 79
  357.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ProductPageExtension']->getColorName(twig_get_attribute($this->env$this->source$context["colorVariant"], "color", [], "any"falsefalsefalse79)), "html"nulltrue);
  358.             echo "
  359.                                             </a>
  360.                                         ";
  361.         }
  362.         $_parent $context['_parent'];
  363.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['colorVariant'], $context['_parent'], $context['loop']);
  364.         $context array_intersect_key($context$_parent) + $_parent;
  365.         // line 82
  366.         echo "                                    </dd>
  367.                                 </dl>
  368.                             ";
  369.         
  370.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  371.         
  372.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  373.     }
  374.     // line 87
  375.     public function block_detailinfos($context, array $blocks = [])
  376.     {
  377.         $macros $this->macros;
  378.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""detailinfos"));
  380.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""detailinfos"));
  382.         // line 88
  383.         echo "                                ";
  384.         if (twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'88$this->source); })()), "bodyStyle", [], "any"falsefalsefalse88)) {
  385.             // line 89
  386.             echo "                                    <dl class=\"item-property col-6\">
  387.                                         <dt>";
  388.             // line 90
  389.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.body-style"), "html"nulltrue);
  390.             echo "</dt>
  391.                                         <dd>";
  392.             // line 91
  393.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'91$this->source); })()), "bodyStyle", [], "any"falsefalsefalse91), "name", [], "any"falsefalsefalse91), "html"nulltrue);
  394.             echo "</dd>
  395.                                     </dl>
  396.                                 ";
  397.         }
  398.         // line 94
  399.         echo "
  400.                                 <dl class=\"item-property col-6\">
  401.                                     <dt>";
  402.         // line 96
  403.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.car-class"), "html"nulltrue);
  404.         echo "</dt>
  405.                                     <dd>";
  406.         // line 97
  407.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_lower_filter($this->env, ("attribute." twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'97$this->source); })()), "carClass", [], "any"falsefalsefalse97)))), "html"nulltrue);
  408.         echo "</dd>
  409.                                 </dl>
  410.                             ";
  411.         
  412.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  413.         
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  415.     }
  416.     // line 101
  417.     public function block_salesinfos($context, array $blocks = [])
  418.     {
  419.         $macros $this->macros;
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""salesinfos"));
  422.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""salesinfos"));
  424.         // line 102
  425.         echo "
  426.                                 ";
  427.         // line 103
  428.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'103$this->source); })()), "saleInformation", [], "any"falsefalsefalse103), "saleInformation", [], "any"falsefalsefalse103)) {
  429.             // line 104
  430.             echo "
  431.                                     <dl class=\"item-property col-6 mb-0\">
  432.                                         <dt>";
  433.             // line 106
  434.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.condition"), "html"nulltrue);
  435.             echo "</dt>
  436.                                         <dd>";
  437.             // line 107
  438.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_lower_filter($this->env, ("attribute." twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'107$this->source); })()), "saleInformation", [], "any"falsefalsefalse107), "saleInformation", [], "any"falsefalsefalse107), "condition", [], "any"falsefalsefalse107)))), "html"nulltrue);
  439.             echo "</dd>
  440.                                     </dl>
  441.                                     <dl class=\"item-property col-6 mb-0\">
  442.                                         <dt>";
  443.             // line 111
  444.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.milage"), "html"nulltrue);
  445.             echo "</dt>
  446.                                         <dd>";
  447.             // line 112
  448.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'112$this->source); })()), "saleInformation", [], "any"falsefalsefalse112), "saleInformation", [], "any"falsefalsefalse112), "milage", [], "any"falsefalsefalse112), "html"nulltrue);
  449.             echo "</dd>
  450.                                     </dl>
  451.                                 ";
  452.         }
  453.         // line 116
  454.         echo "                            ";
  455.         
  456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  457.         
  458.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  459.     }
  460.     // line 170
  461.     public function block_description($context, array $blocks = [])
  462.     {
  463.         $macros $this->macros;
  464.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  465.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  466.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  467.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  468.         // line 171
  469.         echo "                <div class=\"mt-5 col-12 text-center\">
  470.                     <h4 class=\"text-center\">";
  471.         // line 172
  472.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.additional-information"), "html"nulltrue);
  473.         echo "</h4>
  474.                     ";
  475.         // line 174
  476.         if (twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'174$this->source); })()), "description", [], "any"falsefalsefalse174)) {
  477.             // line 175
  478.             echo "                        <p>";
  479.             echo twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'175$this->source); })()), "description", [], "any"falsefalsefalse175);
  480.             echo "</p>
  481.                     ";
  482.         }
  483.         // line 177
  484.         echo "
  485.                 </div>
  486.             ";
  487.         
  488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  489.         
  490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  491.     }
  492.     // line 181
  493.     public function block_attributes($context, array $blocks = [])
  494.     {
  495.         $macros $this->macros;
  496.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""attributes"));
  498.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  499.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""attributes"));
  500.         // line 182
  501.         echo "                <div class=\"col-12\">
  502.                 <ul class=\"nav nav-tabs\" id=\"attributes\" role=\"tablist\">
  503.                     <li class=\"nav-item\">
  504.                         <a class=\"nav-link active\" id=\"home-tab\" data-toggle=\"tab\" href=\"#home\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">";
  505.         // line 186
  506.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.general"), "html"nulltrue);
  507.         echo "</a>
  508.                     </li>
  509.                     ";
  510.         // line 188
  511.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'188$this->source); })()), "attributes", [], "any"falsefalsefalse188), "dimensions", [], "any"falsefalsefalse188) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'188$this->source); })()), "attributes", [], "any"falsefalsefalse188), "bodywork", [], "any"falsefalsefalse188))) {
  512.             // line 189
  513.             echo "                        <li class=\"nav-item\">
  514.                             <a class=\"nav-link\" id=\"dimensions-tab\" data-toggle=\"tab\" href=\"#dimensions\" role=\"tab\" aria-controls=\"dimensions\" aria-selected=\"false\">";
  515.             // line 190
  516.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.dimensions"), "html"nulltrue);
  517.             echo "</a>
  518.                         </li>
  519.                     ";
  520.         }
  521.         // line 193
  522.         echo "                    ";
  523.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'193$this->source); })()), "attributes", [], "any"falsefalsefalse193), "engine", [], "any"falsefalsefalse193) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'193$this->source); })()), "attributes", [], "any"falsefalsefalse193), "transmission", [], "any"falsefalsefalse193))) {
  524.             // line 194
  525.             echo "                        <li class=\"nav-item\">
  526.                             <a class=\"nav-link\" id=\"engine-tab\" data-toggle=\"tab\" href=\"#engine\" role=\"tab\" aria-controls=\"engine\" aria-selected=\"false\">";
  527.             // line 195
  528.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.engine"), "html"nulltrue);
  529.             echo "</a>
  530.                         </li>
  531.                     ";
  532.         }
  533.         // line 198
  534.         echo "                </ul>
  535.                 <div class=\"tab-content\" id=\"myTabContent\">
  536.                     <div class=\"tab-pane fade show active\" id=\"home\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
  537.                         <div class=\"m-3\">
  538.                             <div class=\"row\">
  539.                                 ";
  540.         // line 206
  541.         if (twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'206$this->source); })()), "manufacturer", [], "any"falsefalsefalse206)) {
  542.             // line 207
  543.             echo "                                    <dl class=\"item-property col-6 col-md-3\">
  544.                                         <dt>";
  545.             // line 208
  546.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.manufacturer"), "html"nulltrue);
  547.             echo "</dt>
  548.                                         <dd>";
  549.             // line 209
  550.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'209$this->source); })()), "manufacturer", [], "any"falsefalsefalse209), "name", [], "any"falsefalsefalse209), "html"nulltrue);
  551.             echo "</dd>
  552.                                     </dl>
  553.                                 ";
  554.         }
  555.         // line 212
  556.         echo "
  557.                                 ";
  558.         // line 213
  559.         echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'213$this->source); })()), "productionYear", [], "any"falsefalsefalse213), "general.productionYear"], 213$context$this->getSourceContext());
  560.         echo "
  561.                                 ";
  562.         // line 215
  563.         if (twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'215$this->source); })()), "country", [], "any"falsefalsefalse215)) {
  564.             // line 216
  565.             echo "                                    <dl class=\"item-property col-6 col-md-3\">
  566.                                         <dt>";
  567.             // line 217
  568.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.country"), "html"nulltrue);
  569.             echo "</dt>
  570.                                         <dd>";
  571.             // line 218
  572.             echo twig_escape_filter($this->env$this->env->getFilter('country')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'218$this->source); })()), "country", [], "any"falsefalsefalse218)), "html"nulltrue);
  573.             echo "</dd>
  574.                                     </dl>
  575.                                 ";
  576.         }
  577.         // line 221
  578.         echo "
  579.                             </div>
  580.                         </div>
  581.                     </div>
  582.                     ";
  583.         // line 227
  584.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'227$this->source); })()), "attributes", [], "any"falsefalsefalse227), "dimensions", [], "any"falsefalsefalse227) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'227$this->source); })()), "attributes", [], "any"falsefalsefalse227), "bodywork", [], "any"falsefalsefalse227))) {
  585.             // line 228
  586.             echo "                        <div class=\"tab-pane fade\" id=\"dimensions\" role=\"tabpanel\" aria-labelledby=\"dimensions-tab\">
  587.                             <div class=\"m-3\">
  588.                                 <div class=\"row\">
  589.                                     ";
  590.             // line 234
  591.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'234$this->source); })()), "attributes", [], "any"falsefalsefalse234), "dimensions", [], "any"falsefalsefalse234)) {
  592.                 // line 235
  593.                 echo "                                        ";
  594.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'235$this->source); })()), "attributes", [], "any"falsefalsefalse235), "dimensions", [], "any"falsefalsefalse235), "length", [], "any"falsefalsefalse235), "general.length"], 235$context$this->getSourceContext());
  595.                 echo "
  596.                                         ";
  597.                 // line 236
  598.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'236$this->source); })()), "attributes", [], "any"falsefalsefalse236), "dimensions", [], "any"falsefalsefalse236), "width", [], "any"falsefalsefalse236), "general.width"], 236$context$this->getSourceContext());
  599.                 echo "
  600.                                         ";
  601.                 // line 237
  602.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'237$this->source); })()), "attributes", [], "any"falsefalsefalse237), "dimensions", [], "any"falsefalsefalse237), "wheelbase", [], "any"falsefalsefalse237), "general.wheelbase"], 237$context$this->getSourceContext());
  603.                 echo "
  604.                                         ";
  605.                 // line 238
  606.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'238$this->source); })()), "attributes", [], "any"falsefalsefalse238), "dimensions", [], "any"falsefalsefalse238), "weight", [], "any"falsefalsefalse238), "general.weight"], 238$context$this->getSourceContext());
  607.                 echo "
  608.                                     ";
  609.             }
  610.             // line 240
  611.             echo "
  612.                                     ";
  613.             // line 241
  614.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'241$this->source); })()), "attributes", [], "any"falsefalsefalse241), "bodywork", [], "any"falsefalsefalse241)) {
  615.                 // line 242
  616.                 echo "                                        ";
  617.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'242$this->source); })()), "attributes", [], "any"falsefalsefalse242), "bodywork", [], "any"falsefalsefalse242), "numberOfDoors", [], "any"falsefalsefalse242), "general.numberOfDoors"], 242$context$this->getSourceContext());
  618.                 echo "
  619.                                         ";
  620.                 // line 243
  621.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'243$this->source); })()), "attributes", [], "any"falsefalsefalse243), "bodywork", [], "any"falsefalsefalse243), "numberOfSeats", [], "any"falsefalsefalse243), "general.numberOfSeats"], 243$context$this->getSourceContext());
  622.                 echo "
  623.                                     ";
  624.             }
  625.             // line 245
  626.             echo "
  627.                                 </div>
  628.                             </div>
  629.                         </div>
  630.                     ";
  631.         }
  632.         // line 252
  633.         echo "                    ";
  634.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'252$this->source); })()), "attributes", [], "any"falsefalsefalse252), "engine", [], "any"falsefalsefalse252) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'252$this->source); })()), "attributes", [], "any"falsefalsefalse252), "transmission", [], "any"falsefalsefalse252))) {
  635.             // line 253
  636.             echo "                        <div class=\"tab-pane fade\" id=\"engine\" role=\"tabpanel\" aria-labelledby=\"engine-tab\">
  637.                             <div class=\"m-3\">
  638.                                 <div class=\"row\">
  639.                                     ";
  640.             // line 259
  641.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'259$this->source); })()), "attributes", [], "any"falsefalsefalse259), "engine", [], "any"falsefalsefalse259)) {
  642.                 // line 260
  643.                 echo "                                        ";
  644.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'260$this->source); })()), "attributes", [], "any"falsefalsefalse260), "engine", [], "any"falsefalsefalse260), "cylinders", [], "any"falsefalsefalse260), "general.cylinders"], 260$context$this->getSourceContext());
  645.                 echo "
  646.                                         ";
  647.                 // line 261
  648.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'261$this->source); })()), "attributes", [], "any"falsefalsefalse261), "engine", [], "any"falsefalsefalse261), "capacity", [], "any"falsefalsefalse261), "general.capacity"], 261$context$this->getSourceContext());
  649.                 echo "
  650.                                         ";
  651.                 // line 262
  652.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'262$this->source); })()), "attributes", [], "any"falsefalsefalse262), "engine", [], "any"falsefalsefalse262), "power", [], "any"falsefalsefalse262), "general.power"], 262$context$this->getSourceContext());
  653.                 echo "
  654.                                         ";
  655.                 // line 263
  656.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'263$this->source); })()), "attributes", [], "any"falsefalsefalse263), "engine", [], "any"falsefalsefalse263), "engineLocation", [], "any"falsefalsefalse263), "general.engineLocation"], 263$context$this->getSourceContext());
  657.                 echo "
  658.                                     ";
  659.             }
  660.             // line 265
  661.             echo "
  662.                                     ";
  663.             // line 266
  664.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'266$this->source); })()), "attributes", [], "any"falsefalsefalse266), "transmission", [], "any"falsefalsefalse266)) {
  665.                 // line 267
  666.                 echo "                                        ";
  667.                 echo twig_call_macro($macros["macros"], "macro_attribute", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'267$this->source); })()), "attributes", [], "any"falsefalsefalse267), "transmission", [], "any"falsefalsefalse267), "wheelDrive", [], "any"falsefalsefalse267), "general.wheelDrive"true"attribute."], 267$context$this->getSourceContext());
  668.                 echo "
  669.                                     ";
  670.             }
  671.             // line 269
  672.             echo "
  673.                                 </div>
  674.                             </div>
  675.                         </div>
  676.                     ";
  677.         }
  678.         // line 276
  679.         echo "                </div>
  680.             </div>
  681.             ";
  682.         
  683.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  684.         
  685.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  686.     }
  687.     // line 281
  688.     public function block_productrelations($context, array $blocks = [])
  689.     {
  690.         $macros $this->macros;
  691.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  692.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""productrelations"));
  693.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  694.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""productrelations"));
  695.         // line 282
  696.         echo "                ";
  697.         $context["accessories"] = twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'282$this->source); })()), "accessories", [], "any"falsefalsefalse282);
  698.         // line 283
  699.         echo "
  700.                 ";
  701.         // line 284
  702.         if (twig_get_attribute($this->env$this->source, (isset($context["accessories"]) || array_key_exists("accessories"$context) ? $context["accessories"] : (function () { throw new RuntimeError('Variable "accessories" does not exist.'284$this->source); })()), "count", [], "any"falsefalsefalse284)) {
  703.             // line 285
  704.             echo "
  705.                     <hr>
  706.                     <div class=\"mt-5 col-12\">
  707.                         <h4 class=\"text-center\">";
  708.             // line 289
  709.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.accessories"), "html"nulltrue);
  710.             echo "</h4>
  711.                         <div class=\"row\">
  712.                             ";
  713.             // line 292
  714.             $context['_parent'] = $context;
  715.             $context['_seq'] = twig_ensure_traversable((isset($context["accessories"]) || array_key_exists("accessories"$context) ? $context["accessories"] : (function () { throw new RuntimeError('Variable "accessories" does not exist.'292$this->source); })()));
  716.             $context['loop'] = [
  717.               'parent' => $context['_parent'],
  718.               'index0' => 0,
  719.               'index'  => 1,
  720.               'first'  => true,
  721.             ];
  722.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  723.                 $length count($context['_seq']);
  724.                 $context['loop']['revindex0'] = $length 1;
  725.                 $context['loop']['revindex'] = $length;
  726.                 $context['loop']['length'] = $length;
  727.                 $context['loop']['last'] = === $length;
  728.             }
  729.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  730.                 // line 293
  731.                 echo "
  732.                                 <div class=\"col-md-3 d-flex align-items-stretch\">
  733.                                     ";
  734.                 // line 295
  735.                 $this->loadTemplate("product/product_teaser.html.twig""product/detail.html.twig"295)->display(twig_array_merge($context, ["product" => $context["item"]]));
  736.                 // line 296
  737.                 echo "                                </div>
  738.                             ";
  739.                 ++$context['loop']['index0'];
  740.                 ++$context['loop']['index'];
  741.                 $context['loop']['first'] = false;
  742.                 if (isset($context['loop']['length'])) {
  743.                     --$context['loop']['revindex0'];
  744.                     --$context['loop']['revindex'];
  745.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  746.                 }
  747.             }
  748.             $_parent $context['_parent'];
  749.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  750.             $context array_intersect_key($context$_parent) + $_parent;
  751.             // line 299
  752.             echo "                        </div>
  753.                     </div>
  754.                 ";
  755.         }
  756.         // line 304
  757.         echo "            ";
  758.         
  759.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  760.         
  761.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  762.     }
  763.     public function getTemplateName()
  764.     {
  765.         return "product/detail.html.twig";
  766.     }
  767.     public function isTraitable()
  768.     {
  769.         return false;
  770.     }
  771.     public function getDebugInfo()
  772.     {
  773.         return array (  860 => 304,  853 => 299,  837 => 296,  835 => 295,  831 => 293,  814 => 292,  808 => 289,  802 => 285,  800 => 284,  797 => 283,  794 => 282,  784 => 281,  771 => 276,  762 => 269,  756 => 267,  754 => 266,  751 => 265,  746 => 263,  742 => 262,  738 => 261,  733 => 260,  731 => 259,  723 => 253,  720 => 252,  711 => 245,  706 => 243,  701 => 242,  699 => 241,  696 => 240,  691 => 238,  687 => 237,  683 => 236,  678 => 235,  676 => 234,  668 => 228,  666 => 227,  658 => 221,  652 => 218,  648 => 217,  645 => 216,  643 => 215,  638 => 213,  635 => 212,  629 => 209,  625 => 208,  622 => 207,  620 => 206,  610 => 198,  604 => 195,  601 => 194,  598 => 193,  592 => 190,  589 => 189,  587 => 188,  582 => 186,  576 => 182,  566 => 181,  554 => 177,  548 => 175,  546 => 174,  541 => 172,  538 => 171,  528 => 170,  518 => 116,  511 => 112,  507 => 111,  500 => 107,  496 => 106,  492 => 104,  490 => 103,  487 => 102,  477 => 101,  464 => 97,  460 => 96,  456 => 94,  450 => 91,  446 => 90,  443 => 89,  440 => 88,  430 => 87,  417 => 82,  408 => 79,  404 => 78,  399 => 77,  395 => 76,  390 => 74,  387 => 73,  377 => 72,  367 => 52,  361 => 48,  349 => 42,  345 => 41,  340 => 38,  336 => 37,  331 => 34,  328 => 33,  325 => 32,  315 => 31,  301 => 305,  299 => 281,  296 => 280,  294 => 181,  291 => 180,  289 => 170,  274 => 160,  270 => 158,  262 => 156,  260 => 155,  255 => 152,  242 => 150,  238 => 149,  231 => 145,  228 => 144,  222 => 142,  220 => 141,  217 => 140,  210 => 135,  201 => 133,  197 => 132,  191 => 129,  186 => 126,  184 => 125,  181 => 124,  178 => 123,  176 => 122,  169 => 117,  167 => 101,  164 => 100,  162 => 87,  159 => 86,  157 => 72,  149 => 67,  146 => 66,  140 => 64,  138 => 63,  128 => 55,  124 => 53,  122 => 31,  116 => 28,  112 => 27,  108 => 25,  106 => 24,  95 => 16,  92 => 15,  86 => 13,  84 => 12,  78 => 8,  68 => 7,  57 => 5,  55 => 3,  42 => 5,);
  774.     }
  775.     public function getSourceContext()
  776.     {
  777.         return new Source("{# @var product \\App\\Model\\Product\\Car #}
  778. {% import 'product/macros.html.twig' as macros %}
  779. {% extends 'layouts/layout.html.twig' %}
  780. {% block content %}
  781.     <div id=\"main-content\" class=\"main-content\">
  782.         <div class=\"d-md-none mt-3\">
  783.             {% if(product.manufacturer and product.manufacturer.logo)  %}
  784.                 {{ product.manufacturer.logo.thumbnail('product_detail_manufacturer').getHTML({imgAttributes: {class: 'img-fluid float-right'}})|raw }}
  785.             {%  endif  %}
  786.             <div class=\"page-header\">
  787.                 <h1>{{ product.oSName }}</h1>
  788.             </div>
  789.         </div>
  790.         <div class=\"bg-white my-3\">
  791.             <div class=\"row\">
  792.                 <div class=\"col-md-6 mb-4\">
  793.                     {% if(product.mainImage) %}
  794.                         <div class=\"p-3\">
  795.                             <a href=\"{{ product.mainImage.getThumbnail('galleryLightbox')|raw }}\" class=\"thumbnail\">
  796.                                 {{ product.mainImage.thumbnail('product_detail').getHTML({imgAttributes: {class: 'img-thumbnail1 img-fluid'}})|raw }}
  797.                             </a>
  798.                             {% block additionalimages %}
  799.                                 {% set additionalImages = product.additionalImages %}
  800.                                 {%  if(additionalImages) %}
  801.                                     <div class=\"row\">
  802.                                         {% for image in additionalImages %}
  803.                                             <div class=\"col-4 mt-3\">
  804.                                                 <a href=\"{{ image.getThumbnail('galleryLightbox')|raw }}\" class=\"thumbnail\">
  805.                                                     {{ image.thumbnail('product_detail_small').getHTML({imgAttributes: {class: 'img-thumbnail1 img-fluid'}})|raw }}
  806.                                                 </a>
  807.                                             </div>
  808.                                         {% endfor %}
  809.                                     </div>
  810.                                 {%  endif %}
  811.                             {% endblock %}
  812.                         </div>
  813.                     {% endif %}
  814.                 </div>
  815.                 <div class=\"col-md-6 mb-4\">
  816.                     <div class=\"p-3 pt-4\">
  817.                         <div class=\"row d-none d-md-block mb-3\">
  818.                             <div class=\"col-12\">
  819.                                 {% if(product.manufacturer and product.manufacturer.logo)  %}
  820.                                     {{ product.manufacturer.logo.thumbnail('product_detail_manufacturer').getHTML({imgAttributes: {class: 'img-fluid float-right'}})|raw }}
  821.                                 {%  endif  %}
  822.                                 <h2 class=\"\">{{ product.oSName }}</h2>
  823.                             </div>
  824.                         </div>
  825.                         <div class=\"row\">
  826.                             {% block colorvariants %}
  827.                                 <dl class=\"item-property col-12\">
  828.                                     <dt>{{ 'general.color' | trans }}</dt>
  829.                                     <dd>
  830.                                         {% for colorVariant in product.colorVariants %}
  831.                                             <a href=\"{{ app_product_detaillink(colorVariant) }}\"
  832.                                                class=\"btn {{ product.id == colorVariant.id ? 'btn-primary' : 'btn-outline-primary' }}\">
  833.                                                 {{ colorVariant.color | colorname }}
  834.                                             </a>
  835.                                         {% endfor %}
  836.                                     </dd>
  837.                                 </dl>
  838.                             {% endblock %}
  839.                             {% block detailinfos %}
  840.                                 {% if(product.bodyStyle) %}
  841.                                     <dl class=\"item-property col-6\">
  842.                                         <dt>{{ 'general.body-style' | trans }}</dt>
  843.                                         <dd>{{ product.bodyStyle.name }}</dd>
  844.                                     </dl>
  845.                                 {% endif %}
  846.                                 <dl class=\"item-property col-6\">
  847.                                     <dt>{{ 'general.car-class' | trans }}</dt>
  848.                                     <dd>{{ ('attribute.' ~ product.carClass) | lower | trans }}</dd>
  849.                                 </dl>
  850.                             {% endblock %}
  851.                             {% block salesinfos %}
  852.                                 {% if product.saleInformation.saleInformation %}
  853.                                     <dl class=\"item-property col-6 mb-0\">
  854.                                         <dt>{{ 'general.condition' | trans }}</dt>
  855.                                         <dd>{{ ('attribute.' ~ product.saleInformation.saleInformation.condition) | lower | trans}}</dd>
  856.                                     </dl>
  857.                                     <dl class=\"item-property col-6 mb-0\">
  858.                                         <dt>{{ 'general.milage' | trans }}</dt>
  859.                                         <dd>{{ product.saleInformation.saleInformation.milage}}</dd>
  860.                                     </dl>
  861.                                 {% endif %}
  862.                             {% endblock %}
  863.                         </div>
  864.                         <hr/>
  865.                         <div class=\"mt-4 text-center\">
  866.                             {% set priceInfo = product.oSPriceInfo %}
  867.                             {% set price = product.oSPrice %}
  868.                             {% if(priceInfo.rules) %}
  869.                                 <div class=\"alert alert-success mb-4\" role=\"alert\">
  870.                                     <p class=\"small mb-2\"><strong>{{ 'general.your-benefits' | trans }}</strong></p>
  871.                                     <ul class=\"list-unstyled mb-0 small\">
  872.                                         {% for rule in priceInfo.rules %}
  873.                                             <li>{{ rule.label }}</li>
  874.                                         {% endfor %}
  875.                                     </ul>
  876.                                 </div>
  877.                             {% endif %}
  878.                             {% if(priceInfo.hasDiscount) %}
  879.                                 <p class=\"detail-price original mb-3\">{{ priceInfo.originalPrice }}</p>
  880.                             {% endif %}
  881.                             <p class=\"detail-price mb-2\">{{ price }}</p>
  882.                             <div class=\"detail-tax text-muted\">
  883.                                 <ul class=\"list-unstyled\">
  884.                                     {% for taxEntry in price.taxEntries %}
  885.                                         <li>{{ taxEntry.entry.name }}: {{ taxEntry.percent }}% ({{ taxEntry.amount.asNumeric | currency(price.currency.shortName) }})</li>
  886.                                     {% endfor %}
  887.                                 </ul>
  888.                             </div>
  889.                             {% if product.saleInformation.saleInformation %}
  890.                                 <p class=\"small text-muted mt-1\">{{ 'general.available-in' | trans }} {{ ('attribute.' ~ product.saleInformation.saleInformation.availabilityType) | lower | trans }}</p>
  891.                             {% endif %}
  892.                         </div>
  893.                         <a href=\"{{ path('shop-add-to-cart', { id: product.id }) }}\" class=\"btn btn-success btn-block\">{{ 'general.add-to-cart' | trans }}</a>
  894.                     </div>
  895.                 </div>
  896.             </div>
  897.             <hr>
  898.             {% block description %}
  899.                 <div class=\"mt-5 col-12 text-center\">
  900.                     <h4 class=\"text-center\">{{ 'general.additional-information' | trans }}</h4>
  901.                     {% if(product.description) %}
  902.                         <p>{{ product.description | raw }}</p>
  903.                     {% endif %}
  904.                 </div>
  905.             {% endblock %}
  906.             {% block attributes %}
  907.                 <div class=\"col-12\">
  908.                 <ul class=\"nav nav-tabs\" id=\"attributes\" role=\"tablist\">
  909.                     <li class=\"nav-item\">
  910.                         <a class=\"nav-link active\" id=\"home-tab\" data-toggle=\"tab\" href=\"#home\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">{{ 'general.general' | trans }}</a>
  911.                     </li>
  912.                     {% if(product.attributes.dimensions or product.attributes.bodywork) %}
  913.                         <li class=\"nav-item\">
  914.                             <a class=\"nav-link\" id=\"dimensions-tab\" data-toggle=\"tab\" href=\"#dimensions\" role=\"tab\" aria-controls=\"dimensions\" aria-selected=\"false\">{{ 'general.dimensions' | trans }}</a>
  915.                         </li>
  916.                     {% endif %}
  917.                     {% if(product.attributes.engine or product.attributes.transmission) %}
  918.                         <li class=\"nav-item\">
  919.                             <a class=\"nav-link\" id=\"engine-tab\" data-toggle=\"tab\" href=\"#engine\" role=\"tab\" aria-controls=\"engine\" aria-selected=\"false\">{{ 'general.engine' | trans }}</a>
  920.                         </li>
  921.                     {%  endif %}
  922.                 </ul>
  923.                 <div class=\"tab-content\" id=\"myTabContent\">
  924.                     <div class=\"tab-pane fade show active\" id=\"home\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
  925.                         <div class=\"m-3\">
  926.                             <div class=\"row\">
  927.                                 {% if(product.manufacturer) %}
  928.                                     <dl class=\"item-property col-6 col-md-3\">
  929.                                         <dt>{{ 'general.manufacturer' | trans }}</dt>
  930.                                         <dd>{{ product.manufacturer.name }}</dd>
  931.                                     </dl>
  932.                                 {% endif %}
  933.                                 {{ macros.attribute(product.productionYear, 'general.productionYear') }}
  934.                                 {% if(product.country) %}
  935.                                     <dl class=\"item-property col-6 col-md-3\">
  936.                                         <dt>{{ 'general.country' | trans }}</dt>
  937.                                         <dd>{{ product.country | country }}</dd>
  938.                                     </dl>
  939.                                 {% endif %}
  940.                             </div>
  941.                         </div>
  942.                     </div>
  943.                     {% if(product.attributes.dimensions or product.attributes.bodywork) %}
  944.                         <div class=\"tab-pane fade\" id=\"dimensions\" role=\"tabpanel\" aria-labelledby=\"dimensions-tab\">
  945.                             <div class=\"m-3\">
  946.                                 <div class=\"row\">
  947.                                     {% if(product.attributes.dimensions) %}
  948.                                         {{ macros.attribute(product.attributes.dimensions.length, 'general.length') }}
  949.                                         {{ macros.attribute(product.attributes.dimensions.width, 'general.width') }}
  950.                                         {{ macros.attribute(product.attributes.dimensions.wheelbase, 'general.wheelbase') }}
  951.                                         {{ macros.attribute(product.attributes.dimensions.weight, 'general.weight') }}
  952.                                     {%  endif %}
  953.                                     {% if(product.attributes.bodywork) %}
  954.                                         {{ macros.attribute(product.attributes.bodywork.numberOfDoors, 'general.numberOfDoors') }}
  955.                                         {{ macros.attribute(product.attributes.bodywork.numberOfSeats, 'general.numberOfSeats') }}
  956.                                     {%  endif %}
  957.                                 </div>
  958.                             </div>
  959.                         </div>
  960.                     {%  endif %}
  961.                     {% if(product.attributes.engine or product.attributes.transmission) %}
  962.                         <div class=\"tab-pane fade\" id=\"engine\" role=\"tabpanel\" aria-labelledby=\"engine-tab\">
  963.                             <div class=\"m-3\">
  964.                                 <div class=\"row\">
  965.                                     {% if(product.attributes.engine) %}
  966.                                         {{ macros.attribute(product.attributes.engine.cylinders, 'general.cylinders') }}
  967.                                         {{ macros.attribute(product.attributes.engine.capacity, 'general.capacity') }}
  968.                                         {{ macros.attribute(product.attributes.engine.power, 'general.power') }}
  969.                                         {{ macros.attribute(product.attributes.engine.engineLocation, 'general.engineLocation') }}
  970.                                     {%  endif %}
  971.                                     {% if(product.attributes.transmission) %}
  972.                                         {{ macros.attribute(product.attributes.transmission.wheelDrive, 'general.wheelDrive', true, 'attribute.') }}
  973.                                     {%  endif %}
  974.                                 </div>
  975.                             </div>
  976.                         </div>
  977.                     {%  endif %}
  978.                 </div>
  979.             </div>
  980.             {% endblock %}
  981.             {% block productrelations %}
  982.                 {% set accessories = product.accessories %}
  983.                 {%  if(accessories.count) %}
  984.                     <hr>
  985.                     <div class=\"mt-5 col-12\">
  986.                         <h4 class=\"text-center\">{{ 'general.accessories' | trans }}</h4>
  987.                         <div class=\"row\">
  988.                             {% for item in accessories %}
  989.                                 <div class=\"col-md-3 d-flex align-items-stretch\">
  990.                                     {% include 'product/product_teaser.html.twig' with {'product': item} %}
  991.                                 </div>
  992.                             {% endfor %}
  993.                         </div>
  994.                     </div>
  995.                 {% endif %}
  996.             {% endblock %}
  997.         </div>
  998.     </div>
  999. {% endblock %}""product/detail.html.twig""/var/www/pimcore/MovieCollection/templates/product/detail.html.twig");
  1000.     }
  1001. }