var/cache/dev_h00a6008ac8d83daed65bb1b250bc45b1/twig/cc/cc038a26c30ad628bbfc180c17201d5d13299f12bdf1abf755c980cc8f4eb809.php line 54

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. /* @fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig */
  16. class __TwigTemplate_0cffafc5716e65458a52065b3448ea52 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.             'page_checkout_item_container' => [$this'block_page_checkout_item_container'],
  26.             'page_checkout_item_quantity_number' => [$this'block_page_checkout_item_quantity_number'],
  27.             'page_checkout_item_info' => [$this'block_page_checkout_item_info'],
  28.             'page_checkout_item_quantity_qm' => [$this'block_page_checkout_item_quantity_qm'],
  29.             'page_checkout_item_total_price_qm' => [$this'block_page_checkout_item_total_price_qm'],
  30.             'page_checkout_item_unit_price_wrapper' => [$this'block_page_checkout_item_unit_price_wrapper'],
  31.             'page_checkout_item_unit_price_label' => [$this'block_page_checkout_item_unit_price_label'],
  32.             'page_checkout_item_unit_price_inner' => [$this'block_page_checkout_item_unit_price_inner'],
  33.             'page_checkout_item_unit_price_tax_symbol' => [$this'block_page_checkout_item_unit_price_tax_symbol'],
  34.             'page_checkout_item_total_price_wrapper' => [$this'block_page_checkout_item_total_price_wrapper'],
  35.             'page_checkout_item_total_price_label' => [$this'block_page_checkout_item_total_price_label'],
  36.             'page_checkout_item_total_price_inner' => [$this'block_page_checkout_item_total_price_inner'],
  37.             'page_checkout_item_total_price_tax_symbol' => [$this'block_page_checkout_item_total_price_tax_symbol'],
  38.             'page_checkout_item_remove' => [$this'block_page_checkout_item_remove'],
  39.             'page_checkout_item_children_template' => [$this'block_page_checkout_item_children_template'],
  40.         ];
  41.     }
  42.     protected function doGetParent(array $context)
  43.     {
  44.         // line 2
  45.         return "@AcrisPromotionCS/storefront/page/checkout/checkout-item.html.twig";
  46.     }
  47.     protected function doDisplay(array $context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig"));
  54.         $this->parent $this->loadTemplate("@AcrisPromotionCS/storefront/page/checkout/checkout-item.html.twig""@fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig"2);
  55.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  56.         
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.     }
  61.     // line 3
  62.     public function block_page_checkout_item_container($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_container"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_container"));
  69.         // line 4
  70.         echo "
  71.     ";
  72.         // line 6
  73.         $context["productUnitAkeneoKey"] = (($__internal_compile_0 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, (($__internal_compile_1 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse6), "data", [], "any"falsefalsefalse6), "elements", [], "any"falsefalsefalse6)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse6))] ?? null) : null), "unit", [], "any"falsefalsefalse6), "translated", [], "any"falsefalsefalse6), "customFields", [], "any"falsefalsefalse6)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["akeneo_key"] ?? null) : null);
  74.         // line 7
  75.         echo "    ";
  76.         $context["productPurchaseUnit"] = sw_get_attribute($this->env$this->source, (($__internal_compile_2 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse7), "data", [], "any"falsefalsefalse7), "elements", [], "any"falsefalsefalse7)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse7))] ?? null) : null), "purchaseUnit", [], "any"falsefalsefalse7);
  77.         // line 8
  78.         echo "    ";
  79.         $context["enableUnitConversion"] = (((($context["productUnitAkeneoKey"] ?? null) !== "set") && (($context["productUnitAkeneoKey"] ?? null) !== "box")) && (($context["productPurchaseUnit"] ?? null) !== 1.0));
  80.         // line 9
  81.         echo "
  82.     ";
  83.         // line 10
  84.         $this->displayBlock('page_checkout_item_quantity_number'$context$blocks);
  85.         // line 21
  86.         echo "    ";
  87.         if ((true && (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, (($__internal_compile_3 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse21), "data", [], "any"falsefalsefalse21), "elements", [], "any"falsefalsefalse21)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse21))] ?? null) : null), "unit", [], "any"falsefalsefalse21), "translated", [], "any"falsefalsefalse21), "name", [], "any"falsefalsefalse21) == null))) {
  88.             // line 22
  89.             echo "        ";
  90.             $this->displayParentBlock("page_checkout_item_container"$context$blocks);
  91.             echo "
  92.     ";
  93.         } else {
  94.             // line 25
  95.             echo "        <div class=\"cart-item cart-item-";
  96.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "type", [], "any"falsefalsefalse25), "html"nulltrue);
  97.             if (($context["isDiscount"] ?? null)) {
  98.                 echo " is-discount";
  99.             }
  100.             echo sw_escape_filter($this->env, ($context["cartItemClasses"] ?? null), "html"nulltrue);
  101.             echo " fourtwosix-qm-unit\" data-buybyqmunit-plugin=\"true\">
  102. \t\t\t<div class=\"row cart-item-row\">
  103. \t\t\t\t";
  104.             // line 28
  105.             $this->displayBlock('page_checkout_item_info'$context$blocks);
  106.             // line 31
  107.             echo "
  108.                 ";
  109.             // line 32
  110.             $this->displayBlock('page_checkout_item_quantity_qm'$context$blocks);
  111.             // line 68
  112.             echo "
  113.                 ";
  114.             // line 69
  115.             $this->displayBlock('page_checkout_item_total_price_qm'$context$blocks);
  116.             // line 112
  117.             echo "
  118.                 ";
  119.             // line 113
  120.             $this->displayBlock('page_checkout_item_remove'$context$blocks);
  121.             // line 116
  122.             echo "
  123.                 ";
  124.             // line 117
  125.             $this->displayBlock('page_checkout_item_children_template'$context$blocks);
  126.             // line 120
  127.             echo "
  128. \t\t\t</div>
  129. \t\t</div>
  130.     ";
  131.         }
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.         
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  136.     }
  137.     // line 10
  138.     public function block_page_checkout_item_quantity_number($context, array $blocks = [])
  139.     {
  140.         $macros $this->macros;
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_quantity_number"));
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_quantity_number"));
  145.         // line 11
  146.         echo "        ";
  147.         if ((($context["controllerAction"] ?? null) == "finishPage")) {
  148.             // line 12
  149.             echo "            ";
  150.             if (($context["enableUnitConversion"] ?? null)) {
  151.                 // line 13
  152.                 echo "                <div class=\"d-flex justify-content-end cart-item-quantity\">
  153.                     ";
  154.                 // line 14
  155.                 echo sw_escape_filter($this->env, (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "price", [], "any"falsefalsefalse14), "referencePrice", [], "any"falsefalsefalse14), "purchaseUnit", [], "any"falsefalsefalse14) * sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "quantity", [], "any"falsefalsefalse14)), "html"nulltrue);
  156.                 echo "
  157. \t\t\t</div>
  158.             ";
  159.             } else {
  160.                 // line 17
  161.                 echo "                ";
  162.                 $this->displayParentBlock("page_checkout_item_quantity_number"$context$blocks);
  163.                 echo "
  164.             ";
  165.             }
  166.             // line 19
  167.             echo "        ";
  168.         }
  169.         // line 20
  170.         echo "    ";
  171.         
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  173.         
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  175.     }
  176.     // line 28
  177.     public function block_page_checkout_item_info($context, array $blocks = [])
  178.     {
  179.         $macros $this->macros;
  180.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_info"));
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_info"));
  184.         // line 29
  185.         echo "                    ";
  186.         $this->displayParentBlock("page_checkout_item_info"$context$blocks);
  187.         echo "
  188.                 ";
  189.         
  190.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  191.         
  192.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  193.     }
  194.     // line 32
  195.     public function block_page_checkout_item_quantity_qm($context, array $blocks = [])
  196.     {
  197.         $macros $this->macros;
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_quantity_qm"));
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_quantity_qm"));
  202.         // line 33
  203.         echo "                    <div class=\"col-12 col-sm-4 col-md-4 cart-item-quantity\">
  204. \t\t\t\t\t\t";
  205.         // line 35
  206.         if (((sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any"falsefalsefalse35) && sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "stackable", [], "any"falsefalsefalse35)) &&  !($context["isChild"] ?? null))) {
  207.             // line 36
  208.             echo "                            <form action=\"";
  209.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.change-quantity", ["id" => sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse36)]), "html"nulltrue);
  210.             echo "\" class=\"cart-item-quantity-container cartForm\" method=\"post\" data-form-auto-submit=\"true\">
  211. \t\t\t\t\t\t\t\t";
  212.             // line 38
  213.             echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.change-quantity");
  214.             echo "
  215.                                 ";
  216.             // line 40
  217.             if ((($context["activeRoute"] ?? null) == "frontend.checkout.cart.page")) {
  218.                 // line 41
  219.                 echo "                                    <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
  220. \t\t\t\t\t\t\t\t";
  221.             } elseif ((            // line 42
  222. ($context["activeRoute"] ?? null) == "frontend.checkout.confirm.page")) {
  223.                 // line 43
  224.                 echo "                                    <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.confirm.page\">
  225.                                 ";
  226.             }
  227.             // line 45
  228.             echo "
  229.                                 ";
  230.             // line 46
  231.             $context["quantityUnit"] = sw_get_attribute($this->env$this->source, (($__internal_compile_4 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse46), "data", [], "any"falsefalsefalse46), "elements", [], "any"falsefalsefalse46)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse46))] ?? null) : null), "purchaseUnit", [], "any"falsefalsefalse46);
  232.             // line 47
  233.             echo "                                ";
  234.             $context["quantityPack"] = sw_get_attribute($this->env$this->source, (($__internal_compile_5 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse47), "data", [], "any"falsefalsefalse47), "elements", [], "any"falsefalsefalse47)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse47))] ?? null) : null), "referenceUnit", [], "any"falsefalsefalse47);
  235.             // line 48
  236.             echo "                                ";
  237.             $context["minPurchase"] = sw_get_attribute($this->env$this->source, (($__internal_compile_6 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse48), "data", [], "any"falsefalsefalse48), "elements", [], "any"falsefalsefalse48)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse48))] ?? null) : null), "minPurchase", [], "any"falsefalsefalse48);
  238.             // line 49
  239.             echo "                                ";
  240.             $context["purchaseSteps"] = sw_get_attribute($this->env$this->source, (($__internal_compile_7 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cart", [], "any"falsefalsefalse49), "data", [], "any"falsefalsefalse49), "elements", [], "any"falsefalsefalse49)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[("product-" sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "id", [], "any"falsefalsefalse49))] ?? null) : null), "purchaseSteps", [], "any"falsefalsefalse49);
  241.             // line 50
  242.             echo "                                ";
  243.             $context["availableStock"] = ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "payload", [], "any"falsefalsefalse50), "isCloseout", [], "any"falsefalsefalse50)) ? (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "quantityInformation", [], "any"falsefalsefalse50), "maxPurchase", [], "any"falsefalsefalse50)) : ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"core.cart.maxQuantity")));
  244.             // line 51
  245.             echo "
  246.                                 ";
  247.             // line 52
  248.             $this->loadTemplate("@fourtwosixBuyByQmUnit/storefront/component/product/card/price-qm-unit.html.twig""@fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig"52)->display(twig_array_merge($context, ["isCloseout" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 53
  249. ($context["lineItem"] ?? null), "payload", [], "any"falsefalsefalse53), "isCloseout", [], "any"falsefalsefalse53), "stock" =>             // line 54
  250. ($context["availableStock"] ?? null), "priceUnit" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 55
  251. ($context["lineItem"] ?? null), "price", [], "any"falsefalsefalse55), "unitPrice", [], "any"falsefalsefalse55), "sellingUnit" => (            // line 56
  252. ($context["quantityUnit"] ?? null) * sw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "quantity", [], "any"falsefalsefalse56)), "packUnit" => sw_get_attribute($this->env$this->source,             // line 57
  253. ($context["lineItem"] ?? null), "quantity", [], "any"falsefalsefalse57), "quantityInputName" => "quantity""quantityInputClasses" => "quantity-select""translatedUnitName" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 60
  254. ($context["lineItem"] ?? null), "price", [], "any"falsefalsefalse60), "referencePrice", [], "any"falsefalsefalse60), "unitName", [], "any"falsefalsefalse60), "minPurchase" =>             // line 61
  255. ($context["minPurchase"] ?? null), "purchaseSteps" =>             // line 62
  256. ($context["purchaseSteps"] ?? null)]));
  257.             // line 64
  258.             echo "\t\t\t\t\t\t\t</form>
  259.                         ";
  260.         }
  261.         // line 66
  262.         echo "\t\t\t\t\t</div>
  263.                 ";
  264.         
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  266.         
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  268.     }
  269.     // line 69
  270.     public function block_page_checkout_item_total_price_qm($context, array $blocks = [])
  271.     {
  272.         $macros $this->macros;
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_qm"));
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_qm"));
  277.         // line 70
  278.         echo "                    <div class=\"col-12 col-sm-4 col-md-2 cart-item-total-price\">
  279. \t\t\t\t\t\t<div class=\"d-flex flex-column align-items-end h-fit\">
  280. \t\t\t\t\t\t\t";
  281.         // line 72
  282.         $this->displayBlock('page_checkout_item_unit_price_wrapper'$context$blocks);
  283.         // line 88
  284.         echo "
  285. \t\t\t\t\t\t</div>
  286. \t\t\t\t\t\t<div class=\"mt-md-2 text-right\">
  287. \t\t\t\t\t\t\t";
  288.         // line 92
  289.         $this->displayBlock('page_checkout_item_total_price_wrapper'$context$blocks);
  290.         // line 109
  291.         echo "\t\t\t\t\t\t</div>
  292. \t\t\t\t\t</div>
  293.                 ";
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.         
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  298.     }
  299.     // line 72
  300.     public function block_page_checkout_item_unit_price_wrapper($context, array $blocks = [])
  301.     {
  302.         $macros $this->macros;
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_wrapper"));
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_wrapper"));
  307.         // line 73
  308.         echo "                                ";
  309.         if ( !($context["isDiscount"] ?? null)) {
  310.             // line 74
  311.             echo "                                    ";
  312.             $this->displayBlock('page_checkout_item_unit_price_label'$context$blocks);
  313.             // line 79
  314.             echo "
  315.                                     ";
  316.             // line 80
  317.             $this->displayBlock('page_checkout_item_unit_price_inner'$context$blocks);
  318.             // line 86
  319.             echo "                                ";
  320.         }
  321.         // line 87
  322.         echo "                            ";
  323.         
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325.         
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  327.     }
  328.     // line 74
  329.     public function block_page_checkout_item_unit_price_label($context, array $blocks = [])
  330.     {
  331.         $macros $this->macros;
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_label"));
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_label"));
  336.         // line 75
  337.         echo "                                        <div class=\"cart-item-unit-price-label\">
  338. \t\t\t\t\t\t\t\t\t\t\t";
  339.         // line 76
  340.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeaderUnitPrice"));
  341.         echo "
  342. \t\t\t\t\t\t\t\t\t\t</div>
  343.                                     ";
  344.         
  345.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  346.         
  347.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  348.     }
  349.     // line 80
  350.     public function block_page_checkout_item_unit_price_inner($context, array $blocks = [])
  351.     {
  352.         $macros $this->macros;
  353.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_inner"));
  355.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_inner"));
  357.         // line 81
  358.         echo "                                        ";
  359.         echo sw_escape_filter($this->env$this->extensions['FourtwosixMaintainNetPrice\Decorator\Core\Content\Framework\Adapter\Twig\Filter\CurrencyFilterDecorator']->formatCurrency($contextsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "price", [], "any"falsefalsefalse81), "unitPrice", [], "any"falsefalsefalse81)), "html"nulltrue);
  360.         echo "
  361.                                         ";
  362.         // line 82
  363.         $this->displayBlock('page_checkout_item_unit_price_tax_symbol'$context$blocks);
  364.         // line 85
  365.         echo "                                    ";
  366.         
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  368.         
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  370.     }
  371.     // line 82
  372.     public function block_page_checkout_item_unit_price_tax_symbol($context, array $blocks = [])
  373.     {
  374.         $macros $this->macros;
  375.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_tax_symbol"));
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  378.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_unit_price_tax_symbol"));
  379.         // line 83
  380.         echo "                                            ";
  381.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  382.         echo "
  383.                                         ";
  384.         
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386.         
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  388.     }
  389.     // line 92
  390.     public function block_page_checkout_item_total_price_wrapper($context, array $blocks = [])
  391.     {
  392.         $macros $this->macros;
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_wrapper"));
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_wrapper"));
  397.         // line 93
  398.         echo "                                ";
  399.         $this->displayBlock('page_checkout_item_total_price_label'$context$blocks);
  400.         // line 98
  401.         echo "
  402. \t\t\t\t\t\t\t\t";
  403.         // line 99
  404.         $this->displayBlock('page_checkout_item_total_price_inner'$context$blocks);
  405.         // line 108
  406.         echo "                            ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     // line 93
  413.     public function block_page_checkout_item_total_price_label($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_label"));
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_label"));
  420.         // line 94
  421.         echo "                                    <div class=\"cart-item-total-price-label fts-qm\">
  422. \t\t\t\t\t\t\t\t\t\t";
  423.         // line 95
  424.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.cartHeaderTotalPrice"));
  425.         echo "
  426. \t\t\t\t\t\t\t\t\t</div>
  427.                                 ";
  428.         
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  430.         
  431.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  432.     }
  433.     // line 99
  434.     public function block_page_checkout_item_total_price_inner($context, array $blocks = [])
  435.     {
  436.         $macros $this->macros;
  437.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  438.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_inner"));
  439.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  440.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_inner"));
  441.         // line 100
  442.         echo "                                ";
  443.         // line 101
  444.         echo "                                ";
  445.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "payload", [], "any"falsefalsefalse101), "discountScope", [], "any"falsefalsefalse101) != "delivery")) {
  446.             // line 102
  447.             echo "                                    <b class=\"totalPrice\">";
  448.             echo sw_escape_filter($this->env$this->extensions['FourtwosixMaintainNetPrice\Decorator\Core\Content\Framework\Adapter\Twig\Filter\CurrencyFilterDecorator']->formatCurrency($contextsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["lineItem"] ?? null), "price", [], "any"falsefalsefalse102), "totalPrice", [], "any"falsefalsefalse102)), "html"nulltrue);
  449.             echo "</b>
  450.                                     ";
  451.             // line 103
  452.             $this->displayBlock('page_checkout_item_total_price_tax_symbol'$context$blocks);
  453.             // line 106
  454.             echo "                                ";
  455.         }
  456.         // line 107
  457.         echo "                            ";
  458.         
  459.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  460.         
  461.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  462.     }
  463.     // line 103
  464.     public function block_page_checkout_item_total_price_tax_symbol($context, array $blocks = [])
  465.     {
  466.         $macros $this->macros;
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  468.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_tax_symbol"));
  469.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  470.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_total_price_tax_symbol"));
  471.         // line 104
  472.         echo "                                        ";
  473.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  474.         echo "
  475.                                     ";
  476.         
  477.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  478.         
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  480.     }
  481.     // line 113
  482.     public function block_page_checkout_item_remove($context, array $blocks = [])
  483.     {
  484.         $macros $this->macros;
  485.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  486.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_remove"));
  487.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_remove"));
  489.         // line 114
  490.         echo "                    ";
  491.         $this->displayParentBlock("page_checkout_item_remove"$context$blocks);
  492.         echo "
  493.                 ";
  494.         
  495.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  496.         
  497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  498.     }
  499.     // line 117
  500.     public function block_page_checkout_item_children_template($context, array $blocks = [])
  501.     {
  502.         $macros $this->macros;
  503.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  504.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_children_template"));
  505.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  506.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_item_children_template"));
  507.         // line 118
  508.         echo "                    ";
  509.         $this->displayParentBlock("page_checkout_item_children_template"$context$blocks);
  510.         echo "
  511.                 ";
  512.         
  513.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  514.         
  515.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  516.     }
  517.     public function getTemplateName()
  518.     {
  519.         return "@fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig";
  520.     }
  521.     public function isTraitable()
  522.     {
  523.         return false;
  524.     }
  525.     public function getDebugInfo()
  526.     {
  527.         return array (  597 => 118,  587 => 117,  574 => 114,  564 => 113,  551 => 104,  541 => 103,  531 => 107,  528 => 106,  526 => 103,  521 => 102,  518 => 101,  516 => 100,  506 => 99,  493 => 95,  490 => 94,  480 => 93,  470 => 108,  468 => 99,  465 => 98,  462 => 93,  452 => 92,  439 => 83,  429 => 82,  419 => 85,  417 => 82,  412 => 81,  402 => 80,  389 => 76,  386 => 75,  376 => 74,  366 => 87,  363 => 86,  361 => 80,  358 => 79,  355 => 74,  352 => 73,  342 => 72,  330 => 109,  328 => 92,  322 => 88,  320 => 72,  316 => 70,  306 => 69,  295 => 66,  291 => 64,  289 => 62,  288 => 61,  287 => 60,  286 => 57,  285 => 56,  284 => 55,  283 => 54,  282 => 53,  281 => 52,  278 => 51,  275 => 50,  272 => 49,  269 => 48,  266 => 47,  264 => 46,  261 => 45,  257 => 43,  255 => 42,  252 => 41,  250 => 40,  245 => 38,  239 => 36,  237 => 35,  233 => 33,  223 => 32,  210 => 29,  200 => 28,  190 => 20,  187 => 19,  181 => 17,  175 => 14,  172 => 13,  169 => 12,  166 => 11,  156 => 10,  142 => 120,  140 => 117,  137 => 116,  135 => 113,  132 => 112,  130 => 69,  127 => 68,  125 => 32,  122 => 31,  120 => 28,  109 => 25,  102 => 22,  99 => 21,  97 => 10,  94 => 9,  91 => 8,  88 => 7,  86 => 6,  82 => 4,  72 => 3,  49 => 2,);
  528.     }
  529.     public function getSourceContext()
  530.     {
  531.         return new Source("{% sw_extends '@Storefront/storefront/page/checkout/checkout-item.html.twig' %}
  532. {% block page_checkout_item_container %}
  533.     {% set productUnitAkeneoKey = page.cart.data.elements[\"product-\"~ lineItem.id].unit.translated.customFields[\"akeneo_key\"] %}
  534.     {% set productPurchaseUnit = page.cart.data.elements[\"product-\"~ lineItem.id].purchaseUnit %}
  535.     {% set enableUnitConversion = productUnitAkeneoKey !== \"set\" and  productUnitAkeneoKey !== \"box\" and productPurchaseUnit !== 1.0 %}
  536.     {% block page_checkout_item_quantity_number %}
  537.         {% if controllerAction == \"finishPage\" %}
  538.             {% if enableUnitConversion %}
  539.                 <div class=\"d-flex justify-content-end cart-item-quantity\">
  540.                     {{ lineItem.price.referencePrice.purchaseUnit * lineItem.quantity }}
  541. \t\t\t</div>
  542.             {% else %}
  543.                 {{ parent() }}
  544.             {% endif %}
  545.         {% endif %}
  546.     {% endblock %}
  547.     {% if true and page.cart.data.elements[\"product-\"~ lineItem.id].unit.translated.name == null %}
  548.         {{ parent() }}
  549.     {% else %}
  550.         <div class=\"cart-item cart-item-{{ lineItem.type }}{% if isDiscount %} is-discount{% endif %}{{ cartItemClasses }} fourtwosix-qm-unit\" data-buybyqmunit-plugin=\"true\">
  551. \t\t\t<div class=\"row cart-item-row\">
  552. \t\t\t\t{% block page_checkout_item_info %}
  553.                     {{ parent() }}
  554.                 {% endblock %}
  555.                 {% block page_checkout_item_quantity_qm %}
  556.                     <div class=\"col-12 col-sm-4 col-md-4 cart-item-quantity\">
  557. \t\t\t\t\t\t{% if lineItem.quantityInformation and lineItem.stackable and not isChild %}
  558.                             <form action=\"{{ path('frontend.checkout.line-item.change-quantity', {'id': lineItem.id}) }}\" class=\"cart-item-quantity-container cartForm\" method=\"post\" data-form-auto-submit=\"true\">
  559. \t\t\t\t\t\t\t\t{{ sw_csrf('frontend.checkout.line-item.change-quantity') }}
  560.                                 {% if activeRoute == \"frontend.checkout.cart.page\" %}
  561.                                     <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
  562. \t\t\t\t\t\t\t\t{% elseif activeRoute == \"frontend.checkout.confirm.page\" %}
  563.                                     <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.confirm.page\">
  564.                                 {% endif %}
  565.                                 {% set quantityUnit = page.cart.data.elements[\"product-\"~ lineItem.id].purchaseUnit %}
  566.                                 {% set quantityPack = page.cart.data.elements[\"product-\"~ lineItem.id].referenceUnit %}
  567.                                 {% set minPurchase = page.cart.data.elements[\"product-\"~ lineItem.id].minPurchase %}
  568.                                 {% set purchaseSteps = page.cart.data.elements[\"product-\"~ lineItem.id].purchaseSteps %}
  569.                                 {% set availableStock = lineItem.payload.isCloseout ? lineItem.quantityInformation.maxPurchase : config('core.cart.maxQuantity') %}
  570.                                 {% sw_include '@Storefront/storefront/component/product/card/price-qm-unit.html.twig' with {
  571.                                     'isCloseout': lineItem.payload.isCloseout,
  572.                                     'stock': availableStock,
  573.                                     'priceUnit': lineItem.price.unitPrice,
  574.                                     'sellingUnit': quantityUnit * lineItem.quantity,
  575.                                     'packUnit': lineItem.quantity,
  576.                                     'quantityInputName': \"quantity\",
  577.                                     'quantityInputClasses': 'quantity-select',
  578.                                     'translatedUnitName' : lineItem.price.referencePrice.unitName,
  579.                                     'minPurchase': minPurchase,
  580.                                     'purchaseSteps': purchaseSteps
  581.                                 } %}
  582. \t\t\t\t\t\t\t</form>
  583.                         {% endif %}
  584. \t\t\t\t\t</div>
  585.                 {% endblock %}
  586.                 {% block page_checkout_item_total_price_qm %}
  587.                     <div class=\"col-12 col-sm-4 col-md-2 cart-item-total-price\">
  588. \t\t\t\t\t\t<div class=\"d-flex flex-column align-items-end h-fit\">
  589. \t\t\t\t\t\t\t{% block page_checkout_item_unit_price_wrapper %}
  590.                                 {% if not isDiscount %}
  591.                                     {% block page_checkout_item_unit_price_label %}
  592.                                         <div class=\"cart-item-unit-price-label\">
  593. \t\t\t\t\t\t\t\t\t\t\t{{ \"checkout.cartHeaderUnitPrice\"|trans|sw_sanitize }}
  594. \t\t\t\t\t\t\t\t\t\t</div>
  595.                                     {% endblock %}
  596.                                     {% block page_checkout_item_unit_price_inner %}
  597.                                         {{ lineItem.price.unitPrice|currency }}
  598.                                         {% block page_checkout_item_unit_price_tax_symbol %}
  599.                                             {{ \"general.star\"|trans|sw_sanitize }}
  600.                                         {% endblock %}
  601.                                     {% endblock %}
  602.                                 {% endif %}
  603.                             {% endblock %}
  604. \t\t\t\t\t\t</div>
  605. \t\t\t\t\t\t<div class=\"mt-md-2 text-right\">
  606. \t\t\t\t\t\t\t{% block page_checkout_item_total_price_wrapper %}
  607.                                 {% block page_checkout_item_total_price_label %}
  608.                                     <div class=\"cart-item-total-price-label fts-qm\">
  609. \t\t\t\t\t\t\t\t\t\t{{ \"checkout.cartHeaderTotalPrice\"|trans|sw_sanitize }}
  610. \t\t\t\t\t\t\t\t\t</div>
  611.                                 {% endblock %}
  612. \t\t\t\t\t\t\t\t{% block page_checkout_item_total_price_inner %}
  613.                                 {# Shipping costs discounts always have a price of 0, which might be confusing, therefore we do not show those #}
  614.                                 {% if lineItem.payload.discountScope != 'delivery' %}
  615.                                     <b class=\"totalPrice\">{{ lineItem.price.totalPrice|currency }}</b>
  616.                                     {% block page_checkout_item_total_price_tax_symbol %}
  617.                                         {{ \"general.star\"|trans|sw_sanitize }}
  618.                                     {% endblock %}
  619.                                 {% endif %}
  620.                             {% endblock %}
  621.                             {% endblock %}
  622. \t\t\t\t\t\t</div>
  623. \t\t\t\t\t</div>
  624.                 {% endblock %}
  625.                 {% block page_checkout_item_remove %}
  626.                     {{ parent() }}
  627.                 {% endblock %}
  628.                 {% block page_checkout_item_children_template %}
  629.                     {{ parent() }}
  630.                 {% endblock %}
  631. \t\t\t</div>
  632. \t\t</div>
  633.     {% endif %}
  634. {% endblock %}
  635. ""@fourtwosixBuyByQmUnit/storefront/page/checkout/checkout-item.html.twig""/var/www/dev.artecon.426.agency/custom/plugins/fourtwosixBuyByQmUnit/src/Resources/views/storefront/page/checkout/checkout-item.html.twig");
  636.     }
  637. }