var/cache/dev_ha61ef46992a3948952fe944d3fcb7240/twig/da/da03f09dd9686e906b26bd76c4bc45740917a4d0e76127d7f3574138afdf776e.php line 47

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use Twig\Error\LoaderError;
  5. use Twig\Error\RuntimeError;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @Storefront/storefront/component/product/card/box-standard.html.twig */
  15. class __TwigTemplate_d6e616e2de37f5e628b164621f69527a0bd1a93b8829de1e6288fd28066f1a3d extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'component_product_box' => [$this'block_component_product_box'],
  26.             'component_product_box_content' => [$this'block_component_product_box_content'],
  27.             'component_product_box_badges' => [$this'block_component_product_box_badges'],
  28.             'component_product_box_rich_snippets' => [$this'block_component_product_box_rich_snippets'],
  29.             'component_product_box_image' => [$this'block_component_product_box_image'],
  30.             'component_product_box_wishlist_action' => [$this'block_component_product_box_wishlist_action'],
  31.             'component_product_box_info' => [$this'block_component_product_box_info'],
  32.             'component_product_box_rating' => [$this'block_component_product_box_rating'],
  33.             'component_product_box_name' => [$this'block_component_product_box_name'],
  34.             'component_product_box_variant_characteristics' => [$this'block_component_product_box_variant_characteristics'],
  35.             'component_product_box_description' => [$this'block_component_product_box_description'],
  36.             'component_product_box_price' => [$this'block_component_product_box_price'],
  37.             'component_product_box_action' => [$this'block_component_product_box_action'],
  38.         ];
  39.     }
  40.     protected function doDisplay(array $context, array $blocks = [])
  41.     {
  42.         $macros $this->macros;
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/product/card/box-standard.html.twig"));
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/product/card/box-standard.html.twig"));
  47.         // line 1
  48.         $this->displayBlock('component_product_box'$context$blocks);
  49.         
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  51.         
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  53.     }
  54.     public function block_component_product_box($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box"));
  61.         // line 2
  62.         echo "    ";
  63.         if (($context["product"] ?? null)) {
  64.             // line 3
  65.             echo "        ";
  66.             $context["name"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse3), "name", [], "any"falsefalsefalse3);
  67.             // line 4
  68.             echo "        ";
  69.             $context["id"] = sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "id", [], "any"falsefalsefalse4);
  70.             // line 5
  71.             echo "        ";
  72.             $context["cover"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "cover", [], "any"falsefalsefalse5), "media", [], "any"falsefalsefalse5);
  73.             // line 6
  74.             echo "        ";
  75.             $context["variation"] = sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "variation", [], "any"falsefalsefalse6);
  76.             // line 7
  77.             echo "
  78.         <div class=\"card product-box box-";
  79.             // line 8
  80.             echo twig_escape_filter($this->env, ($context["layout"] ?? null), "html"nulltrue);
  81.             echo "\">
  82.             ";
  83.             // line 9
  84.             $this->displayBlock('component_product_box_content'$context$blocks);
  85.             // line 126
  86.             echo "        </div>
  87.     ";
  88.         }
  89.         
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  91.         
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  93.     }
  94.     // line 9
  95.     public function block_component_product_box_content($context, array $blocks = [])
  96.     {
  97.         $macros $this->macros;
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_content"));
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_content"));
  102.         // line 10
  103.         echo "                <div class=\"card-body\">
  104.                     ";
  105.         // line 11
  106.         $this->displayBlock('component_product_box_badges'$context$blocks);
  107.         // line 14
  108.         echo 
  109.                     ";
  110.         // line 15
  111.         $this->displayBlock('component_product_box_rich_snippets'$context$blocks);
  112.         // line 19
  113.         echo "
  114.                     ";
  115.         // line 20
  116.         $this->displayBlock('component_product_box_image'$context$blocks);
  117.         // line 68
  118.         echo "
  119.                     ";
  120.         // line 69
  121.         $this->displayBlock('component_product_box_info'$context$blocks);
  122.         // line 124
  123.         echo "                </div>
  124.             ";
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 11
  131.     public function block_component_product_box_badges($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_badges"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_badges"));
  138.         // line 12
  139.         echo "                        ";
  140.         $this->loadTemplate("@ATNTheme/storefront/component/product/card/badges.html.twig""@Storefront/storefront/component/product/card/box-standard.html.twig"12)->display($context);
  141.         // line 13
  142.         echo "                    ";
  143.         
  144.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  145.         
  146.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  147.     }
  148.     // line 15
  149.     public function block_component_product_box_rich_snippets($context, array $blocks = [])
  150.     {
  151.         $macros $this->macros;
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_rich_snippets"));
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_rich_snippets"));
  156.         // line 16
  157.         echo "                        ";
  158.         @trigger_error("@deprecated tag:v6.5.0 - Block will be removed completely including the template it references"." (\"@Storefront/storefront/component/product/card/box-standard.html.twig\" at line 16)."E_USER_DEPRECATED);
  159.         // line 17
  160.         echo "                        ";
  161.         $this->loadTemplate("@Storefront/storefront/component/product/card/meta.html.twig""@Storefront/storefront/component/product/card/box-standard.html.twig"17)->display($context);
  162.         // line 18
  163.         echo "                    ";
  164.         
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  166.         
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  168.     }
  169.     // line 20
  170.     public function block_component_product_box_image($context, array $blocks = [])
  171.     {
  172.         $macros $this->macros;
  173.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_image"));
  175.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  176.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_image"));
  177.         // line 21
  178.         echo "                        <div class=\"product-image-wrapper\">
  179.                             ";
  180.         // line 23
  181.         echo "                            ";
  182.         $context["displayMode"] = ((($context["displayMode"] ?? null)) ? (($context["displayMode"] ?? null)) : ("standard"));
  183.         // line 24
  184.         echo "
  185.                             ";
  186.         // line 26
  187.         echo "                            ";
  188.         if (((=== twig_compare(($context["layout"] ?? null), "image")) && (=== twig_compare(($context["displayMode"] ?? null), "standard")))) {
  189.             // line 27
  190.             echo "                                ";
  191.             $context["displayMode"] = "cover";
  192.             // line 28
  193.             echo "                            ";
  194.         }
  195.         // line 29
  196.         echo "
  197.                             <a href=\"";
  198.         // line 30
  199.         echo twig_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => ($context["id"] ?? null)]), "html"nulltrue);
  200.         echo "\"
  201.                                title=\"";
  202.         // line 31
  203.         echo twig_escape_filter($this->env, ($context["name"] ?? null), "html"nulltrue);
  204.         echo "\"
  205.                                class=\"product-image-link is-";
  206.         // line 32
  207.         echo twig_escape_filter($this->env, ($context["displayMode"] ?? null), "html"nulltrue);
  208.         echo "\">
  209.                                 ";
  210.         // line 33
  211.         if (sw_get_attribute($this->env$this->source, ($context["cover"] ?? null), "url", [], "any"falsefalsefalse33)) {
  212.             // line 34
  213.             echo "                                    ";
  214.             $context["attributes"] = ["class" => ("product-image is-" .             // line 35
  215. ($context["displayMode"] ?? null)), "alt" => ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 36
  216. ($context["cover"] ?? null), "translated", [], "any"falsefalsefalse36), "alt", [], "any"falsefalsefalse36)) ? (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["cover"] ?? null), "translated", [], "any"falsefalsefalse36), "alt", [], "any"falsefalsefalse36)) : (($context["name"] ?? null))), "title" => ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 37
  217. ($context["cover"] ?? null), "translated", [], "any"falsefalsefalse37), "title", [], "any"falsefalsefalse37)) ? (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["cover"] ?? null), "translated", [], "any"falsefalsefalse37), "title", [], "any"falsefalsefalse37)) : (($context["name"] ?? null)))];
  218.             // line 39
  219.             echo "
  220.                                     ";
  221.             // line 40
  222.             if (((=== twig_compare(($context["displayMode"] ?? null), "cover")) || (=== twig_compare(($context["displayMode"] ?? null), "contain")))) {
  223.                 // line 41
  224.                 echo "                                        ";
  225.                 $context["attributes"] = twig_array_merge(($context["attributes"] ?? null), ["data-object-fit" => ($context["displayMode"] ?? null)]);
  226.                 // line 42
  227.                 echo "                                    ";
  228.             }
  229.             // line 43
  230.             echo "
  231.                                     ";
  232.             // line 44
  233.             ((function () use ($context$blocks) {
  234.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  235.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
  236.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/component/product/card/box-standard.html.twig"44);
  237.             })())->display(twig_array_merge($context, ["media" =>             // line 45
  238. ($context["cover"] ?? null), "sizes" =>             // line 46
  239. ($context["sizes"] ?? null), "name" => "product-image-thumbnails"]));
  240.             // line 48
  241.             echo "                                ";
  242.         } else {
  243.             // line 49
  244.             echo "                                    <div class=\"product-image-placeholder\">
  245.                                         ";
  246.             // line 50
  247.             ((function () use ($context$blocks) {
  248.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  249.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  250.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/component/product/card/box-standard.html.twig"50);
  251.             })())->display(twig_array_merge($context, ["size" => "fluid""name" => "placeholder"]));
  252.             // line 53
  253.             echo "                                    </div>
  254.                                 ";
  255.         }
  256.         // line 55
  257.         echo "                            </a>
  258.                             ";
  259.         // line 57
  260.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.cart.wishlistEnabled")) {
  261.             // line 58
  262.             echo "                                ";
  263.             $this->displayBlock('component_product_box_wishlist_action'$context$blocks);
  264.             // line 64
  265.             echo "                            ";
  266.         }
  267.         // line 65
  268.         echo "
  269.                         </div>
  270.                     ";
  271.         
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  273.         
  274.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  275.     }
  276.     // line 58
  277.     public function block_component_product_box_wishlist_action($context, array $blocks = [])
  278.     {
  279.         $macros $this->macros;
  280.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  281.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_wishlist_action"));
  282.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  283.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_wishlist_action"));
  284.         // line 59
  285.         echo "                                    ";
  286.         $this->loadTemplate("@Storefront/storefront/component/product/card/wishlist.html.twig""@Storefront/storefront/component/product/card/box-standard.html.twig"59)->display(twig_array_merge($context, ["appearance" => "circle""productId" =>         // line 61
  287. ($context["id"] ?? null)]));
  288.         // line 63
  289.         echo "                                ";
  290.         
  291.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  292.         
  293.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  294.     }
  295.     // line 69
  296.     public function block_component_product_box_info($context, array $blocks = [])
  297.     {
  298.         $macros $this->macros;
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_info"));
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_info"));
  303.         // line 70
  304.         echo "                        <div class=\"product-info\">
  305.                             ";
  306.         // line 71
  307.         $this->displayBlock('component_product_box_rating'$context$blocks);
  308.         // line 83
  309.         echo "
  310.                             ";
  311.         // line 84
  312.         $this->displayBlock('component_product_box_name'$context$blocks);
  313.         // line 91
  314.         echo "
  315.                             ";
  316.         // line 92
  317.         $this->displayBlock('component_product_box_variant_characteristics'$context$blocks);
  318.         // line 108
  319.         echo "
  320.                             ";
  321.         // line 109
  322.         $this->displayBlock('component_product_box_description'$context$blocks);
  323.         // line 114
  324.         echo "
  325.                             ";
  326.         // line 115
  327.         $this->displayBlock('component_product_box_price'$context$blocks);
  328.         // line 118
  329.         echo "
  330.                             ";
  331.         // line 119
  332.         $this->displayBlock('component_product_box_action'$context$blocks);
  333.         // line 122
  334.         echo "                        </div>
  335.                     ";
  336.         
  337.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  338.         
  339.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  340.     }
  341.     // line 71
  342.     public function block_component_product_box_rating($context, array $blocks = [])
  343.     {
  344.         $macros $this->macros;
  345.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  346.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_rating"));
  347.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  348.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_rating"));
  349.         // line 72
  350.         echo "                                ";
  351.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.listing.showReview")) {
  352.             // line 73
  353.             echo "                                    <div class=\"product-rating\">
  354.                                         ";
  355.             // line 74
  356.             if (sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "ratingAverage", [], "any"falsefalsefalse74)) {
  357.                 // line 75
  358.                 echo "                                            ";
  359.                 $this->loadTemplate("@Storefront/storefront/component/review/rating.html.twig""@Storefront/storefront/component/product/card/box-standard.html.twig"75)->display(twig_array_merge($context, ["points" => sw_get_attribute($this->env$this->source,                 // line 76
  360. ($context["product"] ?? null), "ratingAverage", [], "any"falsefalsefalse76), "style" => "text-primary"]));
  361.                 // line 79
  362.                 echo "                                        ";
  363.             }
  364.             // line 80
  365.             echo "                                    </div>
  366.                                 ";
  367.         }
  368.         // line 82
  369.         echo "                            ";
  370.         
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  372.         
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  374.     }
  375.     // line 84
  376.     public function block_component_product_box_name($context, array $blocks = [])
  377.     {
  378.         $macros $this->macros;
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_name"));
  381.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_name"));
  383.         // line 85
  384.         echo "                                <a href=\"";
  385.         echo twig_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => ($context["id"] ?? null)]), "html"nulltrue);
  386.         echo "\"
  387.                                    class=\"product-name\"
  388.                                    title=\"";
  389.         // line 87
  390.         echo twig_escape_filter($this->env, ($context["name"] ?? null), "html"nulltrue);
  391.         echo "\">
  392.                                     ";
  393.         // line 88
  394.         echo twig_escape_filter($this->env, ($context["name"] ?? null), "html"nulltrue);
  395.         echo "
  396.                                 </a>
  397.                             ";
  398.         
  399.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  400.         
  401.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  402.     }
  403.     // line 92
  404.     public function block_component_product_box_variant_characteristics($context, array $blocks = [])
  405.     {
  406.         $macros $this->macros;
  407.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  408.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_variant_characteristics"));
  409.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  410.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_variant_characteristics"));
  411.         // line 93
  412.         echo "                                <div class=\"product-variant-characteristics\">
  413.                                     <div class=\"product-variant-characteristics-text\">
  414.                                         ";
  415.         // line 95
  416.         $context['_parent'] = $context;
  417.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "variation", [], "any"falsefalsefalse95));
  418.         foreach ($context['_seq'] as $context["_key"] => $context["variation"]) {
  419.             // line 96
  420.             echo "                                            ";
  421.             echo twig_escape_filter($this->envsw_get_attribute($this->env$this->source$context["variation"], "group", [], "any"falsefalsefalse96), "html"nulltrue);
  422.             echo ":
  423.                                             <span class=\"product-variant-characteristics-option\">
  424.                                                 ";
  425.             // line 98
  426.             echo twig_escape_filter($this->envsw_get_attribute($this->env$this->source$context["variation"], "option", [], "any"falsefalsefalse98), "html"nulltrue);
  427.             echo "
  428.                                             </span>
  429.                                             ";
  430.             // line 101
  431.             if ((!== twig_compare(twig_last($this->envsw_get_attribute($this->env$this->source, ($context["product"] ?? null), "variation", [], "any"falsefalsefalse101)), $context["variation"]))) {
  432.                 // line 102
  433.                 echo "                                                ";
  434.                 echo " | ";
  435.                 echo "
  436.                                             ";
  437.             }
  438.             // line 104
  439.             echo "                                        ";
  440.         }
  441.         $_parent $context['_parent'];
  442.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variation'], $context['_parent'], $context['loop']);
  443.         $context array_intersect_key($context$_parent) + $_parent;
  444.         // line 105
  445.         echo "                                    </div>
  446.                                 </div>
  447.                             ";
  448.         
  449.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  450.         
  451.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  452.     }
  453.     // line 109
  454.     public function block_component_product_box_description($context, array $blocks = [])
  455.     {
  456.         $macros $this->macros;
  457.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  458.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_description"));
  459.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  460.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_description"));
  461.         // line 110
  462.         echo "                                <div class=\"product-description\">
  463.                                     ";
  464.         // line 111
  465.         echo twig_striptags(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse111), "description", [], "any"falsefalsefalse111));
  466.         echo "
  467.                                 </div>
  468.                             ";
  469.         
  470.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  471.         
  472.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  473.     }
  474.     // line 115
  475.     public function block_component_product_box_price($context, array $blocks = [])
  476.     {
  477.         $macros $this->macros;
  478.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  479.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_price"));
  480.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  481.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_price"));
  482.         // line 116
  483.         echo "                                ";
  484.         $this->loadTemplate("@ATNTheme/storefront/component/product/card/price-unit.html.twig""@Storefront/storefront/component/product/card/box-standard.html.twig"116)->display($context);
  485.         // line 117
  486.         echo "                            ";
  487.         
  488.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  489.         
  490.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  491.     }
  492.     // line 119
  493.     public function block_component_product_box_action($context, array $blocks = [])
  494.     {
  495.         $macros $this->macros;
  496.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  497.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_action"));
  498.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  499.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_action"));
  500.         // line 120
  501.         echo "                                ";
  502.         $this->loadTemplate("@ATNTheme/storefront/component/product/card/action.html.twig""@Storefront/storefront/component/product/card/box-standard.html.twig"120)->display($context);
  503.         // line 121
  504.         echo "                            ";
  505.         
  506.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  507.         
  508.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  509.     }
  510.     public function getTemplateName()
  511.     {
  512.         return "@Storefront/storefront/component/product/card/box-standard.html.twig";
  513.     }
  514.     public function getDebugInfo()
  515.     {
  516.         return array (  583 => 121,  580 => 120,  570 => 119,  560 => 117,  557 => 116,  547 => 115,  534 => 111,  531 => 110,  521 => 109,  509 => 105,  503 => 104,  497 => 102,  495 => 101,  489 => 98,  483 => 96,  479 => 95,  475 => 93,  465 => 92,  452 => 88,  448 => 87,  442 => 85,  432 => 84,  422 => 82,  418 => 80,  415 => 79,  413 => 76,  411 => 75,  409 => 74,  406 => 73,  403 => 72,  393 => 71,  382 => 122,  380 => 119,  377 => 118,  375 => 115,  372 => 114,  370 => 109,  367 => 108,  365 => 92,  362 => 91,  360 => 84,  357 => 83,  355 => 71,  352 => 70,  342 => 69,  332 => 63,  330 => 61,  328 => 59,  318 => 58,  306 => 65,  303 => 64,  300 => 58,  298 => 57,  294 => 55,  290 => 53,  282 => 50,  279 => 49,  276 => 48,  274 => 46,  273 => 45,  266 => 44,  263 => 43,  260 => 42,  257 => 41,  255 => 40,  252 => 39,  250 => 37,  249 => 36,  248 => 35,  246 => 34,  244 => 33,  240 => 32,  236 => 31,  232 => 30,  229 => 29,  226 => 28,  223 => 27,  220 => 26,  217 => 24,  214 => 23,  211 => 21,  201 => 20,  191 => 18,  188 => 17,  185 => 16,  175 => 15,  165 => 13,  162 => 12,  152 => 11,  141 => 124,  139 => 69,  136 => 68,  134 => 20,  131 => 19,  129 => 15,  126 => 14,  124 => 11,  121 => 10,  111 => 9,  99 => 126,  97 => 9,  93 => 8,  90 => 7,  87 => 6,  84 => 5,  81 => 4,  78 => 3,  75 => 2,  56 => 1,);
  517.     }
  518.     public function getSourceContext()
  519.     {
  520.         return new Source("{% block component_product_box %}
  521.     {% if product %}
  522.         {% set name = product.translated.name %}
  523.         {% set id = product.id %}
  524.         {% set cover = product.cover.media %}
  525.         {% set variation = product.variation %}
  526.         <div class=\"card product-box box-{{ layout }}\">
  527.             {% block component_product_box_content %}
  528.                 <div class=\"card-body\">
  529.                     {% block component_product_box_badges %}
  530.                         {% sw_include '@Storefront/storefront/component/product/card/badges.html.twig' %}
  531.                     {% endblock %}
  532.  
  533.                     {% block component_product_box_rich_snippets %}
  534.                         {% deprecated '@deprecated tag:v6.5.0 - Block will be removed completely including the template it references' %}
  535.                         {% sw_include '@Storefront/storefront/component/product/card/meta.html.twig' %}
  536.                     {% endblock %}
  537.                     {% block component_product_box_image %}
  538.                         <div class=\"product-image-wrapper\">
  539.                             {# fallback if display mode is not set #}
  540.                             {% set displayMode = displayMode ?: 'standard' %}
  541.                             {# set display mode 'cover' for box-image with standard display mode #}
  542.                             {% if layout == 'image' and displayMode == 'standard' %}
  543.                                 {% set displayMode = 'cover' %}
  544.                             {% endif %}
  545.                             <a href=\"{{ seoUrl('frontend.detail.page', {'productId': id}) }}\"
  546.                                title=\"{{ name }}\"
  547.                                class=\"product-image-link is-{{ displayMode }}\">
  548.                                 {% if cover.url %}
  549.                                     {% set attributes = {
  550.                                         'class': 'product-image is-'~displayMode,
  551.                                         'alt': (cover.translated.alt ?: name),
  552.                                         'title': (cover.translated.title ?: name)
  553.                                     } %}
  554.                                     {% if displayMode == 'cover' or displayMode == 'contain' %}
  555.                                         {% set attributes = attributes|merge({ 'data-object-fit': displayMode }) %}
  556.                                     {% endif %}
  557.                                     {% sw_thumbnails 'product-image-thumbnails' with {
  558.                                         media: cover,
  559.                                         sizes: sizes
  560.                                     } %}
  561.                                 {% else %}
  562.                                     <div class=\"product-image-placeholder\">
  563.                                         {% sw_icon 'placeholder' style {
  564.                                             'size': 'fluid'
  565.                                         } %}
  566.                                     </div>
  567.                                 {% endif %}
  568.                             </a>
  569.                             {% if config('core.cart.wishlistEnabled') %}
  570.                                 {% block component_product_box_wishlist_action %}
  571.                                     {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
  572.                                         appearance: 'circle',
  573.                                         productId: id
  574.                                     } %}
  575.                                 {% endblock %}
  576.                             {% endif %}
  577.                         </div>
  578.                     {% endblock %}
  579.                     {% block component_product_box_info %}
  580.                         <div class=\"product-info\">
  581.                             {% block component_product_box_rating %}
  582.                                 {% if config('core.listing.showReview') %}
  583.                                     <div class=\"product-rating\">
  584.                                         {% if product.ratingAverage %}
  585.                                             {% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {
  586.                                                 points: product.ratingAverage,
  587.                                                 style: 'text-primary'
  588.                                             } %}
  589.                                         {% endif %}
  590.                                     </div>
  591.                                 {% endif %}
  592.                             {% endblock %}
  593.                             {% block component_product_box_name %}
  594.                                 <a href=\"{{ seoUrl('frontend.detail.page', {'productId': id}) }}\"
  595.                                    class=\"product-name\"
  596.                                    title=\"{{ name }}\">
  597.                                     {{ name }}
  598.                                 </a>
  599.                             {% endblock %}
  600.                             {% block component_product_box_variant_characteristics %}
  601.                                 <div class=\"product-variant-characteristics\">
  602.                                     <div class=\"product-variant-characteristics-text\">
  603.                                         {% for variation in product.variation %}
  604.                                             {{ variation.group }}:
  605.                                             <span class=\"product-variant-characteristics-option\">
  606.                                                 {{ variation.option }}
  607.                                             </span>
  608.                                             {% if product.variation|last != variation %}
  609.                                                 {{ \" | \" }}
  610.                                             {% endif %}
  611.                                         {% endfor %}
  612.                                     </div>
  613.                                 </div>
  614.                             {% endblock %}
  615.                             {% block component_product_box_description %}
  616.                                 <div class=\"product-description\">
  617.                                     {{ product.translated.description|striptags|raw }}
  618.                                 </div>
  619.                             {% endblock %}
  620.                             {% block component_product_box_price %}
  621.                                 {% sw_include '@Storefront/storefront/component/product/card/price-unit.html.twig' %}
  622.                             {% endblock %}
  623.                             {% block component_product_box_action %}
  624.                                 {% sw_include '@Storefront/storefront/component/product/card/action.html.twig' %}
  625.                             {% endblock %}
  626.                         </div>
  627.                     {% endblock %}
  628.                 </div>
  629.             {% endblock %}
  630.         </div>
  631.     {% endif %}
  632. {% endblock %}
  633. ""@Storefront/storefront/component/product/card/box-standard.html.twig""/www/htdocs/w01c128a/atngmbh.webneo-demo.de/www/vendor/shopware/storefront/Resources/views/storefront/component/product/card/box-standard.html.twig");
  634.     }
  635. }