var/cache/dev/twig/de/de22be53fc8be9d78e70eb524b6d1e35.php line 45

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_cd4d43598939767eed046897cc7fc587 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.                         <form id=\"shop_add_to_cart_form_";
  243.         // line 159
  244.         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.'159$this->source); })()), "id", [], "any"falsefalsefalse159), "html"nulltrue);
  245.         echo "\" method=\"post\" action=\"";
  246.         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.'159$this->source); })()), "id", [], "any"falsefalsefalse159)]), "html"nulltrue);
  247.         echo "\">
  248.                             <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  249.         // line 160
  250.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("addToCart"), "html"nulltrue);
  251.         echo "\">
  252.                             <a href=\"#\"
  253.                                onclick=\"document.getElementById('shop_add_to_cart_form_";
  254.         // line 162
  255.         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.'162$this->source); })()), "id", [], "any"falsefalsefalse162), "html"nulltrue);
  256.         echo "').submit();\"
  257.                                class=\"btn btn-success btn-block\">";
  258.         // line 163
  259.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.add-to-cart"), "html"nulltrue);
  260.         echo "</a>
  261.                         </form>
  262.                     </div>
  263.                 </div>
  264.             </div>
  265.             <hr>
  266.             ";
  267.         // line 174
  268.         $this->displayBlock('description'$context$blocks);
  269.         // line 184
  270.         echo "
  271.             ";
  272.         // line 185
  273.         $this->displayBlock('attributes'$context$blocks);
  274.         // line 284
  275.         echo "
  276.             ";
  277.         // line 285
  278.         $this->displayBlock('productrelations'$context$blocks);
  279.         // line 309
  280.         echo "
  281.         </div>
  282.     </div>
  283. ";
  284.         
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  286.         
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  288.     }
  289.     // line 31
  290.     public function block_additionalimages($context, array $blocks = [])
  291.     {
  292.         $macros $this->macros;
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  294.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalimages"));
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  296.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalimages"));
  297.         // line 32
  298.         echo "                                ";
  299.         $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);
  300.         // line 33
  301.         echo "                                ";
  302.         if ((isset($context["additionalImages"]) || array_key_exists("additionalImages"$context) ? $context["additionalImages"] : (function () { throw new RuntimeError('Variable "additionalImages" does not exist.'33$this->source); })())) {
  303.             // line 34
  304.             echo "
  305.                                     <div class=\"row\">
  306.                                         ";
  307.             // line 37
  308.             $context['_parent'] = $context;
  309.             $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); })()));
  310.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  311.                 // line 38
  312.                 echo "
  313.                                             <div class=\"col-4 mt-3\">
  314.                                                 <a href=\"";
  315.                 // line 41
  316.                 echo twig_get_attribute($this->env$this->source$context["image"], "getThumbnail", [=> "galleryLightbox"], "method"falsefalsefalse41);
  317.                 echo "\" class=\"thumbnail\">
  318.                                                     ";
  319.                 // line 42
  320.                 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);
  321.                 echo "
  322.                                                 </a>
  323.                                             </div>
  324.                                         ";
  325.             }
  326.             $_parent $context['_parent'];
  327.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  328.             $context array_intersect_key($context$_parent) + $_parent;
  329.             // line 48
  330.             echo "
  331.                                     </div>
  332.                                 ";
  333.         }
  334.         // line 52
  335.         echo "                            ";
  336.         
  337.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  338.         
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  340.     }
  341.     // line 72
  342.     public function block_colorvariants($context, array $blocks = [])
  343.     {
  344.         $macros $this->macros;
  345.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  346.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""colorvariants"));
  347.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""colorvariants"));
  349.         // line 73
  350.         echo "                                <dl class=\"item-property col-12\">
  351.                                     <dt>";
  352.         // line 74
  353.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.color"), "html"nulltrue);
  354.         echo "</dt>
  355.                                     <dd>
  356.                                         ";
  357.         // line 76
  358.         $context['_parent'] = $context;
  359.         $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));
  360.         foreach ($context['_seq'] as $context["_key"] => $context["colorVariant"]) {
  361.             // line 77
  362.             echo "                                            <a href=\"";
  363.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ProductPageExtension']->generateLink($context["colorVariant"]), "html"nulltrue);
  364.             echo "\"
  365.                                                class=\"btn ";
  366.             // line 78
  367.             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"));
  368.             echo "\">
  369.                                                 ";
  370.             // line 79
  371.             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);
  372.             echo "
  373.                                             </a>
  374.                                         ";
  375.         }
  376.         $_parent $context['_parent'];
  377.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['colorVariant'], $context['_parent'], $context['loop']);
  378.         $context array_intersect_key($context$_parent) + $_parent;
  379.         // line 82
  380.         echo "                                    </dd>
  381.                                 </dl>
  382.                             ";
  383.         
  384.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  385.         
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387.     }
  388.     // line 87
  389.     public function block_detailinfos($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""detailinfos"));
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""detailinfos"));
  396.         // line 88
  397.         echo "                                ";
  398.         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)) {
  399.             // line 89
  400.             echo "                                    <dl class=\"item-property col-6\">
  401.                                         <dt>";
  402.             // line 90
  403.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.body-style"), "html"nulltrue);
  404.             echo "</dt>
  405.                                         <dd>";
  406.             // line 91
  407.             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);
  408.             echo "</dd>
  409.                                     </dl>
  410.                                 ";
  411.         }
  412.         // line 94
  413.         echo "
  414.                                 <dl class=\"item-property col-6\">
  415.                                     <dt>";
  416.         // line 96
  417.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.car-class"), "html"nulltrue);
  418.         echo "</dt>
  419.                                     <dd>";
  420.         // line 97
  421.         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);
  422.         echo "</dd>
  423.                                 </dl>
  424.                             ";
  425.         
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  427.         
  428.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  429.     }
  430.     // line 101
  431.     public function block_salesinfos($context, array $blocks = [])
  432.     {
  433.         $macros $this->macros;
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  435.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""salesinfos"));
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""salesinfos"));
  438.         // line 102
  439.         echo "
  440.                                 ";
  441.         // line 103
  442.         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)) {
  443.             // line 104
  444.             echo "
  445.                                     <dl class=\"item-property col-6 mb-0\">
  446.                                         <dt>";
  447.             // line 106
  448.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.condition"), "html"nulltrue);
  449.             echo "</dt>
  450.                                         <dd>";
  451.             // line 107
  452.             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);
  453.             echo "</dd>
  454.                                     </dl>
  455.                                     <dl class=\"item-property col-6 mb-0\">
  456.                                         <dt>";
  457.             // line 111
  458.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.milage"), "html"nulltrue);
  459.             echo "</dt>
  460.                                         <dd>";
  461.             // line 112
  462.             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);
  463.             echo "</dd>
  464.                                     </dl>
  465.                                 ";
  466.         }
  467.         // line 116
  468.         echo "                            ";
  469.         
  470.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  471.         
  472.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  473.     }
  474.     // line 174
  475.     public function block_description($context, array $blocks = [])
  476.     {
  477.         $macros $this->macros;
  478.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  480.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  481.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  482.         // line 175
  483.         echo "                <div class=\"mt-5 col-12 text-center\">
  484.                     <h4 class=\"text-center\">";
  485.         // line 176
  486.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.additional-information"), "html"nulltrue);
  487.         echo "</h4>
  488.                     ";
  489.         // line 178
  490.         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.'178$this->source); })()), "description", [], "any"falsefalsefalse178)) {
  491.             // line 179
  492.             echo "                        <p>";
  493.             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.'179$this->source); })()), "description", [], "any"falsefalsefalse179);
  494.             echo "</p>
  495.                     ";
  496.         }
  497.         // line 181
  498.         echo "
  499.                 </div>
  500.             ";
  501.         
  502.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  503.         
  504.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  505.     }
  506.     // line 185
  507.     public function block_attributes($context, array $blocks = [])
  508.     {
  509.         $macros $this->macros;
  510.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  511.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""attributes"));
  512.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  513.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""attributes"));
  514.         // line 186
  515.         echo "                <div class=\"col-12\">
  516.                 <ul class=\"nav nav-tabs\" id=\"attributes\" role=\"tablist\">
  517.                     <li class=\"nav-item\">
  518.                         <a class=\"nav-link active\" id=\"home-tab\" data-toggle=\"tab\" href=\"#home\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">";
  519.         // line 190
  520.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.general"), "html"nulltrue);
  521.         echo "</a>
  522.                     </li>
  523.                     ";
  524.         // line 192
  525.         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.'192$this->source); })()), "attributes", [], "any"falsefalsefalse192), "dimensions", [], "any"falsefalsefalse192) || 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.'192$this->source); })()), "attributes", [], "any"falsefalsefalse192), "bodywork", [], "any"falsefalsefalse192))) {
  526.             // line 193
  527.             echo "                        <li class=\"nav-item\">
  528.                             <a class=\"nav-link\" id=\"dimensions-tab\" data-toggle=\"tab\" href=\"#dimensions\" role=\"tab\" aria-controls=\"dimensions\" aria-selected=\"false\">";
  529.             // line 194
  530.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.dimensions"), "html"nulltrue);
  531.             echo "</a>
  532.                         </li>
  533.                     ";
  534.         }
  535.         // line 197
  536.         echo "                    ";
  537.         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.'197$this->source); })()), "attributes", [], "any"falsefalsefalse197), "engine", [], "any"falsefalsefalse197) || 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.'197$this->source); })()), "attributes", [], "any"falsefalsefalse197), "transmission", [], "any"falsefalsefalse197))) {
  538.             // line 198
  539.             echo "                        <li class=\"nav-item\">
  540.                             <a class=\"nav-link\" id=\"engine-tab\" data-toggle=\"tab\" href=\"#engine\" role=\"tab\" aria-controls=\"engine\" aria-selected=\"false\">";
  541.             // line 199
  542.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.engine"), "html"nulltrue);
  543.             echo "</a>
  544.                         </li>
  545.                     ";
  546.         }
  547.         // line 202
  548.         echo "                </ul>
  549.                 <div class=\"tab-content\" id=\"myTabContent\">
  550.                     <div class=\"tab-pane fade show active\" id=\"home\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
  551.                         <div class=\"m-3\">
  552.                             <div class=\"row\">
  553.                                 ";
  554.         // line 210
  555.         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.'210$this->source); })()), "manufacturer", [], "any"falsefalsefalse210)) {
  556.             // line 211
  557.             echo "                                    <dl class=\"item-property col-6 col-md-3\">
  558.                                         <dt>";
  559.             // line 212
  560.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.manufacturer"), "html"nulltrue);
  561.             echo "</dt>
  562.                                         <dd>";
  563.             // line 213
  564.             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.'213$this->source); })()), "manufacturer", [], "any"falsefalsefalse213), "name", [], "any"falsefalsefalse213), "html"nulltrue);
  565.             echo "</dd>
  566.                                     </dl>
  567.                                 ";
  568.         }
  569.         // line 216
  570.         echo "
  571.                                 ";
  572.         // line 217
  573.         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.'217$this->source); })()), "productionYear", [], "any"falsefalsefalse217), "general.productionYear"], 217$context$this->getSourceContext());
  574.         echo "
  575.                                 ";
  576.         // line 219
  577.         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.'219$this->source); })()), "country", [], "any"falsefalsefalse219)) {
  578.             // line 220
  579.             echo "                                    <dl class=\"item-property col-6 col-md-3\">
  580.                                         <dt>";
  581.             // line 221
  582.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.country"), "html"nulltrue);
  583.             echo "</dt>
  584.                                         <dd>";
  585.             // line 222
  586.             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.'222$this->source); })()), "country", [], "any"falsefalsefalse222)), "html"nulltrue);
  587.             echo "</dd>
  588.                                     </dl>
  589.                                 ";
  590.         }
  591.         // line 225
  592.         echo "
  593.                             </div>
  594.                         </div>
  595.                     </div>
  596.                     ";
  597.         // line 231
  598.         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.'231$this->source); })()), "attributes", [], "any"falsefalsefalse231), "dimensions", [], "any"falsefalsefalse231) || 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.'231$this->source); })()), "attributes", [], "any"falsefalsefalse231), "bodywork", [], "any"falsefalsefalse231))) {
  599.             // line 232
  600.             echo "                        <div class=\"tab-pane fade\" id=\"dimensions\" role=\"tabpanel\" aria-labelledby=\"dimensions-tab\">
  601.                             <div class=\"m-3\">
  602.                                 <div class=\"row\">
  603.                                     ";
  604.             // line 238
  605.             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.'238$this->source); })()), "attributes", [], "any"falsefalsefalse238), "dimensions", [], "any"falsefalsefalse238)) {
  606.                 // line 239
  607.                 echo "                                        ";
  608.                 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.'239$this->source); })()), "attributes", [], "any"falsefalsefalse239), "dimensions", [], "any"falsefalsefalse239), "length", [], "any"falsefalsefalse239), "general.length"], 239$context$this->getSourceContext());
  609.                 echo "
  610.                                         ";
  611.                 // line 240
  612.                 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.'240$this->source); })()), "attributes", [], "any"falsefalsefalse240), "dimensions", [], "any"falsefalsefalse240), "width", [], "any"falsefalsefalse240), "general.width"], 240$context$this->getSourceContext());
  613.                 echo "
  614.                                         ";
  615.                 // line 241
  616.                 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.'241$this->source); })()), "attributes", [], "any"falsefalsefalse241), "dimensions", [], "any"falsefalsefalse241), "wheelbase", [], "any"falsefalsefalse241), "general.wheelbase"], 241$context$this->getSourceContext());
  617.                 echo "
  618.                                         ";
  619.                 // line 242
  620.                 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), "dimensions", [], "any"falsefalsefalse242), "weight", [], "any"falsefalsefalse242), "general.weight"], 242$context$this->getSourceContext());
  621.                 echo "
  622.                                     ";
  623.             }
  624.             // line 244
  625.             echo "
  626.                                     ";
  627.             // line 245
  628.             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.'245$this->source); })()), "attributes", [], "any"falsefalsefalse245), "bodywork", [], "any"falsefalsefalse245)) {
  629.                 // line 246
  630.                 echo "                                        ";
  631.                 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.'246$this->source); })()), "attributes", [], "any"falsefalsefalse246), "bodywork", [], "any"falsefalsefalse246), "numberOfDoors", [], "any"falsefalsefalse246), "general.numberOfDoors"], 246$context$this->getSourceContext());
  632.                 echo "
  633.                                         ";
  634.                 // line 247
  635.                 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.'247$this->source); })()), "attributes", [], "any"falsefalsefalse247), "bodywork", [], "any"falsefalsefalse247), "numberOfSeats", [], "any"falsefalsefalse247), "general.numberOfSeats"], 247$context$this->getSourceContext());
  636.                 echo "
  637.                                     ";
  638.             }
  639.             // line 249
  640.             echo "
  641.                                 </div>
  642.                             </div>
  643.                         </div>
  644.                     ";
  645.         }
  646.         // line 256
  647.         echo "                    ";
  648.         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.'256$this->source); })()), "attributes", [], "any"falsefalsefalse256), "engine", [], "any"falsefalsefalse256) || 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.'256$this->source); })()), "attributes", [], "any"falsefalsefalse256), "transmission", [], "any"falsefalsefalse256))) {
  649.             // line 257
  650.             echo "                        <div class=\"tab-pane fade\" id=\"engine\" role=\"tabpanel\" aria-labelledby=\"engine-tab\">
  651.                             <div class=\"m-3\">
  652.                                 <div class=\"row\">
  653.                                     ";
  654.             // line 263
  655.             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.'263$this->source); })()), "attributes", [], "any"falsefalsefalse263), "engine", [], "any"falsefalsefalse263)) {
  656.                 // line 264
  657.                 echo "                                        ";
  658.                 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.'264$this->source); })()), "attributes", [], "any"falsefalsefalse264), "engine", [], "any"falsefalsefalse264), "cylinders", [], "any"falsefalsefalse264), "general.cylinders"], 264$context$this->getSourceContext());
  659.                 echo "
  660.                                         ";
  661.                 // line 265
  662.                 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.'265$this->source); })()), "attributes", [], "any"falsefalsefalse265), "engine", [], "any"falsefalsefalse265), "capacity", [], "any"falsefalsefalse265), "general.capacity"], 265$context$this->getSourceContext());
  663.                 echo "
  664.                                         ";
  665.                 // line 266
  666.                 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.'266$this->source); })()), "attributes", [], "any"falsefalsefalse266), "engine", [], "any"falsefalsefalse266), "power", [], "any"falsefalsefalse266), "general.power"], 266$context$this->getSourceContext());
  667.                 echo "
  668.                                         ";
  669.                 // line 267
  670.                 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), "engine", [], "any"falsefalsefalse267), "engineLocation", [], "any"falsefalsefalse267), "general.engineLocation"], 267$context$this->getSourceContext());
  671.                 echo "
  672.                                     ";
  673.             }
  674.             // line 269
  675.             echo "
  676.                                     ";
  677.             // line 270
  678.             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.'270$this->source); })()), "attributes", [], "any"falsefalsefalse270), "transmission", [], "any"falsefalsefalse270)) {
  679.                 // line 271
  680.                 echo "                                        ";
  681.                 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.'271$this->source); })()), "attributes", [], "any"falsefalsefalse271), "transmission", [], "any"falsefalsefalse271), "wheelDrive", [], "any"falsefalsefalse271), "general.wheelDrive"true"attribute."], 271$context$this->getSourceContext());
  682.                 echo "
  683.                                     ";
  684.             }
  685.             // line 273
  686.             echo "
  687.                                 </div>
  688.                             </div>
  689.                         </div>
  690.                     ";
  691.         }
  692.         // line 280
  693.         echo "                </div>
  694.             </div>
  695.             ";
  696.         
  697.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  698.         
  699.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  700.     }
  701.     // line 285
  702.     public function block_productrelations($context, array $blocks = [])
  703.     {
  704.         $macros $this->macros;
  705.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  706.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""productrelations"));
  707.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  708.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""productrelations"));
  709.         // line 286
  710.         echo "                ";
  711.         $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.'286$this->source); })()), "accessories", [], "any"falsefalsefalse286);
  712.         // line 287
  713.         echo "
  714.                 ";
  715.         // line 288
  716.         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.'288$this->source); })()), "count", [], "any"falsefalsefalse288)) {
  717.             // line 289
  718.             echo "
  719.                     <hr>
  720.                     <div class=\"mt-5 col-12\">
  721.                         <h4 class=\"text-center\">";
  722.             // line 293
  723.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.accessories"), "html"nulltrue);
  724.             echo "</h4>
  725.                         <div class=\"row\">
  726.                             ";
  727.             // line 296
  728.             $context['_parent'] = $context;
  729.             $context['_seq'] = twig_ensure_traversable((isset($context["accessories"]) || array_key_exists("accessories"$context) ? $context["accessories"] : (function () { throw new RuntimeError('Variable "accessories" does not exist.'296$this->source); })()));
  730.             $context['loop'] = [
  731.               'parent' => $context['_parent'],
  732.               'index0' => 0,
  733.               'index'  => 1,
  734.               'first'  => true,
  735.             ];
  736.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  737.                 $length count($context['_seq']);
  738.                 $context['loop']['revindex0'] = $length 1;
  739.                 $context['loop']['revindex'] = $length;
  740.                 $context['loop']['length'] = $length;
  741.                 $context['loop']['last'] = === $length;
  742.             }
  743.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  744.                 // line 297
  745.                 echo "
  746.                                 <div class=\"col-md-3 d-flex align-items-stretch\">
  747.                                     ";
  748.                 // line 299
  749.                 $this->loadTemplate("product/product_teaser.html.twig""product/detail.html.twig"299)->display(twig_array_merge($context, ["product" => $context["item"]]));
  750.                 // line 300
  751.                 echo "                                </div>
  752.                             ";
  753.                 ++$context['loop']['index0'];
  754.                 ++$context['loop']['index'];
  755.                 $context['loop']['first'] = false;
  756.                 if (isset($context['loop']['length'])) {
  757.                     --$context['loop']['revindex0'];
  758.                     --$context['loop']['revindex'];
  759.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  760.                 }
  761.             }
  762.             $_parent $context['_parent'];
  763.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  764.             $context array_intersect_key($context$_parent) + $_parent;
  765.             // line 303
  766.             echo "                        </div>
  767.                     </div>
  768.                 ";
  769.         }
  770.         // line 308
  771.         echo "            ";
  772.         
  773.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  774.         
  775.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  776.     }
  777.     public function getTemplateName()
  778.     {
  779.         return "product/detail.html.twig";
  780.     }
  781.     public function isTraitable()
  782.     {
  783.         return false;
  784.     }
  785.     public function getDebugInfo()
  786.     {
  787.         return array (  873 => 308,  866 => 303,  850 => 300,  848 => 299,  844 => 297,  827 => 296,  821 => 293,  815 => 289,  813 => 288,  810 => 287,  807 => 286,  797 => 285,  784 => 280,  775 => 273,  769 => 271,  767 => 270,  764 => 269,  759 => 267,  755 => 266,  751 => 265,  746 => 264,  744 => 263,  736 => 257,  733 => 256,  724 => 249,  719 => 247,  714 => 246,  712 => 245,  709 => 244,  704 => 242,  700 => 241,  696 => 240,  691 => 239,  689 => 238,  681 => 232,  679 => 231,  671 => 225,  665 => 222,  661 => 221,  658 => 220,  656 => 219,  651 => 217,  648 => 216,  642 => 213,  638 => 212,  635 => 211,  633 => 210,  623 => 202,  617 => 199,  614 => 198,  611 => 197,  605 => 194,  602 => 193,  600 => 192,  595 => 190,  589 => 186,  579 => 185,  567 => 181,  561 => 179,  559 => 178,  554 => 176,  551 => 175,  541 => 174,  531 => 116,  524 => 112,  520 => 111,  513 => 107,  509 => 106,  505 => 104,  503 => 103,  500 => 102,  490 => 101,  477 => 97,  473 => 96,  469 => 94,  463 => 91,  459 => 90,  456 => 89,  453 => 88,  443 => 87,  430 => 82,  421 => 79,  417 => 78,  412 => 77,  408 => 76,  403 => 74,  400 => 73,  390 => 72,  380 => 52,  374 => 48,  362 => 42,  358 => 41,  353 => 38,  349 => 37,  344 => 34,  341 => 33,  338 => 32,  328 => 31,  314 => 309,  312 => 285,  309 => 284,  307 => 185,  304 => 184,  302 => 174,  288 => 163,  284 => 162,  279 => 160,  273 => 159,  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,);
  788.     }
  789.     public function getSourceContext()
  790.     {
  791.         return new Source("{# @var product \\App\\Model\\Product\\Car #}
  792. {% import 'product/macros.html.twig' as macros %}
  793. {% extends 'layouts/layout.html.twig' %}
  794. {% block content %}
  795.     <div id=\"main-content\" class=\"main-content\">
  796.         <div class=\"d-md-none mt-3\">
  797.             {% if(product.manufacturer and product.manufacturer.logo)  %}
  798.                 {{ product.manufacturer.logo.thumbnail('product_detail_manufacturer').getHTML({imgAttributes: {class: 'img-fluid float-right'}})|raw }}
  799.             {%  endif  %}
  800.             <div class=\"page-header\">
  801.                 <h1>{{ product.oSName }}</h1>
  802.             </div>
  803.         </div>
  804.         <div class=\"bg-white my-3\">
  805.             <div class=\"row\">
  806.                 <div class=\"col-md-6 mb-4\">
  807.                     {% if(product.mainImage) %}
  808.                         <div class=\"p-3\">
  809.                             <a href=\"{{ product.mainImage.getThumbnail('galleryLightbox')|raw }}\" class=\"thumbnail\">
  810.                                 {{ product.mainImage.thumbnail('product_detail').getHTML({imgAttributes: {class: 'img-thumbnail1 img-fluid'}})|raw }}
  811.                             </a>
  812.                             {% block additionalimages %}
  813.                                 {% set additionalImages = product.additionalImages %}
  814.                                 {%  if(additionalImages) %}
  815.                                     <div class=\"row\">
  816.                                         {% for image in additionalImages %}
  817.                                             <div class=\"col-4 mt-3\">
  818.                                                 <a href=\"{{ image.getThumbnail('galleryLightbox')|raw }}\" class=\"thumbnail\">
  819.                                                     {{ image.thumbnail('product_detail_small').getHTML({imgAttributes: {class: 'img-thumbnail1 img-fluid'}})|raw }}
  820.                                                 </a>
  821.                                             </div>
  822.                                         {% endfor %}
  823.                                     </div>
  824.                                 {%  endif %}
  825.                             {% endblock %}
  826.                         </div>
  827.                     {% endif %}
  828.                 </div>
  829.                 <div class=\"col-md-6 mb-4\">
  830.                     <div class=\"p-3 pt-4\">
  831.                         <div class=\"row d-none d-md-block mb-3\">
  832.                             <div class=\"col-12\">
  833.                                 {% if(product.manufacturer and product.manufacturer.logo)  %}
  834.                                     {{ product.manufacturer.logo.thumbnail('product_detail_manufacturer').getHTML({imgAttributes: {class: 'img-fluid float-right'}})|raw }}
  835.                                 {%  endif  %}
  836.                                 <h2 class=\"\">{{ product.oSName }}</h2>
  837.                             </div>
  838.                         </div>
  839.                         <div class=\"row\">
  840.                             {% block colorvariants %}
  841.                                 <dl class=\"item-property col-12\">
  842.                                     <dt>{{ 'general.color' | trans }}</dt>
  843.                                     <dd>
  844.                                         {% for colorVariant in product.colorVariants %}
  845.                                             <a href=\"{{ app_product_detaillink(colorVariant) }}\"
  846.                                                class=\"btn {{ product.id == colorVariant.id ? 'btn-primary' : 'btn-outline-primary' }}\">
  847.                                                 {{ colorVariant.color | colorname }}
  848.                                             </a>
  849.                                         {% endfor %}
  850.                                     </dd>
  851.                                 </dl>
  852.                             {% endblock %}
  853.                             {% block detailinfos %}
  854.                                 {% if(product.bodyStyle) %}
  855.                                     <dl class=\"item-property col-6\">
  856.                                         <dt>{{ 'general.body-style' | trans }}</dt>
  857.                                         <dd>{{ product.bodyStyle.name }}</dd>
  858.                                     </dl>
  859.                                 {% endif %}
  860.                                 <dl class=\"item-property col-6\">
  861.                                     <dt>{{ 'general.car-class' | trans }}</dt>
  862.                                     <dd>{{ ('attribute.' ~ product.carClass) | lower | trans }}</dd>
  863.                                 </dl>
  864.                             {% endblock %}
  865.                             {% block salesinfos %}
  866.                                 {% if product.saleInformation.saleInformation %}
  867.                                     <dl class=\"item-property col-6 mb-0\">
  868.                                         <dt>{{ 'general.condition' | trans }}</dt>
  869.                                         <dd>{{ ('attribute.' ~ product.saleInformation.saleInformation.condition) | lower | trans}}</dd>
  870.                                     </dl>
  871.                                     <dl class=\"item-property col-6 mb-0\">
  872.                                         <dt>{{ 'general.milage' | trans }}</dt>
  873.                                         <dd>{{ product.saleInformation.saleInformation.milage}}</dd>
  874.                                     </dl>
  875.                                 {% endif %}
  876.                             {% endblock %}
  877.                         </div>
  878.                         <hr/>
  879.                         <div class=\"mt-4 text-center\">
  880.                             {% set priceInfo = product.oSPriceInfo %}
  881.                             {% set price = product.oSPrice %}
  882.                             {% if(priceInfo.rules) %}
  883.                                 <div class=\"alert alert-success mb-4\" role=\"alert\">
  884.                                     <p class=\"small mb-2\"><strong>{{ 'general.your-benefits' | trans }}</strong></p>
  885.                                     <ul class=\"list-unstyled mb-0 small\">
  886.                                         {% for rule in priceInfo.rules %}
  887.                                             <li>{{ rule.label }}</li>
  888.                                         {% endfor %}
  889.                                     </ul>
  890.                                 </div>
  891.                             {% endif %}
  892.                             {% if(priceInfo.hasDiscount) %}
  893.                                 <p class=\"detail-price original mb-3\">{{ priceInfo.originalPrice }}</p>
  894.                             {% endif %}
  895.                             <p class=\"detail-price mb-2\">{{ price }}</p>
  896.                             <div class=\"detail-tax text-muted\">
  897.                                 <ul class=\"list-unstyled\">
  898.                                     {% for taxEntry in price.taxEntries %}
  899.                                         <li>{{ taxEntry.entry.name }}: {{ taxEntry.percent }}% ({{ taxEntry.amount.asNumeric | currency(price.currency.shortName) }})</li>
  900.                                     {% endfor %}
  901.                                 </ul>
  902.                             </div>
  903.                             {% if product.saleInformation.saleInformation %}
  904.                                 <p class=\"small text-muted mt-1\">{{ 'general.available-in' | trans }} {{ ('attribute.' ~ product.saleInformation.saleInformation.availabilityType) | lower | trans }}</p>
  905.                             {% endif %}
  906.                         </div>
  907.                         <form id=\"shop_add_to_cart_form_{{ product.id }}\" method=\"post\" action=\"{{ path('shop-add-to-cart', { id: product.id }) }}\">
  908.                             <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('addToCart') }}\">
  909.                             <a href=\"#\"
  910.                                onclick=\"document.getElementById('shop_add_to_cart_form_{{ product.id }}').submit();\"
  911.                                class=\"btn btn-success btn-block\">{{ 'general.add-to-cart' | trans }}</a>
  912.                         </form>
  913.                     </div>
  914.                 </div>
  915.             </div>
  916.             <hr>
  917.             {% block description %}
  918.                 <div class=\"mt-5 col-12 text-center\">
  919.                     <h4 class=\"text-center\">{{ 'general.additional-information' | trans }}</h4>
  920.                     {% if(product.description) %}
  921.                         <p>{{ product.description | raw }}</p>
  922.                     {% endif %}
  923.                 </div>
  924.             {% endblock %}
  925.             {% block attributes %}
  926.                 <div class=\"col-12\">
  927.                 <ul class=\"nav nav-tabs\" id=\"attributes\" role=\"tablist\">
  928.                     <li class=\"nav-item\">
  929.                         <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>
  930.                     </li>
  931.                     {% if(product.attributes.dimensions or product.attributes.bodywork) %}
  932.                         <li class=\"nav-item\">
  933.                             <a class=\"nav-link\" id=\"dimensions-tab\" data-toggle=\"tab\" href=\"#dimensions\" role=\"tab\" aria-controls=\"dimensions\" aria-selected=\"false\">{{ 'general.dimensions' | trans }}</a>
  934.                         </li>
  935.                     {% endif %}
  936.                     {% if(product.attributes.engine or product.attributes.transmission) %}
  937.                         <li class=\"nav-item\">
  938.                             <a class=\"nav-link\" id=\"engine-tab\" data-toggle=\"tab\" href=\"#engine\" role=\"tab\" aria-controls=\"engine\" aria-selected=\"false\">{{ 'general.engine' | trans }}</a>
  939.                         </li>
  940.                     {%  endif %}
  941.                 </ul>
  942.                 <div class=\"tab-content\" id=\"myTabContent\">
  943.                     <div class=\"tab-pane fade show active\" id=\"home\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
  944.                         <div class=\"m-3\">
  945.                             <div class=\"row\">
  946.                                 {% if(product.manufacturer) %}
  947.                                     <dl class=\"item-property col-6 col-md-3\">
  948.                                         <dt>{{ 'general.manufacturer' | trans }}</dt>
  949.                                         <dd>{{ product.manufacturer.name }}</dd>
  950.                                     </dl>
  951.                                 {% endif %}
  952.                                 {{ macros.attribute(product.productionYear, 'general.productionYear') }}
  953.                                 {% if(product.country) %}
  954.                                     <dl class=\"item-property col-6 col-md-3\">
  955.                                         <dt>{{ 'general.country' | trans }}</dt>
  956.                                         <dd>{{ product.country | country }}</dd>
  957.                                     </dl>
  958.                                 {% endif %}
  959.                             </div>
  960.                         </div>
  961.                     </div>
  962.                     {% if(product.attributes.dimensions or product.attributes.bodywork) %}
  963.                         <div class=\"tab-pane fade\" id=\"dimensions\" role=\"tabpanel\" aria-labelledby=\"dimensions-tab\">
  964.                             <div class=\"m-3\">
  965.                                 <div class=\"row\">
  966.                                     {% if(product.attributes.dimensions) %}
  967.                                         {{ macros.attribute(product.attributes.dimensions.length, 'general.length') }}
  968.                                         {{ macros.attribute(product.attributes.dimensions.width, 'general.width') }}
  969.                                         {{ macros.attribute(product.attributes.dimensions.wheelbase, 'general.wheelbase') }}
  970.                                         {{ macros.attribute(product.attributes.dimensions.weight, 'general.weight') }}
  971.                                     {%  endif %}
  972.                                     {% if(product.attributes.bodywork) %}
  973.                                         {{ macros.attribute(product.attributes.bodywork.numberOfDoors, 'general.numberOfDoors') }}
  974.                                         {{ macros.attribute(product.attributes.bodywork.numberOfSeats, 'general.numberOfSeats') }}
  975.                                     {%  endif %}
  976.                                 </div>
  977.                             </div>
  978.                         </div>
  979.                     {%  endif %}
  980.                     {% if(product.attributes.engine or product.attributes.transmission) %}
  981.                         <div class=\"tab-pane fade\" id=\"engine\" role=\"tabpanel\" aria-labelledby=\"engine-tab\">
  982.                             <div class=\"m-3\">
  983.                                 <div class=\"row\">
  984.                                     {% if(product.attributes.engine) %}
  985.                                         {{ macros.attribute(product.attributes.engine.cylinders, 'general.cylinders') }}
  986.                                         {{ macros.attribute(product.attributes.engine.capacity, 'general.capacity') }}
  987.                                         {{ macros.attribute(product.attributes.engine.power, 'general.power') }}
  988.                                         {{ macros.attribute(product.attributes.engine.engineLocation, 'general.engineLocation') }}
  989.                                     {%  endif %}
  990.                                     {% if(product.attributes.transmission) %}
  991.                                         {{ macros.attribute(product.attributes.transmission.wheelDrive, 'general.wheelDrive', true, 'attribute.') }}
  992.                                     {%  endif %}
  993.                                 </div>
  994.                             </div>
  995.                         </div>
  996.                     {%  endif %}
  997.                 </div>
  998.             </div>
  999.             {% endblock %}
  1000.             {% block productrelations %}
  1001.                 {% set accessories = product.accessories %}
  1002.                 {%  if(accessories.count) %}
  1003.                     <hr>
  1004.                     <div class=\"mt-5 col-12\">
  1005.                         <h4 class=\"text-center\">{{ 'general.accessories' | trans }}</h4>
  1006.                         <div class=\"row\">
  1007.                             {% for item in accessories %}
  1008.                                 <div class=\"col-md-3 d-flex align-items-stretch\">
  1009.                                     {% include 'product/product_teaser.html.twig' with {'product': item} %}
  1010.                                 </div>
  1011.                             {% endfor %}
  1012.                         </div>
  1013.                     </div>
  1014.                 {% endif %}
  1015.             {% endblock %}
  1016.         </div>
  1017.     </div>
  1018. {% endblock %}""product/detail.html.twig""/www/htdocs/w0189996/pimcore-demo/templates/product/detail.html.twig");
  1019.     }
  1020. }