var/cache/dev_hc896b0aecebc6aae6bec469c82cd525f/twig/29/29c7481485d573940020440cd918409a9901ac74056d06473f6bba842ba62803.php line 58

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. /* @EfbStorefront/storefront/component/product/card/box-standard.html.twig */
  16. class __TwigTemplate_9b9c32886a0160c8b9bc371ce97fa7d2 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_info' => [$this'block_component_product_box_info'],
  26.             'component_product_box_rating' => [$this'block_component_product_box_rating'],
  27.             'component_product_box_ordernumber' => [$this'block_component_product_box_ordernumber'],
  28.             'component_product_box_name' => [$this'block_component_product_box_name'],
  29.             'component_product_box_variant_characteristics' => [$this'block_component_product_box_variant_characteristics'],
  30.             'component_product_box_description' => [$this'block_component_product_box_description'],
  31.             'component_product_box_delivery' => [$this'block_component_product_box_delivery'],
  32.             'component_product_box_price' => [$this'block_component_product_box_price'],
  33.             'component_product_box_action' => [$this'block_component_product_box_action'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context)
  37.     {
  38.         // line 2
  39.         return "@Storefront/storefront/component/product/card/box-standard.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = [])
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EfbStorefront/storefront/component/product/card/box-standard.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EfbStorefront/storefront/component/product/card/box-standard.html.twig"));
  48.         $this->parent $this->loadTemplate("@Storefront/storefront/component/product/card/box-standard.html.twig""@EfbStorefront/storefront/component/product/card/box-standard.html.twig"2);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 4
  56.     public function block_component_product_box_info($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_info"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_info"));
  63.         // line 5
  64.         echo "
  65.     <div class=\"product-info\">
  66.         ";
  67.         // line 7
  68.         $this->displayBlock('component_product_box_rating'$context$blocks);
  69.         // line 9
  70.         echo "
  71.         ";
  72.         // line 10
  73.         $this->displayBlock('component_product_box_ordernumber'$context$blocks);
  74.         // line 17
  75.         echo "
  76.         ";
  77.         // line 18
  78.         $this->displayBlock('component_product_box_name'$context$blocks);
  79.         // line 21
  80.         echo "
  81.         ";
  82.         // line 22
  83.         $this->displayBlock('component_product_box_variant_characteristics'$context$blocks);
  84.         // line 32
  85.         echo "
  86.         ";
  87.         // line 33
  88.         $this->displayBlock('component_product_box_description'$context$blocks);
  89.         // line 34
  90.         echo "
  91.         ";
  92.         // line 35
  93.         $this->displayBlock('component_product_box_delivery'$context$blocks);
  94.         // line 62
  95.         echo "
  96.         ";
  97.         // line 63
  98.         $this->displayBlock('component_product_box_price'$context$blocks);
  99.         // line 70
  100.         echo "
  101.         ";
  102.         // line 71
  103.         $this->displayBlock('component_product_box_action'$context$blocks);
  104.         // line 74
  105.         echo "    </div>
  106. ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     // line 7
  113.     public function block_component_product_box_rating($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_rating"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_rating"));
  120.         // line 8
  121.         echo "        ";
  122.         
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.     }
  127.     // line 10
  128.     public function block_component_product_box_ordernumber($context, array $blocks = [])
  129.     {
  130.         $macros $this->macros;
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_ordernumber"));
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_ordernumber"));
  135.         // line 11
  136.         echo "            <p class=\"product-ordernumber\">
  137.                 <span class=\"product-ordernumber-label\">";
  138.         // line 12
  139.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.ordernumberLabel"));
  140.         echo "</span>
  141.                 <span class=\"product-ordernumber-value\">";
  142.         // line 13
  143.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["product"] ?? null), "productNumber", [], "any"falsefalsefalse13), "html"nulltrue);
  144.         echo "</span>
  145.             </p>
  146.         ";
  147.         
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  149.         
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  151.     }
  152.     // line 18
  153.     public function block_component_product_box_name($context, array $blocks = [])
  154.     {
  155.         $macros $this->macros;
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_name"));
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_name"));
  160.         // line 19
  161.         echo "            ";
  162.         $this->displayParentBlock("component_product_box_name"$context$blocks);
  163.         echo "
  164.         ";
  165.         
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  167.         
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  169.     }
  170.     // line 22
  171.     public function block_component_product_box_variant_characteristics($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_variant_characteristics"));
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_variant_characteristics"));
  178.         // line 23
  179.         echo "            <div class=\"product-variant-characteristics\">
  180.                 ";
  181.         // line 24
  182.         $context['_parent'] = $context;
  183.         $context['_seq'] = twig_ensure_traversable(twig_slice($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->filter(sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "variation", [], "any"falsefalsefalse24), function ($__variation__) use ($context$macros) { $context["variation"] = $__variation__; return  !(sw_get_attribute($this->env$this->source$context["variation"], "group", [], "any"falsefalsefalse24) === "fallback_model"); }), 04));
  184.         foreach ($context['_seq'] as $context["_key"] => $context["variation"]) {
  185.             // line 25
  186.             echo "                    <div class=\"product-variant-characteristics-item\">
  187.                         <span class=\"product-variant-characteristics-label\">";
  188.             // line 26
  189.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source$context["variation"], "group", [], "any"falsefalsefalse26), "html"nulltrue);
  190.             echo ":</span>
  191.                         <span class=\"product-variant-characteristics-value\">";
  192.             // line 27
  193.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source$context["variation"], "option", [], "any"falsefalsefalse27), "html"nulltrue);
  194.             echo "</span>
  195.                     </div>
  196.                 ";
  197.         }
  198.         $_parent $context['_parent'];
  199.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variation'], $context['_parent'], $context['loop']);
  200.         $context array_intersect_key($context$_parent) + $_parent;
  201.         // line 30
  202.         echo "            </div>
  203.         ";
  204.         
  205.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  206.         
  207.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  208.     }
  209.     // line 33
  210.     public function block_component_product_box_description($context, array $blocks = [])
  211.     {
  212.         $macros $this->macros;
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_description"));
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_description"));
  217.         
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  219.         
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  221.     }
  222.     // line 35
  223.     public function block_component_product_box_delivery($context, array $blocks = [])
  224.     {
  225.         $macros $this->macros;
  226.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_delivery"));
  228.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  229.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_delivery"));
  230.         // line 36
  231.         echo "            ";
  232.         if ( !(null === sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "customer", [], "any"falsefalsefalse36))) {
  233.             // line 37
  234.             echo "                ";
  235.             $context["stockInfo"] = $this->extensions['Uandi\EFB\Storefront\Twig\DecodeStockInfoFunction']->decodeStockInfo(($context["product"] ?? null), ($context["context"] ?? null));
  236.             // line 38
  237.             echo "                <div class=\"product-detail-delivery-information\">
  238.                     ";
  239.             // line 39
  240.             if ((($context["stockInfo"] ?? null) && sw_get_attribute($this->env$this->source, ($context["stockInfo"] ?? null), "stock", [], "any"truetruefalse39))) {
  241.                 // line 40
  242.                 echo "                        <div class=\"product-detail-delivery-information-stock\">
  243.                             ";
  244.                 // line 41
  245.                 if ((sw_get_attribute($this->env$this->source, ($context["stockInfo"] ?? null), "stock", [], "any"falsefalsefalse41) > 0)) {
  246.                     // line 42
  247.                     echo "                                <span class=\"delivery-status-indicator bg-success\"></span>
  248.                             ";
  249.                 } elseif (( !twig_test_empty(sw_get_attribute($this->env$this->source,                 // line 43
  250. ($context["stockInfo"] ?? null), "restock", [], "any"falsefalsefalse43)) || sw_get_attribute($this->env$this->source, ($context["stockInfo"] ?? null), "reorder", [], "any"falsefalsefalse43))) {
  251.                     // line 44
  252.                     echo "                                <span class=\"delivery-status-indicator bg-warning\"></span>
  253.                             ";
  254.                 } else {
  255.                     // line 46
  256.                     echo "                                <span class=\"delivery-status-indicator bg-danger\"></span>
  257.                             ";
  258.                 }
  259.                 // line 48
  260.                 echo "                            ";
  261.                 if ((sw_get_attribute($this->env$this->source, ($context["stockInfo"] ?? null), "stock", [], "any"falsefalsefalse48) > 0)) {
  262.                     // line 49
  263.                     echo "                                ";
  264.                     if ((sw_get_attribute($this->env$this->source, ($context["stockInfo"] ?? null), "stock", [], "any"falsefalsefalse49) > 1000)) {
  265.                         // line 50
  266.                         echo "                                    ";
  267.                         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.inStock", ["%stock%" => "1000+"]));
  268.                         echo "
  269.                                 ";
  270.                     } else {
  271.                         // line 52
  272.                         echo "                                    ";
  273.                         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.inStock", ["%stock%" => sw_get_attribute($this->env$this->source, ($context["stockInfo"] ?? null), "stock", [], "any"falsefalsefalse52)]));
  274.                         echo "
  275.                                 ";
  276.                     }
  277.                     // line 54
  278.                     echo "                            ";
  279.                 } else {
  280.                     // line 55
  281.                     echo "                                ";
  282.                     echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.noStock"));
  283.                     echo "
  284.                             ";
  285.                 }
  286.                 // line 57
  287.                 echo "                        </div>
  288.                     ";
  289.             }
  290.             // line 59
  291.             echo "                </div>
  292.             ";
  293.         }
  294.         // line 61
  295.         echo "        ";
  296.         
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  298.         
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  300.     }
  301.     // line 63
  302.     public function block_component_product_box_price($context, array $blocks = [])
  303.     {
  304.         $macros $this->macros;
  305.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_price"));
  307.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_price"));
  309.         // line 64
  310.         echo "            ";
  311.         $context["hidePrice"] = ( !sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "customer", [], "any"falsefalsefalse64) || sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse64), "customFields", [], "any"falsefalsefalse64), "custom_fields_sales_channel_hide_prices_listing", [], "any"falsefalsefalse64));
  312.         // line 65
  313.         echo "
  314.             ";
  315.         // line 66
  316.         if ( !($context["hidePrice"] ?? null)) {
  317.             // line 67
  318.             echo "                ";
  319.             $this->loadTemplate("@FaesslichSlider/storefront/component/product/card/price-unit.html.twig""@EfbStorefront/storefront/component/product/card/box-standard.html.twig"67)->display($context);
  320.             // line 68
  321.             echo "            ";
  322.         }
  323.         // line 69
  324.         echo "        ";
  325.         
  326.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  327.         
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  329.     }
  330.     // line 71
  331.     public function block_component_product_box_action($context, array $blocks = [])
  332.     {
  333.         $macros $this->macros;
  334.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  335.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_action"));
  336.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  337.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_box_action"));
  338.         // line 72
  339.         echo "            ";
  340.         $this->displayParentBlock("component_product_box_action"$context$blocks);
  341.         echo "
  342.         ";
  343.         
  344.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  345.         
  346.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  347.     }
  348.     public function getTemplateName()
  349.     {
  350.         return "@EfbStorefront/storefront/component/product/card/box-standard.html.twig";
  351.     }
  352.     public function isTraitable()
  353.     {
  354.         return false;
  355.     }
  356.     public function getDebugInfo()
  357.     {
  358.         return array (  392 => 72,  382 => 71,  372 => 69,  369 => 68,  366 => 67,  364 => 66,  361 => 65,  358 => 64,  348 => 63,  338 => 61,  334 => 59,  330 => 57,  324 => 55,  321 => 54,  315 => 52,  309 => 50,  306 => 49,  303 => 48,  299 => 46,  295 => 44,  293 => 43,  290 => 42,  288 => 41,  285 => 40,  283 => 39,  280 => 38,  277 => 37,  274 => 36,  264 => 35,  246 => 33,  235 => 30,  226 => 27,  222 => 26,  219 => 25,  215 => 24,  212 => 23,  202 => 22,  189 => 19,  179 => 18,  165 => 13,  161 => 12,  158 => 11,  148 => 10,  138 => 8,  128 => 7,  117 => 74,  115 => 71,  112 => 70,  110 => 63,  107 => 62,  105 => 35,  102 => 34,  100 => 33,  97 => 32,  95 => 22,  92 => 21,  90 => 18,  87 => 17,  85 => 10,  82 => 9,  80 => 7,  76 => 5,  66 => 4,  43 => 2,);
  359.     }
  360.     public function getSourceContext()
  361.     {
  362.         return new Source("{% sw_extends '@Storefront/storefront/component/product/card/box-standard.html.twig' %}
  363. {% block component_product_box_info %}
  364.     <div class=\"product-info\">
  365.         {% block component_product_box_rating %}
  366.         {% endblock %}
  367.         {% block component_product_box_ordernumber %}
  368.             <p class=\"product-ordernumber\">
  369.                 <span class=\"product-ordernumber-label\">{{ \"listing.ordernumberLabel\"|trans|sw_sanitize }}</span>
  370.                 <span class=\"product-ordernumber-value\">{{ product.productNumber }}</span>
  371.             </p>
  372.         {% endblock %}
  373.         {% block component_product_box_name %}
  374.             {{ parent() }}
  375.         {% endblock %}
  376.         {% block component_product_box_variant_characteristics %}
  377.             <div class=\"product-variant-characteristics\">
  378.                 {% for variation in product.variation|filter(variation => variation.group is not same as('fallback_model'))|slice(0, 4) %}
  379.                     <div class=\"product-variant-characteristics-item\">
  380.                         <span class=\"product-variant-characteristics-label\">{{ variation.group }}:</span>
  381.                         <span class=\"product-variant-characteristics-value\">{{ variation.option }}</span>
  382.                     </div>
  383.                 {% endfor %}
  384.             </div>
  385.         {% endblock %}
  386.         {% block component_product_box_description %}{% endblock %}
  387.         {% block component_product_box_delivery %}
  388.             {% if context.customer is not null %}
  389.                 {% set stockInfo = decodeStockInfo(product, context) %}
  390.                 <div class=\"product-detail-delivery-information\">
  391.                     {% if stockInfo and stockInfo.stock is defined %}
  392.                         <div class=\"product-detail-delivery-information-stock\">
  393.                             {% if stockInfo.stock > 0 %}
  394.                                 <span class=\"delivery-status-indicator bg-success\"></span>
  395.                             {% elseif stockInfo.restock is not empty or stockInfo.reorder %}
  396.                                 <span class=\"delivery-status-indicator bg-warning\"></span>
  397.                             {% else %}
  398.                                 <span class=\"delivery-status-indicator bg-danger\"></span>
  399.                             {% endif %}
  400.                             {% if stockInfo.stock > 0 %}
  401.                                 {% if stockInfo.stock > 1000 %}
  402.                                     {{ \"listing.inStock\"|trans({'%stock%': '1000+'})|sw_sanitize }}
  403.                                 {% else %}
  404.                                     {{ \"listing.inStock\"|trans({'%stock%': stockInfo.stock})|sw_sanitize }}
  405.                                 {% endif %}
  406.                             {% else %}
  407.                                 {{ \"listing.noStock\"|trans|sw_sanitize }}
  408.                             {% endif %}
  409.                         </div>
  410.                     {% endif %}
  411.                 </div>
  412.             {% endif %}
  413.         {% endblock %}
  414.         {% block component_product_box_price %}
  415.             {% set hidePrice = not context.customer or context.salesChannel.customFields.custom_fields_sales_channel_hide_prices_listing %}
  416.             {% if not hidePrice %}
  417.                 {% sw_include '@Storefront/storefront/component/product/card/price-unit.html.twig' %}
  418.             {% endif %}
  419.         {% endblock %}
  420.         {% block component_product_box_action %}
  421.             {{ parent() }}
  422.         {% endblock %}
  423.     </div>
  424. {% endblock %}
  425. ""@EfbStorefront/storefront/component/product/card/box-standard.html.twig""/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/static-plugins/EfbStorefront/Resources/views/storefront/component/product/card/box-standard.html.twig");
  426.     }
  427. }