var/cache/dev/twig/a7/a7801efa76bea4bd56eccbe86867ea8d.php line 42

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. /* @CoreShopFrontend/Product/detail.html.twig */
  14. class __TwigTemplate_a58d9eae49d193a4903f0359f9975ddf 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.             'scripts' => [$this'block_scripts'],
  25.             'head_stylesheets' => [$this'block_head_stylesheets'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@CoreShopFrontend/layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CoreShopFrontend/Product/detail.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CoreShopFrontend/Product/detail.html.twig"));
  42.         // line 2
  43.         $macros["product_price"] = $this->macros["product_price"] = $this->loadTemplate("@CoreShopFrontend/Common/Macro/product_price.html.twig""@CoreShopFrontend/Product/detail.html.twig"2)->unwrap();
  44.         // line 3
  45.         $macros["currency"] = $this->macros["currency"] = $this->loadTemplate("@CoreShopFrontend/Common/Macro/currency.html.twig""@CoreShopFrontend/Product/detail.html.twig"3)->unwrap();
  46.         // line 1
  47.         $this->parent $this->loadTemplate("@CoreShopFrontend/layout.html.twig""@CoreShopFrontend/Product/detail.html.twig"1);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 5
  55.     public function block_content($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  62.         // line 6
  63.         echo "    ";
  64.         $context["cart_allowed"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("CORESHOP_CART_ADD_ITEM");
  65.         // line 7
  66.         echo "    ";
  67.         $context["wishlist_allowed"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("CORESHOP_WISHLIST_ADD_ITEM");
  68.         // line 8
  69.         echo "    ";
  70.         $context["discounted"] = $this->env->getFilter('coreshop_product_discount_price')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'8$this->source); })()), 8$this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["coreshop"]) || array_key_exists("coreshop"$context) ? $context["coreshop"] : (function () { throw new RuntimeError('Variable "coreshop" does not exist.'8$this->source); })()), "context", [], "any"falsefalsetrue8), 8$this->source));
  71.         // line 9
  72.         echo "    <div class=\"container\" id=\"productPageHeader\">
  73.         <div class=\"row product-page-row\">
  74.             <div class=\"col-12 col-md-8\">
  75.                 ";
  76.         // line 12
  77.         $context["logo"] = $this->extensions['App\Twig\Extension\ProductLogoExtension']->productLogo($this->sandbox->ensureToStringAllowed((isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'12$this->source); })()), 12$this->source));
  78.         // line 13
  79.         echo "                ";
  80.         if ( !(null === (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'13$this->source); })()))) {
  81.             // line 14
  82.             echo "                    <img src=\"";
  83.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/themes/frontend/images/productlogo-details/" $this->sandbox->ensureToStringAllowed((isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'14$this->source); })()), 14$this->source))), "html"nulltrue);
  84.             echo "\"
  85.                          alt=\"";
  86.             // line 15
  87.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'15$this->source); })()), "getCollection", [], "method"falsefalsetrue15), 15$this->source), "html"nulltrue);
  88.             echo "\">
  89.                 ";
  90.         }
  91.         // line 17
  92.         echo "                <h2>
  93.                     ";
  94.         // line 18
  95.         if ((twig_lower_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.'18$this->source); })()), "getBrand", [], "method"falsefalsetrue18)) == "grand seiko")) {
  96.             // line 19
  97.             echo "                        ";
  98.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'19$this->source); })()), "getCollection", [], "method"falsefalsetrue19), 19$this->source), "html"nulltrue);
  99.             echo " ";
  100.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'19$this->source); })()), "getSubCollection", [], "method"falsefalsetrue19), 19$this->source), "html"nulltrue);
  101.             echo "
  102.                     ";
  103.         } else {
  104.             // line 21
  105.             echo "                        ";
  106.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'21$this->source); })()), "getSubCollection", [], "method"falsefalsetrue21), 21$this->source), "html"nulltrue);
  107.             echo "
  108.                     ";
  109.         }
  110.         // line 23
  111.         echo "                </h2>
  112.                 ";
  113.         // line 24
  114.         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); })()), "uniqueName", [], "any"falsefalsetrue24)) {
  115.             // line 25
  116.             echo "                    <ul class=\"prod_unique_name\">
  117.                         <li>";
  118.             // line 26
  119.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'26$this->source); })()), "uniqueName", [], "any"falsefalsetrue26), 26$this->source), "html"nulltrue);
  120.             echo "</li>
  121.                     </ul>
  122.                 ";
  123.         }
  124.         // line 30
  125.         echo "                <ul class=\"prodIds\">
  126.                     <li class=\"first\"><span>Referenciaszám:</span> ";
  127.         // line 31
  128.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'31$this->source); })()), "sku", [], "any"falsefalsetrue31), 31$this->source), "html"nulltrue);
  129.         echo "</li>
  130.                     ";
  131.         // line 32
  132.         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.'32$this->source); })()), "getCaliberNumber", [], "method"falsefalsetrue32)) {
  133.             // line 33
  134.             echo "                        <li><span>Szerkezet:</span> ";
  135.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'33$this->source); })()), "getCalibernumber", [], "method"falsefalsetrue33), "getName", [], "method"falsefalsetrue33), 33$this->source), "html"nulltrue);
  136.             echo "</li>
  137.                     ";
  138.         }
  139.         // line 35
  140.         echo "                    ";
  141.         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.'35$this->source); })()), "businessClass", [], "any"falsefalsetrue35) == "Seiko Boutique")) {
  142.             // line 36
  143.             echo "                        <li class=\"color-golden\"> Boutique Exkluzív</li>
  144.                     ";
  145.         }
  146.         // line 38
  147.         echo "                </ul>
  148.                 <ul class=\"prodIds\">
  149.                     <li class=\"first\">
  150.                         <span>Elérhetőség:</span> ";
  151.         // line 41
  152.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["availabilityOptions"] ?? null), 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.'41$this->source); })()), "getAvailability", [], "method"falsefalsetrue41), [], "array"truetruetrue41)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["availabilityOptions"] ?? null), 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.'41$this->source); })()), "getAvailability", [], "method"falsefalsetrue41), [], "array"falsefalsetrue41), 41$this->source), "-")) : ("-")), "html"nulltrue);
  153.         if ((isset($context["availabilityExtra"]) || array_key_exists("availabilityExtra"$context) ? $context["availabilityExtra"] : (function () { throw new RuntimeError('Variable "availabilityExtra" does not exist.'41$this->source); })())) {
  154.             // line 42
  155.             echo "                            <span>";
  156.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["availabilityExtra"]) || array_key_exists("availabilityExtra"$context) ? $context["availabilityExtra"] : (function () { throw new RuntimeError('Variable "availabilityExtra" does not exist.'42$this->source); })()), 42$this->source), "html"nulltrue);
  157.             echo "</span>";
  158.         }
  159.         echo "</li>
  160.                 </ul>
  161.                 <h3><span></span></h3>
  162.             </div>
  163.             <div class=\"col-12 col-md-4 text-right\">
  164.                 <div class=\"price-row-logo d-flex justify-content-end upper-row\">
  165.                     ";
  166.         // line 48
  167.         if ((isset($context["discounted"]) || array_key_exists("discounted"$context) ? $context["discounted"] : (function () { throw new RuntimeError('Variable "discounted" does not exist.'48$this->source); })())) {
  168.             // line 49
  169.             echo "                        <p class=\"crossed-price\">";
  170.             echo twig_call_macro($macros["currency"], "macro_getRetailPrice", [(isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'49$this->source); })())], 49$context$this->getSourceContext());
  171.             echo "</p>
  172.                         <p class=\"retail-price\">";
  173.             // line 50
  174.             echo twig_call_macro($macros["currency"], "macro_getDiscountPrice", [(isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'50$this->source); })())], 50$context$this->getSourceContext());
  175.             echo "</p>
  176.                     ";
  177.         } else {
  178.             // line 52
  179.             echo "                        <p class=\"retail-price\">";
  180.             echo twig_call_macro($macros["currency"], "macro_getRetailPrice", [(isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'52$this->source); })())], 52$context$this->getSourceContext());
  181.             echo "</p>
  182.                     ";
  183.         }
  184.         // line 54
  185.         echo "                </div>
  186.                 <div class=\"row p-0 rowmobview\">
  187.                     ";
  188.         // line 56
  189.         $this->loadTemplate("@CoreShopFrontend/Product/_manage_buttons.html.twig""@CoreShopFrontend/Product/detail.html.twig"56)->display(twig_array_merge($context, ["large" => false]));
  190.         // line 57
  191.         echo "                </div>
  192.             </div>
  193.             <div class=\"col-12\" id=\"product-page-text\">
  194.                 <p>";
  195.         // line 60
  196.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'60$this->source); })()), "shortDescription", [], "method"falsefalsetrue60), 60$this->source), "html"nulltrue);
  197.         echo "</p>
  198.             </div>
  199.         </div>
  200.     </div>
  201.     <div class=\"container gallery-container\">
  202.         ";
  203.         // line 65
  204.         if ((twig_length_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.'65$this->source); })()), "getImages", [], "method"falsefalsetrue65)) > 0)) {
  205.             // line 66
  206.             echo "            <div class=\"row gallery-row\">
  207.                 ";
  208.             // line 67
  209.             $context["imgmain"] = null;
  210.             // line 68
  211.             echo "                ";
  212.             $context["imgleft"] = [];
  213.             // line 69
  214.             echo "                ";
  215.             $context["imgright"] = [];
  216.             // line 70
  217.             echo "                ";
  218.             $context["i"] = 0;
  219.             // line 71
  220.             echo "                ";
  221.             $context['_parent'] = $context;
  222.             $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.'71$this->source); })()), "getImages", [], "method"falsefalsetrue71));
  223.             foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  224.                 // line 72
  225.                 echo "                    ";
  226.                 if (((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'72$this->source); })()) == 0)) {
  227.                     // line 73
  228.                     echo "                        ";
  229.                     $context["imgmain"] = $context["image"];
  230.                     // line 74
  231.                     echo "                    ";
  232.                 } elseif ((((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'74$this->source); })()) % 2) == 0)) {
  233.                     // line 75
  234.                     echo "                        ";
  235.                     $context["imgleft"] = twig_array_merge($this->sandbox->ensureToStringAllowed((isset($context["imgleft"]) || array_key_exists("imgleft"$context) ? $context["imgleft"] : (function () { throw new RuntimeError('Variable "imgleft" does not exist.'75$this->source); })()), 75$this->source), [$context["image"]]);
  236.                     // line 76
  237.                     echo "                    ";
  238.                 } else {
  239.                     // line 77
  240.                     echo "                        ";
  241.                     $context["imgright"] = twig_array_merge($this->sandbox->ensureToStringAllowed((isset($context["imgright"]) || array_key_exists("imgright"$context) ? $context["imgright"] : (function () { throw new RuntimeError('Variable "imgright" does not exist.'77$this->source); })()), 77$this->source), [$context["image"]]);
  242.                     // line 78
  243.                     echo "                    ";
  244.                 }
  245.                 // line 79
  246.                 echo "                    ";
  247.                 $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'79$this->source); })()) + 1);
  248.                 // line 80
  249.                 echo "                ";
  250.             }
  251.             $_parent $context['_parent'];
  252.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  253.             $context array_intersect_key($context$_parent) + $_parent;
  254.             // line 81
  255.             echo "
  256.                 ";
  257.             // line 82
  258.             if ((isset($context["imgleft"]) || array_key_exists("imgleft"$context) ? $context["imgleft"] : (function () { throw new RuntimeError('Variable "imgleft" does not exist.'82$this->source); })())) {
  259.                 // line 83
  260.                 echo "                    <div class=\"col gallery-left-side-image\">
  261.                         ";
  262.                 // line 84
  263.                 $context['_parent'] = $context;
  264.                 $context['_seq'] = twig_ensure_traversable((isset($context["imgleft"]) || array_key_exists("imgleft"$context) ? $context["imgleft"] : (function () { throw new RuntimeError('Variable "imgleft" does not exist.'84$this->source); })()));
  265.                 $context['loop'] = [
  266.                   'parent' => $context['_parent'],
  267.                   'index0' => 0,
  268.                   'index'  => 1,
  269.                   'first'  => true,
  270.                 ];
  271.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  272.                     $length count($context['_seq']);
  273.                     $context['loop']['revindex0'] = $length 1;
  274.                     $context['loop']['revindex'] = $length;
  275.                     $context['loop']['length'] = $length;
  276.                     $context['loop']['last'] = === $length;
  277.                 }
  278.                 foreach ($context['_seq'] as $context["_key"] => $context["asset"]) {
  279.                     // line 85
  280.                     echo "                            ";
  281.                     $this->loadTemplate("@CoreShopFrontend/Product/_asset_item.html.twig""@CoreShopFrontend/Product/detail.html.twig"85)->display(twig_array_merge($context, ["fancyId" => "gallery"]));
  282.                     // line 86
  283.                     echo "                        ";
  284.                     ++$context['loop']['index0'];
  285.                     ++$context['loop']['index'];
  286.                     $context['loop']['first'] = false;
  287.                     if (isset($context['loop']['length'])) {
  288.                         --$context['loop']['revindex0'];
  289.                         --$context['loop']['revindex'];
  290.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  291.                     }
  292.                 }
  293.                 $_parent $context['_parent'];
  294.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset'], $context['_parent'], $context['loop']);
  295.                 $context array_intersect_key($context$_parent) + $_parent;
  296.                 // line 87
  297.                 echo "                    </div>
  298.                 ";
  299.             }
  300.             // line 89
  301.             echo "                ";
  302.             if ((isset($context["imgmain"]) || array_key_exists("imgmain"$context) ? $context["imgmain"] : (function () { throw new RuntimeError('Variable "imgmain" does not exist.'89$this->source); })())) {
  303.                 // line 90
  304.                 echo "                    ";
  305.                 // line 91
  306.                 echo "                    <div class=\"col gallery-main-image\">
  307.                         <a href=\"";
  308.                 // line 92
  309.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["imgmain"]) || array_key_exists("imgmain"$context) ? $context["imgmain"] : (function () { throw new RuntimeError('Variable "imgmain" does not exist.'92$this->source); })()), "fullPath", [], "any"falsefalsetrue92), 92$this->source), "html"nulltrue);
  310.                 echo "\" data-fancybox=\"gallery_small\">
  311.                             ";
  312.                 // line 93
  313.                 if ($this->env->getTest('instanceof')->getCallable()((isset($context["imgmain"]) || array_key_exists("imgmain"$context) ? $context["imgmain"] : (function () { throw new RuntimeError('Variable "imgmain" does not exist.'93$this->source); })()), "Pimcore\\Model\\Asset\\Image")) {
  314.                     // line 94
  315.                     echo "                                ";
  316.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["imgmain"]) || array_key_exists("imgmain"$context) ? $context["imgmain"] : (function () { throw new RuntimeError('Variable "imgmain" does not exist.'94$this->source); })()), "thumbnail", ["seiko_productDetails"], "method"falsefalsetrue94), "getHtml", [["imgAttributes" => ["alt" => twig_get_attribute($this->env$this->source,                     // line 96
  317. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'96$this->source); })()), "getSku", [], "method"falsefalsetrue96), "class" => "img-fluid"]]], "method"falsefalsetrue94), 94$this->source);
  318.                     // line 99
  319.                     echo "
  320.                             ";
  321.                 }
  322.                 // line 101
  323.                 echo "                        </a>
  324.                     </div>
  325.                 ";
  326.             }
  327.             // line 104
  328.             echo "                ";
  329.             if ((isset($context["imgright"]) || array_key_exists("imgright"$context) ? $context["imgright"] : (function () { throw new RuntimeError('Variable "imgright" does not exist.'104$this->source); })())) {
  330.                 // line 105
  331.                 echo "                    <div class=\"col gallery-right-side-image\">
  332.                         ";
  333.                 // line 106
  334.                 $context['_parent'] = $context;
  335.                 $context['_seq'] = twig_ensure_traversable((isset($context["imgright"]) || array_key_exists("imgright"$context) ? $context["imgright"] : (function () { throw new RuntimeError('Variable "imgright" does not exist.'106$this->source); })()));
  336.                 $context['loop'] = [
  337.                   'parent' => $context['_parent'],
  338.                   'index0' => 0,
  339.                   'index'  => 1,
  340.                   'first'  => true,
  341.                 ];
  342.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  343.                     $length count($context['_seq']);
  344.                     $context['loop']['revindex0'] = $length 1;
  345.                     $context['loop']['revindex'] = $length;
  346.                     $context['loop']['length'] = $length;
  347.                     $context['loop']['last'] = === $length;
  348.                 }
  349.                 foreach ($context['_seq'] as $context["_key"] => $context["asset"]) {
  350.                     // line 107
  351.                     echo "                            ";
  352.                     $this->loadTemplate("@CoreShopFrontend/Product/_asset_item.html.twig""@CoreShopFrontend/Product/detail.html.twig"107)->display(twig_array_merge($context, ["fancyId" => "gallery"]));
  353.                     // line 108
  354.                     echo "                        ";
  355.                     ++$context['loop']['index0'];
  356.                     ++$context['loop']['index'];
  357.                     $context['loop']['first'] = false;
  358.                     if (isset($context['loop']['length'])) {
  359.                         --$context['loop']['revindex0'];
  360.                         --$context['loop']['revindex'];
  361.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  362.                     }
  363.                 }
  364.                 $_parent $context['_parent'];
  365.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset'], $context['_parent'], $context['loop']);
  366.                 $context array_intersect_key($context$_parent) + $_parent;
  367.                 // line 109
  368.                 echo "                    </div>
  369.                 ";
  370.             }
  371.             // line 111
  372.             echo "
  373.                 ";
  374.             // line 112
  375.             if (((isset($context["imgleft"]) || array_key_exists("imgleft"$context) ? $context["imgleft"] : (function () { throw new RuntimeError('Variable "imgleft" does not exist.'112$this->source); })()) || (isset($context["imgright"]) || array_key_exists("imgright"$context) ? $context["imgright"] : (function () { throw new RuntimeError('Variable "imgright" does not exist.'112$this->source); })()))) {
  376.                 // line 113
  377.                 echo "                    <div class=\"gallery-small-side-image\">
  378.                         ";
  379.                 // line 114
  380.                 $context['_parent'] = $context;
  381.                 $context['_seq'] = twig_ensure_traversable((isset($context["imgleft"]) || array_key_exists("imgleft"$context) ? $context["imgleft"] : (function () { throw new RuntimeError('Variable "imgleft" does not exist.'114$this->source); })()));
  382.                 $context['loop'] = [
  383.                   'parent' => $context['_parent'],
  384.                   'index0' => 0,
  385.                   'index'  => 1,
  386.                   'first'  => true,
  387.                 ];
  388.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  389.                     $length count($context['_seq']);
  390.                     $context['loop']['revindex0'] = $length 1;
  391.                     $context['loop']['revindex'] = $length;
  392.                     $context['loop']['length'] = $length;
  393.                     $context['loop']['last'] = === $length;
  394.                 }
  395.                 foreach ($context['_seq'] as $context["_key"] => $context["asset"]) {
  396.                     // line 115
  397.                     echo "                            ";
  398.                     $this->loadTemplate("@CoreShopFrontend/Product/_asset_item.html.twig""@CoreShopFrontend/Product/detail.html.twig"115)->display(twig_array_merge($context, ["fancyId" => "gallery_small"]));
  399.                     // line 116
  400.                     echo "                        ";
  401.                     ++$context['loop']['index0'];
  402.                     ++$context['loop']['index'];
  403.                     $context['loop']['first'] = false;
  404.                     if (isset($context['loop']['length'])) {
  405.                         --$context['loop']['revindex0'];
  406.                         --$context['loop']['revindex'];
  407.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  408.                     }
  409.                 }
  410.                 $_parent $context['_parent'];
  411.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset'], $context['_parent'], $context['loop']);
  412.                 $context array_intersect_key($context$_parent) + $_parent;
  413.                 // line 117
  414.                 echo "                        ";
  415.                 $context['_parent'] = $context;
  416.                 $context['_seq'] = twig_ensure_traversable((isset($context["imgright"]) || array_key_exists("imgright"$context) ? $context["imgright"] : (function () { throw new RuntimeError('Variable "imgright" does not exist.'117$this->source); })()));
  417.                 $context['loop'] = [
  418.                   'parent' => $context['_parent'],
  419.                   'index0' => 0,
  420.                   'index'  => 1,
  421.                   'first'  => true,
  422.                 ];
  423.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  424.                     $length count($context['_seq']);
  425.                     $context['loop']['revindex0'] = $length 1;
  426.                     $context['loop']['revindex'] = $length;
  427.                     $context['loop']['length'] = $length;
  428.                     $context['loop']['last'] = === $length;
  429.                 }
  430.                 foreach ($context['_seq'] as $context["_key"] => $context["asset"]) {
  431.                     // line 118
  432.                     echo "                            ";
  433.                     $this->loadTemplate("@CoreShopFrontend/Product/_asset_item.html.twig""@CoreShopFrontend/Product/detail.html.twig"118)->display(twig_array_merge($context, ["fancyId" => "gallery_small"]));
  434.                     // line 119
  435.                     echo "                        ";
  436.                     ++$context['loop']['index0'];
  437.                     ++$context['loop']['index'];
  438.                     $context['loop']['first'] = false;
  439.                     if (isset($context['loop']['length'])) {
  440.                         --$context['loop']['revindex0'];
  441.                         --$context['loop']['revindex'];
  442.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  443.                     }
  444.                 }
  445.                 $_parent $context['_parent'];
  446.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['asset'], $context['_parent'], $context['loop']);
  447.                 $context array_intersect_key($context$_parent) + $_parent;
  448.                 // line 120
  449.                 echo "                    </div>
  450.                 ";
  451.             }
  452.             // line 122
  453.             echo "            </div>
  454.         ";
  455.         } else {
  456.             // line 124
  457.             echo "            <div class=\"row gallery-row center\">
  458.                 <div class=\"default-image-container\">
  459.                     <img
  460.                         src=\"";
  461.             // line 127
  462.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["default_image_path"]) || array_key_exists("default_image_path"$context) ? $context["default_image_path"] : (function () { throw new RuntimeError('Variable "default_image_path" does not exist.'127$this->source); })()), "product", [], "any"falsefalsetrue127), 127$this->source), "html"nulltrue);
  463.             echo "\"
  464.                         alt=\"";
  465.             // line 128
  466.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'128$this->source); })()), "getSku", [], "method"falsefalsetrue128), 128$this->source), "html"nulltrue);
  467.             echo "\"
  468.                         width=\"300\" height=\"430\" loading=\"lazy\"
  469.                     />
  470.                 </div>
  471.             </div>
  472.         ";
  473.         }
  474.         // line 134
  475.         echo "    </div>
  476.     ";
  477.         // line 165
  478.         echo "
  479.     ";
  480.         // line 166
  481.         if ((twig_length_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.'166$this->source); })()), "videos", [], "any"falsefalsetrue166)) > 0)) {
  482.             // line 167
  483.             echo "        <div class=\"container product-media-container gallery-container\">
  484.             ";
  485.             // line 168
  486.             $context["isOneVideo"] = (twig_length_filter($this->env$this->sandbox->ensureToStringAllowed(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.'168$this->source); })()), "videos", [], "any"falsefalsetrue168), 168$this->source)) == 1);
  487.             // line 169
  488.             echo "            <div class=\"swiper video_swiper\">
  489.                 ";
  490.             // line 170
  491.             $context["videos"] = [...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.'170$this->source); })()), "videos", [], "any"falsefalsetrue170)];
  492.             // line 171
  493.             echo "                <div class=\"swiper-wrapper\">
  494.                     ";
  495.             // line 172
  496.             $context['_parent'] = $context;
  497.             $context['_seq'] = twig_ensure_traversable((isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'172$this->source); })()));
  498.             foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  499.                 // line 173
  500.                 echo "                        ";
  501.                 if ($this->env->getTest('instanceof')->getCallable()($context["video"], "Pimcore\\Model\\DataObject\\ExternalMedia")) {
  502.                     // line 174
  503.                     echo "                            <div class=\"swiper-slide flex-center-forced\">
  504.                                 ";
  505.                     // line 175
  506.                     if ((twig_get_attribute($this->env$this->source$context["video"], "source", [], "any"falsefalsetrue175) == "youtube")) {
  507.                         // line 176
  508.                         echo "                                    <a href=\"";
  509.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["video"], "content", [], "any"falsefalsetrue176), 176$this->source), "html"nulltrue);
  510.                         echo "\" data-fancybox=\"video_gallery\">
  511.                                         ";
  512.                         // line 177
  513.                         if ($this->env->getTest('instanceof')->getCallable()(twig_get_attribute($this->env$this->source$context["video"], "thumbnail", [], "any"falsefalsetrue177), "Pimcore\\Model\\Asset\\Image")) {
  514.                             // line 178
  515.                             echo "                                            ";
  516.                             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["video"], "thumbnail", [], "any"falsefalsetrue178), "thumbnail", ["seiko_VideoThumbnail"], "method"falsefalsetrue178), "getHtml", [["imgAttributes" => ["alt" => twig_get_attribute($this->env$this->source,                             // line 180
  517. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'180$this->source); })()), "getSku", [], "method"falsefalsetrue180), "class" => "img-fluid"]]], "method"falsefalsetrue178), 178$this->source);
  518.                             // line 183
  519.                             echo "
  520.                                         ";
  521.                         }
  522.                         // line 185
  523.                         echo "                                    </a>
  524.                                 ";
  525.                     }
  526.                     // line 187
  527.                     echo "                            </div>
  528.                         ";
  529.                 }
  530.                 // line 189
  531.                 echo "                    ";
  532.             }
  533.             $_parent $context['_parent'];
  534.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  535.             $context array_intersect_key($context$_parent) + $_parent;
  536.             // line 190
  537.             echo "                </div>
  538.                 <div class=\"swiper-pagination\"></div>
  539.                 <div class=\"swiper-button-prev\"></div>
  540.                 <div class=\"swiper-button-next\"></div>
  541.             </div>
  542.         </div>
  543.     ";
  544.         }
  545.         // line 197
  546.         echo "
  547.     <div class=\"container\">
  548.         <div class=\"row product-grid-template\">
  549.             <div class=\"row specification-row\">
  550.                 <span class=\"row-title\">Specifikáció</span>
  551.                 <div class=\"row data-row\">
  552.                     ";
  553.         // line 203
  554.         $context['_parent'] = $context;
  555.         $context['_seq'] = twig_ensure_traversable((isset($context["specification"]) || array_key_exists("specification"$context) ? $context["specification"] : (function () { throw new RuntimeError('Variable "specification" does not exist.'203$this->source); })()));
  556.         foreach ($context['_seq'] as $context["parameter"] => $context["options"]) {
  557.             // line 204
  558.             echo "                        ";
  559.             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.'204$this->source); })()), "get", [$context["parameter"]], "method"falsefalsetrue204)) {
  560.                 // line 205
  561.                 echo "                            <div class=\"data-row-element\">
  562.                                 <span>";
  563.                 // line 206
  564.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("coreshop.details." $this->sandbox->ensureToStringAllowed($context["parameter"], 206$this->source))), "html"nulltrue);
  565.                 echo "</span>
  566.                                 <span class=\"end-data\">
  567.                                     ";
  568.                 // line 208
  569.                 if (twig_get_attribute($this->env$this->source$context["options"], "format", [], "any"truetruetrue208)) {
  570.                     // line 209
  571.                     echo "                                        ";
  572.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\FormatAttribute']->callFormatter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["options"], "format", [], "any"falsefalsetrue209), 209$this->source), $this->sandbox->ensureToStringAllowed((isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'209$this->source); })()), 209$this->source)), "html"nulltrue);
  573.                     echo "
  574.                                     ";
  575.                 } else {
  576.                     // line 211
  577.                     echo "                                        ";
  578.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'211$this->source); })()), "get", [$context["parameter"]], "method"falsefalsetrue211), 211$this->source), "html"nulltrue);
  579.                     echo "
  580.                                         ";
  581.                     // line 212
  582.                     if (twig_get_attribute($this->env$this->source$context["options"], "append", [], "any"truetruetrue212)) {
  583.                         // line 213
  584.                         echo "                                            ";
  585.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["options"], "append", [], "any"falsefalsetrue213), 213$this->source), "html"nulltrue);
  586.                         echo "
  587.                                         ";
  588.                     }
  589.                     // line 215
  590.                     echo "                                    ";
  591.                 }
  592.                 // line 216
  593.                 echo "                                </span>
  594.                             </div>
  595.                         ";
  596.             }
  597.             // line 219
  598.             echo "                    ";
  599.         }
  600.         $_parent $context['_parent'];
  601.         unset($context['_seq'], $context['_iterated'], $context['parameter'], $context['options'], $context['_parent'], $context['loop']);
  602.         $context array_intersect_key($context$_parent) + $_parent;
  603.         // line 220
  604.         echo "                </div>
  605.             </div>
  606.             <div class=\"row price-row\">
  607.                 <div class=\"row data-row\">
  608.                     <div class=\"price-row-top-element\">
  609.                         ";
  610.         // line 225
  611.         $context["logo"] = $this->extensions['App\Twig\Extension\ProductLogoExtension']->productLogo($this->sandbox->ensureToStringAllowed((isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'225$this->source); })()), 225$this->source));
  612.         // line 226
  613.         echo "                        ";
  614.         if ( !(null === (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'226$this->source); })()))) {
  615.             // line 227
  616.             echo "                            <div class=\"price-row-logo\">
  617.                                 <img src=\"";
  618.             // line 228
  619.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/themes/frontend/images/productlogo-details/" $this->sandbox->ensureToStringAllowed((isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'228$this->source); })()), 228$this->source))), "html"nulltrue);
  620.             echo "\"
  621.                                      alt=\"";
  622.             // line 229
  623.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'229$this->source); })()), "getCollection", [], "method"falsefalsetrue229), 229$this->source), "html"nulltrue);
  624.             echo "\">
  625.                             </div>
  626.                         ";
  627.         }
  628.         // line 232
  629.         echo "                        <div class=\"price-row-text\">
  630.                             <ul>
  631.                                 <li><span>Ref: ";
  632.         // line 234
  633.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'234$this->source); })()), "sku", [], "any"falsefalsetrue234), 234$this->source), "html"nulltrue);
  634.         echo "</span></li>
  635.                                 <li>Elérhetőség: ";
  636.         // line 235
  637.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["availabilityOptions"] ?? null), 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.'235$this->source); })()), "getAvailability", [], "method"falsefalsetrue235), [], "array"truetruetrue235)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["availabilityOptions"] ?? null), 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.'235$this->source); })()), "getAvailability", [], "method"falsefalsetrue235), [], "array"falsefalsetrue235), 235$this->source), "-")) : ("-")), "html"nulltrue);
  638.         echo "<br>
  639.                                     ";
  640.         // line 236
  641.         if ((isset($context["availabilityExtra"]) || array_key_exists("availabilityExtra"$context) ? $context["availabilityExtra"] : (function () { throw new RuntimeError('Variable "availabilityExtra" does not exist.'236$this->source); })())) {
  642.             echo " ";
  643.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["availabilityExtra"]) || array_key_exists("availabilityExtra"$context) ? $context["availabilityExtra"] : (function () { throw new RuntimeError('Variable "availabilityExtra" does not exist.'236$this->source); })()), 236$this->source), "html"nulltrue);
  644.         }
  645.         // line 237
  646.         echo "                                </li>
  647.                             </ul>
  648.                         </div>
  649.                     </div>
  650.                     <div class=\"price-row-bottom-element\">
  651.                         <div class=\"price-row-logo d-flex\">
  652.                             ";
  653.         // line 243
  654.         if ((isset($context["discounted"]) || array_key_exists("discounted"$context) ? $context["discounted"] : (function () { throw new RuntimeError('Variable "discounted" does not exist.'243$this->source); })())) {
  655.             // line 244
  656.             echo "                                <p class=\"crossed-price\">";
  657.             echo twig_call_macro($macros["currency"], "macro_getRetailPrice", [(isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'244$this->source); })())], 244$context$this->getSourceContext());
  658.             echo "</p>
  659.                                 <p class=\"retail-price\">";
  660.             // line 245
  661.             echo twig_call_macro($macros["currency"], "macro_getDiscountPrice", [(isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'245$this->source); })())], 245$context$this->getSourceContext());
  662.             echo "</p>
  663.                             ";
  664.         } else {
  665.             // line 247
  666.             echo "                                <p class=\"retail-price\">";
  667.             echo twig_call_macro($macros["currency"], "macro_getRetailPrice", [(isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'247$this->source); })())], 247$context$this->getSourceContext());
  668.             echo "</p>
  669.                             ";
  670.         }
  671.         // line 249
  672.         echo "                        </div>
  673.                         <div class=\"row p-0\" id=\"productSpecs\">
  674.                             ";
  675.         // line 251
  676.         $this->loadTemplate("@CoreShopFrontend/Product/_manage_buttons.html.twig""@CoreShopFrontend/Product/detail.html.twig"251)->display(twig_array_merge($context, ["large" => true]));
  677.         // line 252
  678.         echo "                        </div>
  679.                     </div>
  680.                 </div>
  681.             </div>
  682.             ";
  683.         // line 256
  684.         $context["instruction"] = 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.'256$this->source); })()), "getInstruction", [], "method"falsefalsetrue256);
  685.         // line 257
  686.         echo "            ";
  687.         if ( !(null === (isset($context["instruction"]) || array_key_exists("instruction"$context) ? $context["instruction"] : (function () { throw new RuntimeError('Variable "instruction" does not exist.'257$this->source); })()))) {
  688.             // line 258
  689.             echo "                <div class=\"row support-row\">
  690.                     <h5 class=\"row-title\">Támogatás</h5>
  691.                     <div class=\"row data-row\">
  692.                         <div class=\"data-row-element\">
  693.                             <a href=\"";
  694.             // line 262
  695.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["instruction"]) || array_key_exists("instruction"$context) ? $context["instruction"] : (function () { throw new RuntimeError('Variable "instruction" does not exist.'262$this->source); })()), "getFile", [], "method"falsefalsetrue262), 262$this->source), "html"nulltrue);
  696.             echo "\">
  697.                                 <img src=\"";
  698.             // line 263
  699.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/images/document-icon.svg"), "html"nulltrue);
  700.             echo "\"
  701.                                      alt=\"Használati útmutató\"> Használati útmutató</a>
  702.                         </div>
  703.                     </div>
  704.                 </div>
  705.             ";
  706.         }
  707.         // line 269
  708.         echo "            <div class=\"row attributes-row\">
  709.                 <span class=\"row-title\">Tulajdonságok</span>
  710.                 <div class=\"row data-row\">
  711.                     ";
  712.         // line 272
  713.         $context['_parent'] = $context;
  714.         $context['_seq'] = twig_ensure_traversable((isset($context["properties"]) || array_key_exists("properties"$context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.'272$this->source); })()));
  715.         foreach ($context['_seq'] as $context["parameter"] => $context["options"]) {
  716.             // line 273
  717.             echo "                        ";
  718.             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.'273$this->source); })()), "get", [$context["parameter"]], "method"falsefalsetrue273)) {
  719.                 // line 274
  720.                 echo "                            <div class=\"data-row-element\">
  721.                                 <span>";
  722.                 // line 275
  723.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("coreshop.details." $this->sandbox->ensureToStringAllowed($context["parameter"], 275$this->source))), "html"nulltrue);
  724.                 echo "</span>
  725.                                 <span class=\"end-data\">
  726.                                     ";
  727.                 // line 277
  728.                 if (twig_get_attribute($this->env$this->source$context["options"], "format", [], "any"truetruetrue277)) {
  729.                     // line 278
  730.                     echo "                                        ";
  731.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\FormatAttribute']->callFormatter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["options"], "format", [], "any"falsefalsetrue278), 278$this->source), $this->sandbox->ensureToStringAllowed((isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'278$this->source); })()), 278$this->source)), "html"nulltrue);
  732.                     echo "
  733.                                     ";
  734.                 } else {
  735.                     // line 280
  736.                     echo "                                        ";
  737.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'280$this->source); })()), "get", [$context["parameter"]], "method"falsefalsetrue280), 280$this->source), "html"nulltrue);
  738.                     echo "
  739.                                         ";
  740.                     // line 281
  741.                     if (twig_get_attribute($this->env$this->source$context["options"], "append", [], "any"truetruetrue281)) {
  742.                         // line 282
  743.                         echo "                                            ";
  744.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["options"], "append", [], "any"falsefalsetrue282), 282$this->source), "html"nulltrue);
  745.                         echo "
  746.                                         ";
  747.                     }
  748.                     // line 284
  749.                     echo "                                    ";
  750.                 }
  751.                 // line 285
  752.                 echo "                                </span>
  753.                             </div>
  754.                         ";
  755.             }
  756.             // line 288
  757.             echo "                    ";
  758.         }
  759.         $_parent $context['_parent'];
  760.         unset($context['_seq'], $context['_iterated'], $context['parameter'], $context['options'], $context['_parent'], $context['loop']);
  761.         $context array_intersect_key($context$_parent) + $_parent;
  762.         // line 289
  763.         echo "                </div>
  764.             </div>
  765.         </div>
  766.     </div>
  767.     <div class=\"modal fade\" id=\"interestModal\" data-backdrop=\"static\" data-keyboard=\"false\" tabindex=\"-1\"
  768.          aria-labelledby=\"staticBackdropLabel\" aria-hidden=\"true\">
  769.         <div class=\"modal-dialog modal-dialog-centered modal-lg\">
  770.             <div class=\"modal-content\">
  771.                 <div class=\"modal-header\">
  772.                     <h5 class=\"modal-title\" id=\"staticBackdropLabel\">Érdeklődés</h5>
  773.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  774.                         <span aria-hidden=\"true\">&times;</span>
  775.                     </button>
  776.                 </div>
  777.                 <div class=\"modal-body\">
  778.                     ...
  779.                 </div>
  780.             </div>
  781.         </div>
  782.     </div>
  783.     ";
  784.         // line 311
  785.         if (array_key_exists("similarWatches"$context)) {
  786.             // line 312
  787.             echo "        <div class=\"container similar-products\">
  788.             <div class=\"row\">
  789.                 <div class=\"col-12 text-center\">
  790.                     <h3>HASONLÓ MODELLEK</h3>
  791.                 </div>
  792.             </div>
  793.             <div class=\"row\">
  794.                 ";
  795.             // line 319
  796.             $context['_parent'] = $context;
  797.             $context['_seq'] = twig_ensure_traversable((isset($context["similarWatches"]) || array_key_exists("similarWatches"$context) ? $context["similarWatches"] : (function () { throw new RuntimeError('Variable "similarWatches" does not exist.'319$this->source); })()));
  798.             $context['loop'] = [
  799.               'parent' => $context['_parent'],
  800.               'index0' => 0,
  801.               'index'  => 1,
  802.               'first'  => true,
  803.             ];
  804.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  805.                 $length count($context['_seq']);
  806.                 $context['loop']['revindex0'] = $length 1;
  807.                 $context['loop']['revindex'] = $length;
  808.                 $context['loop']['length'] = $length;
  809.                 $context['loop']['last'] = === $length;
  810.             }
  811.             foreach ($context['_seq'] as $context["_key"] => $context["similarWatch"]) {
  812.                 // line 320
  813.                 echo "                    ";
  814.                 echo twig_include($this->env$context"@CoreShopFrontend/Product/_product_item.html.twig", ["product" => twig_get_attribute($this->env$this->source,                 // line 321
  815. $context["similarWatch"], "product", [], "array"falsefalsetrue321), "isWishListed" => twig_get_attribute($this->env$this->source,                 // line 322
  816. $context["similarWatch"], "isWishListed", [], "array"falsefalsetrue322)]);
  817.                 // line 323
  818.                 echo "
  819.                 ";
  820.                 ++$context['loop']['index0'];
  821.                 ++$context['loop']['index'];
  822.                 $context['loop']['first'] = false;
  823.                 if (isset($context['loop']['length'])) {
  824.                     --$context['loop']['revindex0'];
  825.                     --$context['loop']['revindex'];
  826.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  827.                 }
  828.             }
  829.             $_parent $context['_parent'];
  830.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['similarWatch'], $context['_parent'], $context['loop']);
  831.             $context array_intersect_key($context$_parent) + $_parent;
  832.             // line 325
  833.             echo "            </div>
  834.         </div>
  835.     ";
  836.         }
  837.         
  838.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  839.         
  840.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  841.     }
  842.     // line 330
  843.     public function block_scripts($context, array $blocks = [])
  844.     {
  845.         $macros $this->macros;
  846.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  847.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  848.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  849.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  850.         // line 331
  851.         echo "    ";
  852.         $this->displayParentBlock("scripts"$context$blocks);
  853.         echo "
  854.     ";
  855.         // line 332
  856.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"], "method"falsefalsetrue332);
  857.         // line 333
  858.         echo "    ";
  859.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/vendors/bootstrap/js/bootstrap.min.js")], "method"falsefalsetrue333);
  860.         // line 334
  861.         echo "    ";
  862.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"], "method"falsefalsetrue334);
  863.         // line 335
  864.         echo "    ";
  865.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/vendors/lightbox/js/lightbox.js")], "method"falsefalsetrue335);
  866.         // line 336
  867.         echo "    ";
  868.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/js/watches_details.js")], "method"falsefalsetrue336);
  869.         // line 337
  870.         echo "    ";
  871.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/js/wishlist_manager.js")], "method"falsefalsetrue337);
  872.         // line 338
  873.         echo "    <script>
  874.         lightbox.option({
  875.             'resizeDuration': 200,
  876.             'alwaysShowNavOnTouchDevices': true,
  877.             'wrapAround': true,
  878.             'disableScrolling': true,
  879.             'fitImagesInViewport': true,
  880.             'albumLabel': \"%1 / %2\"
  881.         });
  882.         const sku = '";
  883.         // line 348
  884.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'348$this->source); })()), "sku", [], "any"falsefalsetrue348), 348$this->source), "html"nulltrue);
  885.         echo "';
  886.     </script>
  887. ";
  888.         
  889.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  890.         
  891.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  892.     }
  893.     // line 352
  894.     public function block_head_stylesheets($context, array $blocks = [])
  895.     {
  896.         $macros $this->macros;
  897.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  898.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  899.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  900.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  901.         // line 353
  902.         echo "    ";
  903.         $this->displayParentBlock("head_stylesheets"$context$blocks);
  904.         echo "
  905.     ";
  906.         // line 354
  907.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css"], "method"falsefalsetrue354);
  908.         // line 355
  909.         echo "    ";
  910.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/vendors/lightbox/css/lightbox.css")], "method"falsefalsetrue355);
  911.         // line 356
  912.         echo "    ";
  913.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.css"], "method"falsefalsetrue356);
  914.         
  915.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  916.         
  917.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  918.     }
  919.     public function getTemplateName()
  920.     {
  921.         return "@CoreShopFrontend/Product/detail.html.twig";
  922.     }
  923.     public function isTraitable()
  924.     {
  925.         return false;
  926.     }
  927.     public function getDebugInfo()
  928.     {
  929.         return array (  941 => 356,  938 => 355,  936 => 354,  931 => 353,  921 => 352,  908 => 348,  896 => 338,  893 => 337,  890 => 336,  887 => 335,  884 => 334,  881 => 333,  879 => 332,  874 => 331,  864 => 330,  851 => 325,  836 => 323,  834 => 322,  833 => 321,  831 => 320,  814 => 319,  805 => 312,  803 => 311,  779 => 289,  773 => 288,  768 => 285,  765 => 284,  759 => 282,  757 => 281,  752 => 280,  746 => 278,  744 => 277,  739 => 275,  736 => 274,  733 => 273,  729 => 272,  724 => 269,  715 => 263,  711 => 262,  705 => 258,  702 => 257,  700 => 256,  694 => 252,  692 => 251,  688 => 249,  682 => 247,  677 => 245,  672 => 244,  670 => 243,  662 => 237,  657 => 236,  653 => 235,  649 => 234,  645 => 232,  639 => 229,  635 => 228,  632 => 227,  629 => 226,  627 => 225,  620 => 220,  614 => 219,  609 => 216,  606 => 215,  600 => 213,  598 => 212,  593 => 211,  587 => 209,  585 => 208,  580 => 206,  577 => 205,  574 => 204,  570 => 203,  562 => 197,  553 => 190,  547 => 189,  543 => 187,  539 => 185,  535 => 183,  533 => 180,  531 => 178,  529 => 177,  524 => 176,  522 => 175,  519 => 174,  516 => 173,  512 => 172,  509 => 171,  507 => 170,  504 => 169,  502 => 168,  499 => 167,  497 => 166,  494 => 165,  490 => 134,  481 => 128,  477 => 127,  472 => 124,  468 => 122,  464 => 120,  450 => 119,  447 => 118,  429 => 117,  415 => 116,  412 => 115,  395 => 114,  392 => 113,  390 => 112,  387 => 111,  383 => 109,  369 => 108,  366 => 107,  349 => 106,  346 => 105,  343 => 104,  338 => 101,  334 => 99,  332 => 96,  330 => 94,  328 => 93,  324 => 92,  321 => 91,  319 => 90,  316 => 89,  312 => 87,  298 => 86,  295 => 85,  278 => 84,  275 => 83,  273 => 82,  270 => 81,  264 => 80,  261 => 79,  258 => 78,  255 => 77,  252 => 76,  249 => 75,  246 => 74,  243 => 73,  240 => 72,  235 => 71,  232 => 70,  229 => 69,  226 => 68,  224 => 67,  221 => 66,  219 => 65,  211 => 60,  206 => 57,  204 => 56,  200 => 54,  194 => 52,  189 => 50,  184 => 49,  182 => 48,  170 => 42,  167 => 41,  162 => 38,  158 => 36,  155 => 35,  149 => 33,  147 => 32,  143 => 31,  140 => 30,  133 => 26,  130 => 25,  128 => 24,  125 => 23,  119 => 21,  111 => 19,  109 => 18,  106 => 17,  101 => 15,  96 => 14,  93 => 13,  91 => 12,  86 => 9,  83 => 8,  80 => 7,  77 => 6,  67 => 5,  56 => 1,  54 => 3,  52 => 2,  39 => 1,);
  930.     }
  931.     public function getSourceContext()
  932.     {
  933.         return new Source("{% extends '@CoreShopFrontend/layout.html.twig' %}
  934. {% import '@CoreShopFrontend/Common/Macro/product_price.html.twig' as product_price %}
  935. {% import '@CoreShopFrontend/Common/Macro/currency.html.twig' as currency %}
  936. {% block content %}
  937.     {% set cart_allowed = is_granted('CORESHOP_CART_ADD_ITEM') %}
  938.     {% set wishlist_allowed = is_granted('CORESHOP_WISHLIST_ADD_ITEM') %}
  939.     {% set discounted = product|coreshop_product_discount_price(coreshop.context) %}
  940.     <div class=\"container\" id=\"productPageHeader\">
  941.         <div class=\"row product-page-row\">
  942.             <div class=\"col-12 col-md-8\">
  943.                 {% set logo = productLogo(product) %}
  944.                 {% if logo is not null %}
  945.                     <img src=\"{{ asset('/themes/frontend/images/productlogo-details/' ~ logo) }}\"
  946.                          alt=\"{{ product.getCollection() }}\">
  947.                 {% endif %}
  948.                 <h2>
  949.                     {% if product.getBrand() | lower == 'grand seiko' %}
  950.                         {{ product.getCollection() }} {{ product.getSubCollection() }}
  951.                     {% else %}
  952.                         {{ product.getSubCollection() }}
  953.                     {% endif %}
  954.                 </h2>
  955.                 {% if product.uniqueName %}
  956.                     <ul class=\"prod_unique_name\">
  957.                         <li>{{ product.uniqueName }}</li>
  958.                     </ul>
  959.                 {% endif %}
  960.                 <ul class=\"prodIds\">
  961.                     <li class=\"first\"><span>Referenciaszám:</span> {{ product.sku }}</li>
  962.                     {% if product.getCaliberNumber() %}
  963.                         <li><span>Szerkezet:</span> {{ product.getCalibernumber().getName() }}</li>
  964.                     {% endif %}
  965.                     {% if product.businessClass == \"Seiko Boutique\" %}
  966.                         <li class=\"color-golden\"> Boutique Exkluzív</li>
  967.                     {% endif %}
  968.                 </ul>
  969.                 <ul class=\"prodIds\">
  970.                     <li class=\"first\">
  971.                         <span>Elérhetőség:</span> {{ availabilityOptions[product.getAvailability()] | default('-') }}{% if availabilityExtra %}
  972.                             <span>{{ availabilityExtra }}</span>{% endif %}</li>
  973.                 </ul>
  974.                 <h3><span></span></h3>
  975.             </div>
  976.             <div class=\"col-12 col-md-4 text-right\">
  977.                 <div class=\"price-row-logo d-flex justify-content-end upper-row\">
  978.                     {% if discounted %}
  979.                         <p class=\"crossed-price\">{{ currency.getRetailPrice(product) }}</p>
  980.                         <p class=\"retail-price\">{{ currency.getDiscountPrice(product) }}</p>
  981.                     {% else %}
  982.                         <p class=\"retail-price\">{{ currency.getRetailPrice(product) }}</p>
  983.                     {% endif %}
  984.                 </div>
  985.                 <div class=\"row p-0 rowmobview\">
  986.                     {% include '@CoreShopFrontend/Product/_manage_buttons.html.twig' with {large: false} %}
  987.                 </div>
  988.             </div>
  989.             <div class=\"col-12\" id=\"product-page-text\">
  990.                 <p>{{ product.shortDescription() }}</p>
  991.             </div>
  992.         </div>
  993.     </div>
  994.     <div class=\"container gallery-container\">
  995.         {% if product.getImages()|length > 0 %}
  996.             <div class=\"row gallery-row\">
  997.                 {% set imgmain = null %}
  998.                 {% set imgleft = [] %}
  999.                 {% set imgright = [] %}
  1000.                 {% set i = 0 %}
  1001.                 {% for image in product.getImages() %}
  1002.                     {% if i == 0 %}
  1003.                         {% set imgmain = image %}
  1004.                     {% elseif i % 2 == 0 %}
  1005.                         {% set imgleft = imgleft|merge([image]) %}
  1006.                     {% else %}
  1007.                         {% set imgright = imgright|merge([image]) %}
  1008.                     {% endif %}
  1009.                     {% set i = i + 1 %}
  1010.                 {% endfor %}
  1011.                 {% if imgleft %}
  1012.                     <div class=\"col gallery-left-side-image\">
  1013.                         {% for asset in imgleft %}
  1014.                             {% include '@CoreShopFrontend/Product/_asset_item.html.twig' with {fancyId: \"gallery\"} %}
  1015.                         {% endfor %}
  1016.                     </div>
  1017.                 {% endif %}
  1018.                 {% if imgmain %}
  1019.                     {# d-block d-sm-none ??? #}
  1020.                     <div class=\"col gallery-main-image\">
  1021.                         <a href=\"{{ imgmain.fullPath }}\" data-fancybox=\"gallery_small\">
  1022.                             {% if imgmain is instanceof('Pimcore\\\\Model\\\\Asset\\\\Image') %}
  1023.                                 {{ imgmain.thumbnail('seiko_productDetails').getHtml({
  1024.                                     'imgAttributes': {
  1025.                                         'alt': product.getSku(),
  1026.                                         'class': 'img-fluid'
  1027.                                     }
  1028.                                 }) | raw }}
  1029.                             {% endif %}
  1030.                         </a>
  1031.                     </div>
  1032.                 {% endif %}
  1033.                 {% if imgright %}
  1034.                     <div class=\"col gallery-right-side-image\">
  1035.                         {% for asset in imgright %}
  1036.                             {% include '@CoreShopFrontend/Product/_asset_item.html.twig' with {fancyId: \"gallery\"} %}
  1037.                         {% endfor %}
  1038.                     </div>
  1039.                 {% endif %}
  1040.                 {% if imgleft or imgright %}
  1041.                     <div class=\"gallery-small-side-image\">
  1042.                         {% for asset in imgleft %}
  1043.                             {% include '@CoreShopFrontend/Product/_asset_item.html.twig' with {fancyId: \"gallery_small\"} %}
  1044.                         {% endfor %}
  1045.                         {% for asset in imgright %}
  1046.                             {% include '@CoreShopFrontend/Product/_asset_item.html.twig' with {fancyId: \"gallery_small\"} %}
  1047.                         {% endfor %}
  1048.                     </div>
  1049.                 {% endif %}
  1050.             </div>
  1051.         {% else %}
  1052.             <div class=\"row gallery-row center\">
  1053.                 <div class=\"default-image-container\">
  1054.                     <img
  1055.                         src=\"{{ default_image_path.product }}\"
  1056.                         alt=\"{{ product.getSku() }}\"
  1057.                         width=\"300\" height=\"430\" loading=\"lazy\"
  1058.                     />
  1059.                 </div>
  1060.             </div>
  1061.         {% endif %}
  1062.     </div>
  1063.     {#
  1064.     <div class=\"container product-media-container\">
  1065.         {% for video in product.videos %}
  1066.             <div class=\"product-media-row\">
  1067.                 {% if video.source == \"youtube\" %}
  1068.                     {% set parts = video.content|split('/') %}
  1069.                     {% set videoId = parts|last %}
  1070.                     <div class=\"youtube-start-trigger responsive-image-container clickable\">
  1071.                         {{ video.thumbnail.getThumbnail(\"seiko_VideoThumbnail\").getHtml()|raw }}
  1072.                     </div>
  1073.                     <div class=\"video-container hidden-file\">
  1074.                         <iframe
  1075.                             src=\"https://www.youtube.com/embed/{{ videoId }}\"
  1076.                             allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"
  1077.                             referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen>
  1078.                         </iframe>
  1079.                     </div>
  1080.                 {% else %}
  1081.                     <div class=\"responsive-image-container clickable\">
  1082.                         <a href=\"{{ video.content }}\" target=\"_blank\">
  1083.                             {{ video.thumbnail.getThumbnail(\"seiko_VideoThumbnail\").getHtml()|raw }}
  1084.                         </a>
  1085.                     </div>
  1086.                 {% endif %}
  1087.             </div>
  1088.         {% endfor %}
  1089.     </div>
  1090.     #}
  1091.     {% if product.videos|length > 0 %}
  1092.         <div class=\"container product-media-container gallery-container\">
  1093.             {% set isOneVideo = product.videos|length == 1 %}
  1094.             <div class=\"swiper video_swiper\">
  1095.                 {% set videos = [...product.videos ] %}
  1096.                 <div class=\"swiper-wrapper\">
  1097.                     {% for video in videos %}
  1098.                         {% if video is instanceof('Pimcore\\\\Model\\\\DataObject\\\\ExternalMedia') %}
  1099.                             <div class=\"swiper-slide flex-center-forced\">
  1100.                                 {% if video.source == \"youtube\" %}
  1101.                                     <a href=\"{{ video.content }}\" data-fancybox=\"video_gallery\">
  1102.                                         {% if video.thumbnail is instanceof('Pimcore\\\\Model\\\\Asset\\\\Image') %}
  1103.                                             {{ video.thumbnail.thumbnail('seiko_VideoThumbnail').getHtml({
  1104.                                                 'imgAttributes': {
  1105.                                                     'alt': product.getSku(),
  1106.                                                     'class': 'img-fluid',
  1107.                                                 }
  1108.                                             }) | raw }}
  1109.                                         {% endif %}
  1110.                                     </a>
  1111.                                 {% endif %}
  1112.                             </div>
  1113.                         {% endif %}
  1114.                     {% endfor %}
  1115.                 </div>
  1116.                 <div class=\"swiper-pagination\"></div>
  1117.                 <div class=\"swiper-button-prev\"></div>
  1118.                 <div class=\"swiper-button-next\"></div>
  1119.             </div>
  1120.         </div>
  1121.     {% endif %}
  1122.     <div class=\"container\">
  1123.         <div class=\"row product-grid-template\">
  1124.             <div class=\"row specification-row\">
  1125.                 <span class=\"row-title\">Specifikáció</span>
  1126.                 <div class=\"row data-row\">
  1127.                     {% for parameter, options in specification %}
  1128.                         {% if (product.get(parameter)) %}
  1129.                             <div class=\"data-row-element\">
  1130.                                 <span>{{ ('coreshop.details.'~parameter) | trans }}</span>
  1131.                                 <span class=\"end-data\">
  1132.                                     {% if options.format is defined %}
  1133.                                         {{ formatAttribute(options.format,product) }}
  1134.                                     {% else %}
  1135.                                         {{ product.get(parameter) }}
  1136.                                         {% if options.append is defined %}
  1137.                                             {{ options.append }}
  1138.                                         {% endif %}
  1139.                                     {% endif %}
  1140.                                 </span>
  1141.                             </div>
  1142.                         {% endif %}
  1143.                     {% endfor %}
  1144.                 </div>
  1145.             </div>
  1146.             <div class=\"row price-row\">
  1147.                 <div class=\"row data-row\">
  1148.                     <div class=\"price-row-top-element\">
  1149.                         {% set logo = productLogo(product) %}
  1150.                         {% if logo is not null %}
  1151.                             <div class=\"price-row-logo\">
  1152.                                 <img src=\"{{ asset('/themes/frontend/images/productlogo-details/' ~ logo) }}\"
  1153.                                      alt=\"{{ product.getCollection() }}\">
  1154.                             </div>
  1155.                         {% endif %}
  1156.                         <div class=\"price-row-text\">
  1157.                             <ul>
  1158.                                 <li><span>Ref: {{ product.sku }}</span></li>
  1159.                                 <li>Elérhetőség: {{ availabilityOptions[product.getAvailability()] | default('-') }}<br>
  1160.                                     {% if availabilityExtra %} {{ availabilityExtra }}{% endif %}
  1161.                                 </li>
  1162.                             </ul>
  1163.                         </div>
  1164.                     </div>
  1165.                     <div class=\"price-row-bottom-element\">
  1166.                         <div class=\"price-row-logo d-flex\">
  1167.                             {% if discounted %}
  1168.                                 <p class=\"crossed-price\">{{ currency.getRetailPrice(product) }}</p>
  1169.                                 <p class=\"retail-price\">{{ currency.getDiscountPrice(product) }}</p>
  1170.                             {% else %}
  1171.                                 <p class=\"retail-price\">{{ currency.getRetailPrice(product) }}</p>
  1172.                             {% endif %}
  1173.                         </div>
  1174.                         <div class=\"row p-0\" id=\"productSpecs\">
  1175.                             {% include '@CoreShopFrontend/Product/_manage_buttons.html.twig' with {large: true} %}
  1176.                         </div>
  1177.                     </div>
  1178.                 </div>
  1179.             </div>
  1180.             {% set instruction = product.getInstruction() %}
  1181.             {% if instruction is not null %}
  1182.                 <div class=\"row support-row\">
  1183.                     <h5 class=\"row-title\">Támogatás</h5>
  1184.                     <div class=\"row data-row\">
  1185.                         <div class=\"data-row-element\">
  1186.                             <a href=\"{{ instruction.getFile() }}\">
  1187.                                 <img src=\"{{ asset('themes/frontend/images/document-icon.svg') }}\"
  1188.                                      alt=\"Használati útmutató\"> Használati útmutató</a>
  1189.                         </div>
  1190.                     </div>
  1191.                 </div>
  1192.             {% endif %}
  1193.             <div class=\"row attributes-row\">
  1194.                 <span class=\"row-title\">Tulajdonságok</span>
  1195.                 <div class=\"row data-row\">
  1196.                     {% for parameter, options in properties %}
  1197.                         {% if (product.get(parameter)) %}
  1198.                             <div class=\"data-row-element\">
  1199.                                 <span>{{ ('coreshop.details.'~parameter) | trans }}</span>
  1200.                                 <span class=\"end-data\">
  1201.                                     {% if options.format is defined %}
  1202.                                         {{ formatAttribute(options.format,product) }}
  1203.                                     {% else %}
  1204.                                         {{ product.get(parameter) }}
  1205.                                         {% if options.append is defined %}
  1206.                                             {{ options.append }}
  1207.                                         {% endif %}
  1208.                                     {% endif %}
  1209.                                 </span>
  1210.                             </div>
  1211.                         {% endif %}
  1212.                     {% endfor %}
  1213.                 </div>
  1214.             </div>
  1215.         </div>
  1216.     </div>
  1217.     <div class=\"modal fade\" id=\"interestModal\" data-backdrop=\"static\" data-keyboard=\"false\" tabindex=\"-1\"
  1218.          aria-labelledby=\"staticBackdropLabel\" aria-hidden=\"true\">
  1219.         <div class=\"modal-dialog modal-dialog-centered modal-lg\">
  1220.             <div class=\"modal-content\">
  1221.                 <div class=\"modal-header\">
  1222.                     <h5 class=\"modal-title\" id=\"staticBackdropLabel\">Érdeklődés</h5>
  1223.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  1224.                         <span aria-hidden=\"true\">&times;</span>
  1225.                     </button>
  1226.                 </div>
  1227.                 <div class=\"modal-body\">
  1228.                     ...
  1229.                 </div>
  1230.             </div>
  1231.         </div>
  1232.     </div>
  1233.     {% if similarWatches is defined %}
  1234.         <div class=\"container similar-products\">
  1235.             <div class=\"row\">
  1236.                 <div class=\"col-12 text-center\">
  1237.                     <h3>HASONLÓ MODELLEK</h3>
  1238.                 </div>
  1239.             </div>
  1240.             <div class=\"row\">
  1241.                 {% for similarWatch in similarWatches %}
  1242.                     {{ include('@CoreShopFrontend/Product/_product_item.html.twig', {
  1243.                         product: similarWatch['product'],
  1244.                         isWishListed: similarWatch['isWishListed'],
  1245.                     }) }}
  1246.                 {% endfor %}
  1247.             </div>
  1248.         </div>
  1249.     {% endif %}
  1250. {% endblock %}
  1251. {% block scripts %}
  1252.     {{ parent() }}
  1253.     {% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js') %}
  1254.     {% do pimcore_head_script().appendFile(asset('themes/frontend/vendors/bootstrap/js/bootstrap.min.js')) %}
  1255.     {% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js') %}
  1256.     {% do pimcore_head_script().appendFile(asset('themes/frontend/vendors/lightbox/js/lightbox.js')) %}
  1257.     {% do pimcore_head_script().appendFile(asset('/js/watches_details.js')) %}
  1258.     {% do pimcore_head_script().appendFile(asset('/js/wishlist_manager.js')) %}
  1259.     <script>
  1260.         lightbox.option({
  1261.             'resizeDuration': 200,
  1262.             'alwaysShowNavOnTouchDevices': true,
  1263.             'wrapAround': true,
  1264.             'disableScrolling': true,
  1265.             'fitImagesInViewport': true,
  1266.             'albumLabel': \"%1 / %2\"
  1267.         });
  1268.         const sku = '{{ product.sku }}';
  1269.     </script>
  1270. {% endblock %}
  1271. {% block head_stylesheets %}
  1272.     {{ parent() }}
  1273.     {% do pimcore_head_link().appendStylesheet('https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css') %}
  1274.     {% do pimcore_head_link().appendStylesheet(asset('themes/frontend/vendors/lightbox/css/lightbox.css')) %}
  1275.     {% do pimcore_head_link().appendStylesheet('https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.css') %}
  1276. {% endblock %}
  1277. ""@CoreShopFrontend/Product/detail.html.twig""/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/Product/detail.html.twig");
  1278.     }
  1279.     
  1280.     public function checkSecurity()
  1281.     {
  1282.         static $tags = array("import" => 2"set" => 6"if" => 13"include" => 56"for" => 71"do" => 332);
  1283.         static $filters = array("coreshop_product_discount_price" => 8"escape" => 14"lower" => 18"default" => 41"length" => 65"merge" => 75"raw" => 99"trans" => 206);
  1284.         static $functions = array("is_granted" => 6"productLogo" => 12"asset" => 14"formatAttribute" => 209"include" => 320"pimcore_head_script" => 332"pimcore_head_link" => 354);
  1285.         try {
  1286.             $this->sandbox->checkSecurity(
  1287.                 ['import''set''if''include''for''do'],
  1288.                 ['coreshop_product_discount_price''escape''lower''default''length''merge''raw''trans'],
  1289.                 ['is_granted''productLogo''asset''formatAttribute''include''pimcore_head_script''pimcore_head_link']
  1290.             );
  1291.         } catch (SecurityError $e) {
  1292.             $e->setSourceContext($this->source);
  1293.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1294.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1295.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1296.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1297.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1298.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1299.             }
  1300.             throw $e;
  1301.         }
  1302.     }
  1303. }