var/cache/dev_h3c3440ec00b8b6b995f16213b12b8432/twig/cb/cb299c9fe393e03d49da2ae0ae8818b8.php line 65

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