<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig */
class __TwigTemplate_8dcde8fb0b198f96203d9b5cf4721ec4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
// line 2
$_trait_0 = $this->loadTemplate("@ThemeOkeOnline/storefront/page/checkout/_oo-page-trait.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 2);
if (!$_trait_0->isTraitable()) {
throw new RuntimeError('Template "'."@ThemeOkeOnline/storefront/page/checkout/_oo-page-trait.html.twig".'" cannot be used as a trait.', 2, $this->source);
}
$_trait_0_blocks = $_trait_0->getBlocks();
$this->traits = $_trait_0_blocks;
$this->blocks = array_merge(
$this->traits,
[
'page_checkout_bottom_content_container' => [$this, 'block_page_checkout_bottom_content_container'],
'page_checkout_main_content' => [$this, 'block_page_checkout_main_content'],
'page_checkout_cart' => [$this, 'block_page_checkout_cart'],
'page_checkout_cart_header' => [$this, 'block_page_checkout_cart_header'],
'page_checkout_cart_product_table' => [$this, 'block_page_checkout_cart_product_table'],
'page_checkout_cart_table_header' => [$this, 'block_page_checkout_cart_table_header'],
'page_checkout_cart_table_items' => [$this, 'block_page_checkout_cart_table_items'],
'page_checkout_cart_table_item' => [$this, 'block_page_checkout_cart_table_item'],
'page_checkout_item' => [$this, 'block_page_checkout_item'],
'page_checkout_cart_table_oo_upsell_wrapper' => [$this, 'block_page_checkout_cart_table_oo_upsell_wrapper'],
'page_checkout_oo_cart_product_table_footer' => [$this, 'block_page_checkout_oo_cart_product_table_footer'],
'page_checkout_cart_hidden_line_items_information' => [$this, 'block_page_checkout_cart_hidden_line_items_information'],
'page_checkout_cart_add_product_and_shipping' => [$this, 'block_page_checkout_cart_add_product_and_shipping'],
'page_checkout_cart_add_product' => [$this, 'block_page_checkout_cart_add_product'],
'page_checkout_cart_add_product_csrf' => [$this, 'block_page_checkout_cart_add_product_csrf'],
'page_checkout_cart_add_product_redirect' => [$this, 'block_page_checkout_cart_add_product_redirect'],
'page_checkout_cart_add_product_input_group' => [$this, 'block_page_checkout_cart_add_product_input_group'],
'page_checkout_cart_shipping_costs' => [$this, 'block_page_checkout_cart_shipping_costs'],
'page_checkout_cart_shipping_costs_csrf' => [$this, 'block_page_checkout_cart_shipping_costs_csrf'],
'page_checkout_cart_shipping_costs_trigger' => [$this, 'block_page_checkout_cart_shipping_costs_trigger'],
'page_checkout_cart_shipping_costs_form_group' => [$this, 'block_page_checkout_cart_shipping_costs_form_group'],
'page_checkout_cart_shipping_costs_form_group_country' => [$this, 'block_page_checkout_cart_shipping_costs_form_group_country'],
'page_checkout_cart_shipping_costs_form_group_payment_method' => [$this, 'block_page_checkout_cart_shipping_costs_form_group_payment_method'],
'page_checkout_cart_shipping_costs_form_group_shipping_method' => [$this, 'block_page_checkout_cart_shipping_costs_form_group_shipping_method'],
'page_checkout_cart_bottom_content' => [$this, 'block_page_checkout_cart_bottom_content'],
'page_checkout_aside_actions' => [$this, 'block_page_checkout_aside_actions'],
'oo_delivery_week_selector' => [$this, 'block_oo_delivery_week_selector'],
'page_checkout_cart_add_promotion' => [$this, 'block_page_checkout_cart_add_promotion'],
'page_checkout_cart_action_proceed' => [$this, 'block_page_checkout_cart_action_proceed'],
'oo_proceed_icon' => [$this, 'block_oo_proceed_icon'],
'page_checkout_cart_add_promotion_submit' => [$this, 'block_page_checkout_cart_add_promotion_submit'],
'base_main' => [$this, 'block_base_main'],
'page_checkout' => [$this, 'block_page_checkout'],
]
);
}
protected function doGetParent(array $context)
{
return "@MolliePayments/storefront/page/checkout/cart/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig"));
// line 9
$context["proceedIcon"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayProceedIcon");
// line 10
$context["displayShippingCountry"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayShippingCountry");
// line 11
$context["displayShippingMethod"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayShippingMethod");
// line 12
$context["displayBlancoShipping"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayBlancoShipping");
// line 13
$context["displayPaymentMethod"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayPaymentMethod");
// line 14
$context["displayTitleInStepperbar"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayTitleInStepperbar");
// line 15
$context["showShippingCostInput"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayShippingCostInput");
// line 16
$context["shippingCostInputCollapsable"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralCollapsableShippingCostInput");
// line 17
$context["shippingCostInputVersion"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralShippingCostInputVersion");
// line 18
$context["showProductNumberInMain"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayProductNumberInput");
// line 19
$context["showVoucherInAside"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayVoucherInSidebar") && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayVoucher"));
// line 20
$context["showVoucherInMain"] = ((($context["showVoucherInAside"] ?? null) == false) && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayVoucher"));
// line 21
$context["showDeliveryDateInAside"] = ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayDeliveryDateInSidebar") && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayDeliveryDate"));
// line 22
$context["showDeliveryDateInMain"] = ((($context["showDeliveryDateInAside"] ?? null) == false) && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayDeliveryDate"));
// line 23
$context["showUpsellInMain"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsGeneralDisplayUpsell"), false);
// line 24
$context["cartSettingsShippingPriceTaxTypeGross"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->theme($context, "cartSettingsShippingPriceTaxTypeGross"), true);
// line 2
$this->parent = $this->loadTemplate("@MolliePayments/storefront/page/checkout/cart/index.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_page_checkout_bottom_content_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_bottom_content_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_bottom_content_container"));
// line 6
echo " ";
if (false) {
$this->displayParentBlock("page_checkout_bottom_content_container", $context, $blocks);
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 27
public function block_page_checkout_main_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_main_content"));
// line 28
echo " ";
$this->loadTemplate("@OkeonlineAtcCustom/storefront/page/checkout/checkout-warning.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 28)->display($context);
// line 29
echo "
";
// line 30
$this->displayBlock('page_checkout_cart', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function block_page_checkout_cart($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart"));
// line 31
echo " ";
$this->displayBlock('page_checkout_cart_header', $context, $blocks);
// line 38
echo "
";
// line 39
$this->displayBlock('page_checkout_cart_product_table', $context, $blocks);
// line 72
echo "
";
// line 73
$this->displayBlock('page_checkout_cart_hidden_line_items_information', $context, $blocks);
// line 74
echo "
";
// line 75
$this->displayBlock('page_checkout_cart_add_product_and_shipping', $context, $blocks);
// line 268
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_page_checkout_cart_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_header"));
// line 32
echo " ";
if ( !(true === ($context["displayTitleInStepperbar"] ?? null))) {
// line 33
echo " <h2 class=\"cart-main-header\">
";
// line 34
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.cartHeader"));
echo "
</h2>
";
}
// line 37
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 39
public function block_page_checkout_cart_product_table($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_product_table"));
// line 40
echo " <div class=\"card checkout-product-table\">
<div class=\"card-body\">
";
// line 42
$this->displayBlock('page_checkout_cart_table_header', $context, $blocks);
// line 45
echo "
";
// line 46
$this->displayBlock('page_checkout_cart_table_items', $context, $blocks);
// line 55
echo "
";
// line 56
if (($context["showUpsellInMain"] ?? null)) {
// line 57
echo " ";
$this->displayBlock('page_checkout_cart_table_oo_upsell_wrapper', $context, $blocks);
// line 60
echo " ";
}
// line 61
echo " </div>
</div>
";
// line 64
$this->displayBlock('page_checkout_oo_cart_product_table_footer', $context, $blocks);
// line 67
echo "
";
// line 68
if (($context["showDeliveryDateInMain"] ?? null)) {
// line 69
echo " ";
$this->displayBlock("oo_delivery_week_selector", $context, $blocks);
echo "
";
}
// line 71
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 42
public function block_page_checkout_cart_table_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_header"));
// line 43
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 46
public function block_page_checkout_cart_table_items($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_items"));
// line 47
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 47), "lineItems", [], "any", false, false, false, 47));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["lineItem"]) {
// line 48
echo " ";
$this->displayBlock('page_checkout_cart_table_item', $context, $blocks);
// line 53
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lineItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 48
public function block_page_checkout_cart_table_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_item"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_item"));
// line 49
echo " ";
$this->displayBlock('page_checkout_item', $context, $blocks);
// line 52
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 49
public function block_page_checkout_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_item"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_item"));
// line 50
echo " ";
$this->loadTemplate("@OkeonlineAtcCustom/storefront/page/checkout/checkout-item.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 50)->display($context);
// line 51
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 57
public function block_page_checkout_cart_table_oo_upsell_wrapper($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_oo_upsell_wrapper"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_table_oo_upsell_wrapper"));
// line 58
echo " ";
$this->loadTemplate("@ThemeOkeOnline/storefront/page/checkout/cart/oo-upsell.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 58)->display($context);
// line 59
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 64
public function block_page_checkout_oo_cart_product_table_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_oo_cart_product_table_footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_oo_cart_product_table_footer"));
// line 65
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 73
public function block_page_checkout_cart_hidden_line_items_information($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_hidden_line_items_information"));
$this->displayParentBlock("page_checkout_cart_hidden_line_items_information", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 75
public function block_page_checkout_cart_add_product_and_shipping($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_and_shipping"));
// line 76
echo " <div class=\"d-flex flex-column flex-md-row justify-content-between\">
";
// line 77
if ((($context["showProductNumberInMain"] ?? null) || ($context["showVoucherInMain"] ?? null))) {
// line 78
echo " ";
$this->displayBlock('page_checkout_cart_add_product', $context, $blocks);
// line 95
echo " ";
}
// line 96
echo "
";
// line 97
if (($context["showShippingCostInput"] ?? null)) {
// line 98
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs', $context, $blocks);
// line 260
echo " ";
}
// line 261
echo "
";
// line 263
echo " ";
$this->displayBlock('page_checkout_cart_bottom_content', $context, $blocks);
// line 266
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 78
public function block_page_checkout_cart_add_product($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product"));
// line 79
echo " <div class=\"cart-add-product-container\">
";
// line 80
if (($context["showProductNumberInMain"] ?? null)) {
// line 81
echo " <form action=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.product.add-by-number");
echo "\"
data-form-csrf-handler=\"true\"
class=\"cart-add-product\"
method=\"post\">
";
// line 85
$this->displayBlock('page_checkout_cart_add_product_csrf', $context, $blocks);
// line 86
echo " ";
$this->displayBlock('page_checkout_cart_add_product_redirect', $context, $blocks);
// line 87
echo " ";
$this->displayBlock('page_checkout_cart_add_product_input_group', $context, $blocks);
// line 88
echo " </form>
";
}
// line 90
echo " ";
if (($context["showVoucherInMain"] ?? null)) {
// line 91
echo " ";
$this->displayBlock("page_checkout_cart_add_promotion", $context, $blocks);
echo "
";
}
// line 93
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 85
public function block_page_checkout_cart_add_product_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_csrf"));
$this->displayParentBlock("page_checkout_cart_add_product_csrf", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 86
public function block_page_checkout_cart_add_product_redirect($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_redirect"));
$this->displayParentBlock("page_checkout_cart_add_product_redirect", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 87
public function block_page_checkout_cart_add_product_input_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_product_input_group"));
$this->displayParentBlock("page_checkout_cart_add_product_input_group", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 98
public function block_page_checkout_cart_shipping_costs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs"));
// line 99
echo " <div class=\"cart-shipping-costs-container align-self-start flex-grow-1\">
<form name=\"precalc\"
method=\"post\"
action=\"";
// line 102
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.configure");
echo "\"
data-form-auto-submit=\"true\">
";
// line 104
$this->displayBlock('page_checkout_cart_shipping_costs_csrf', $context, $blocks);
// line 105
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs_trigger', $context, $blocks);
// line 110
echo " ";
// line 111
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs_form_group', $context, $blocks);
// line 257
echo " </form>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 104
public function block_page_checkout_cart_shipping_costs_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_csrf"));
$this->displayParentBlock("page_checkout_cart_shipping_costs_csrf", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 105
public function block_page_checkout_cart_shipping_costs_trigger($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_trigger"));
// line 106
echo " ";
if (($context["shippingCostInputCollapsable"] ?? null)) {
// line 107
echo " ";
$this->displayParentBlock("page_checkout_cart_shipping_costs_trigger", $context, $blocks);
echo "
";
}
// line 109
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 111
public function block_page_checkout_cart_shipping_costs_form_group($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group"));
// line 112
echo " <div class=\"";
echo ((($context["shippingCostInputCollapsable"] ?? null)) ? ("collapse") : ("no-collapse"));
echo " shipping-cost-";
echo sw_escape_filter($this->env, ($context["shippingCostInputVersion"] ?? null), "html", null, true);
echo "\" id=\"";
echo ((($context["shippingCostInputCollapsable"] ?? null)) ? ("collapseShippingCost") : ("noCollapseShippingCost"));
echo "\">
";
// line 113
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_country', $context, $blocks);
// line 141
echo "
";
// line 142
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_payment_method', $context, $blocks);
// line 168
echo "
";
// line 169
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_shipping_method', $context, $blocks);
// line 254
echo " <input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 113
public function block_page_checkout_cart_shipping_costs_form_group_country($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_country"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_country"));
// line 114
echo " ";
if ((($context["shippingCostInputVersion"] ?? null) == "version-01")) {
// line 115
echo " ";
$this->displayParentBlock("page_checkout_cart_shipping_costs_form_group_country", $context, $blocks);
echo "
";
} else {
// line 116
echo " ";
// line 117
echo " ";
if ( !sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "customer", [], "any", false, false, false, 117)) {
// line 118
echo " <input type=\"hidden\" class=\"fancy-custom-select\" type=\"text\" id=\"countryId\" name=\"countryId\" value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingLocation", [], "any", false, false, false, 118), "country", [], "any", false, false, false, 118), "id", [], "any", false, false, false, 118), "html", null, true);
echo "\" />
";
// line 119
if (($context["displayShippingCountry"] ?? null)) {
// line 120
echo " <div class=\"fancy-form-group\">
";
// line 121
$context["okeonline_virtual_select_options_country"] = ["inputFieldId" => "countryId"];
// line 124
echo " <div class=\"fancy-custom-select-title countryId h2\">";
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.shippingCountry"));
echo "</div>
<div class=\"fancy-custom-select-description\">";
// line 125
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.countrySelectorDescription"));
echo "</div>
<div class=\"fancy-custom-select-options\">
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "countries", [], "any", false, false, false, 127));
foreach ($context['_seq'] as $context["_key"] => $context["country"]) {
// line 128
echo " <span data-oo-fancy-select-plugin data-value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["country"], "id", [], "any", false, false, false, 128), "html", null, true);
echo "\" data-inputFieldId=\"countryId\"
";
// line 129
echo (((sw_get_attribute($this->env, $this->source, $context["country"], "id", [], "any", false, false, false, 129) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingLocation", [], "any", false, false, false, 129), "country", [], "any", false, false, false, 129), "id", [], "any", false, false, false, 129))) ? ("class=\"active\"") : (""));
echo ">
<span class=\"fancy-title-container\">
";
// line 131
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["country"], "translated", [], "any", false, false, false, 131), "name", [], "any", false, false, false, 131), "html", null, true);
echo "
</span>
</span>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['country'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
echo " </div>
</div>
";
}
// line 138
echo " ";
}
// line 139
echo " ";
}
// line 140
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 142
public function block_page_checkout_cart_shipping_costs_form_group_payment_method($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_payment_method"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_payment_method"));
// line 143
echo " ";
if ((($context["shippingCostInputVersion"] ?? null) == "version-01")) {
// line 144
echo " ";
$this->displayParentBlock("page_checkout_cart_shipping_costs_form_group_payment_method", $context, $blocks);
echo "
";
} else {
// line 145
echo " ";
// line 146
echo " <input type=\"hidden\" class=\"fancy-custom-select\" type=\"text\" id=\"paymentMethodId\" name=\"paymentMethodId\" value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 146), "id", [], "any", false, false, false, 146), "html", null, true);
echo "\" />
";
// line 147
if (($context["displayPaymentMethod"] ?? null)) {
// line 148
echo " <div class=\"fancy-form-group\">
<div class=\"fancy-custom-select-title paymentMethodId h2\">";
// line 149
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.paymentMethod"));
echo "</div>
<div class=\"fancy-custom-select-description\">";
// line 150
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.paymentMethodDescription"));
echo "</div>
<div class=\"fancy-custom-select-options\">
";
// line 152
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "paymentMethods", [], "any", false, false, false, 152));
foreach ($context['_seq'] as $context["_key"] => $context["payment"]) {
// line 153
echo " <span data-oo-fancy-select-plugin data-value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["payment"], "id", [], "any", false, false, false, 153), "html", null, true);
echo "\" data-inputFieldId=\"paymentMethodId\"
";
// line 154
if ((sw_get_attribute($this->env, $this->source, $context["payment"], "id", [], "any", false, false, false, 154) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "paymentMethod", [], "any", false, false, false, 154), "id", [], "any", false, false, false, 154))) {
echo " class=\"active\"";
}
echo ">
<span class=\"fancy-title-container\">
";
// line 156
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["payment"], "translated", [], "any", false, false, false, 156), "name", [], "any", false, false, false, 156), "html", null, true);
echo "
</span>
<div class=\"fancy-price-container\">
€0,00
</div>
</span>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['payment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 163
echo " </div>
</div>
";
}
// line 166
echo " ";
}
// line 167
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 169
public function block_page_checkout_cart_shipping_costs_form_group_shipping_method($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_shipping_method"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_shipping_costs_form_group_shipping_method"));
// line 170
echo "
";
// line 173
echo " ";
// line 174
echo "
";
// line 175
if ((($context["shippingCostInputVersion"] ?? null) == "version-01")) {
// line 176
echo " ";
$this->displayParentBlock("page_checkout_cart_shipping_costs_form_group_shipping_method", $context, $blocks);
echo "
";
} else {
// line 177
echo " ";
// line 178
echo " <input type=\"hidden\" class=\"fancy-custom-select\" type=\"text\" id=\"shippingMethodId\" name=\"shippingMethodId\" value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 178), "id", [], "any", false, false, false, 178), "html", null, true);
echo "\" />
";
// line 179
if (($context["displayShippingMethod"] ?? null)) {
// line 180
echo " <div class=\"fancy-form-group\">
";
// line 181
$context["okeonline_virtual_select_options_shipping"] = ["inputFieldId" => "shippingMethodId"];
// line 184
echo " <div class=\"fancy-custom-select-title shippingMethodId h2\">";
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.shippingMethod"));
echo "</div>
<div class=\"fancy-custom-select-description\">";
// line 185
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.shippingMethodDescription"));
echo "</div>
<div class=\"fancy-custom-select-options\">
";
// line 187
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "shippingMethods", [], "any", false, false, false, 187));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["shipping"]) {
// line 188
echo "
";
// line 190
echo " ";
// line 191
echo " ";
// line 192
echo "
";
// line 194
echo " ";
$context["removeBecauseOfBeltSize"] = false;
// line 195
echo " ";
$context["available"] = true;
// line 196
echo "
";
// line 199
echo " ";
if (((twig_first($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 199), "beltCalculations", [], "any", false, false, false, 199), "all", [], "method", false, false, false, 199)) > ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "customFields", [], "any", false, true, false, 199), "custom_belt_max", [], "any", true, true, false, 199)) ? (_twig_default_filter(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "customFields", [], "any", false, true, false, 199), "custom_belt_max", [], "any", false, false, false, 199), 100000)) : (100000))) || (twig_first($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 199), "beltCalculations", [], "any", false, false, false, 199), "all", [], "method", false, false, false, 199)) < sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "customFields", [], "any", false, false, false, 199), "custom_belt_min", [], "any", false, false, false, 199)))) {
// line 200
echo " ";
$context["removeBecauseOfBeltSize"] = true;
// line 201
echo " ";
}
// line 202
echo "
";
// line 204
echo " ";
if ((( !($context["removeBecauseOfBeltSize"] ?? null) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "extensions", [], "any", false, false, false, 204), "shippingMethodAvailableDays", [], "any", false, false, false, 204)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 204), "deliveryDateSelected", [], "any", false, false, false, 204), "getSelectedDate", [], "method", false, false, false, 204))) {
// line 205
echo " ";
$context["chosenDay"] = twig_lower_filter($this->env, twig_date_format_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 205), "deliveryDateSelected", [], "any", false, false, false, 205), "getSelectedDate", [], "method", false, false, false, 205), "l"));
// line 206
echo " ";
$context["available"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "extensions", [], "any", false, false, false, 206), "shippingMethodAvailableDays", [], "any", false, false, false, 206), "getDayAvailability", [0 => ($context["chosenDay"] ?? null)], "method", false, false, false, 206);
// line 207
echo " ";
}
// line 208
echo "
";
// line 210
echo " ";
if ( !($context["removeBecauseOfBeltSize"] ?? null)) {
// line 211
echo "
<span ";
// line 212
if (($context["available"] ?? null)) {
echo "data-oo-fancy-select-plugin";
}
echo " data-value=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, $context["shipping"], "id", [], "any", false, false, false, 212), "html", null, true);
echo "\" data-inputFieldId=\"shippingMethodId\"
class=\"";
// line 213
if ((sw_get_attribute($this->env, $this->source, $context["shipping"], "id", [], "any", false, false, false, 213) == sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "shippingMethod", [], "any", false, false, false, 213), "id", [], "any", false, false, false, 213))) {
echo " active";
}
if ( !($context["available"] ?? null)) {
echo " disabled";
}
echo "\">
<span class=\"fancy-title-container\"> ";
// line 214
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "translated", [], "any", false, false, false, 214), "name", [], "any", false, false, false, 214), "html", null, true);
echo "</span>
";
// line 215
if (sw_get_attribute($this->env, $this->source, $context["shipping"], "media", [], "any", false, false, false, 215)) {
// line 216
echo " <div class=\"fancy-image-container\">
";
// line 217
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 217);
})())->display(twig_array_merge($context, ["media" => sw_get_attribute($this->env, $this->source, // line 218
$context["shipping"], "media", [], "any", false, false, false, 218), "layout" => "boxed", "sizes" => ["default" => "25px"], "attributes" => ["alt" => (twig_replace_filter(twig_lower_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 224
$context["shipping"], "translated", [], "any", false, false, false, 224), "name", [], "any", false, false, false, 224)), [" " => "-"]) . "-image")], "name" => "oo-element-banner-box-column-image"]));
// line 227
echo " </div>
";
}
// line 229
echo " <div class=\"fancy-price-container\">
";
// line 230
echo sw_escape_filter($this->env, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Filter\CurrencyFilter']->formatCurrency($context, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["shipping"], "prices", [], "any", false, false, false, 230), "first", [], "any", false, false, false, 230), "currencyPrice", [], "any", false, false, false, 230), "first", [], "any", false, false, false, 230), "net", [], "any", false, false, false, 230)), "html", null, true);
echo "
</div>
</span>
";
}
// line 234
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['shipping'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 235
echo " </div>
</div>
";
}
// line 238
echo "
";
// line 239
if (($context["displayBlancoShipping"] ?? null)) {
// line 240
echo " <div class=\"fancy-form-group\">
";
// line 241
$context["okeonline_virtual_select_options_shipping"] = ["inputFieldId" => "shippingMethodId"];
// line 244
echo " <div class=\"fancy-custom-select-title blancoShipping h2\">";
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.blancoShippingTitle"));
echo "</div>
<div class=\"fancy-custom-select-description\">";
// line 245
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.blancoShippingDescription"));
echo "</div>
<div class=\"fancy-custom-checkbox\">
<input type=\"checkbox\" id=\"blancoShipping\" name=\"blancoShipping\" value=\"true\" ";
// line 247
echo (((true === sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "cart", [], "any", false, false, false, 247), "extensions", [], "any", false, false, false, 247), "blancoShipping", [], "any", false, false, false, 247), "blancoShipping", [], "any", false, false, false, 247))) ? ("checked=\"checked\"") : (""));
echo ">
<label for=\"blancoShipping\"> ";
// line 248
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("oo.checkout.blancoShippingLabel"));
echo "</label>
</div>
</div>
";
}
// line 251
echo "
";
}
// line 253
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 263
public function block_page_checkout_cart_bottom_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_bottom_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_bottom_content"));
// line 264
echo " ";
$this->displayBlock("page_checkout_bottom_content", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 271
public function block_page_checkout_aside_actions($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_aside_actions"));
// line 272
echo " ";
if (($context["showDeliveryDateInAside"] ?? null)) {
// line 273
echo " ";
$this->displayBlock('oo_delivery_week_selector', $context, $blocks);
// line 278
echo " ";
}
// line 279
echo "
<div class=\"checkout-aside-action\">
";
// line 281
if (($context["showVoucherInAside"] ?? null)) {
// line 282
echo " ";
$this->displayBlock('page_checkout_cart_add_promotion', $context, $blocks);
// line 285
echo " ";
}
// line 286
echo " </div>
";
// line 289
echo " ";
$this->displayBlock('page_checkout_cart_action_proceed', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 273
public function block_oo_delivery_week_selector($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "oo_delivery_week_selector"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "oo_delivery_week_selector"));
// line 274
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 274), "deliveryDates", [], "any", false, false, false, 274) || sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "extensions", [], "any", false, false, false, 274), "deliveryDateWeeks", [], "any", false, false, false, 274))) {
// line 275
echo " ";
$this->displayParentBlock("oo_delivery_week_selector", $context, $blocks);
echo "
";
}
// line 277
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 282
public function block_page_checkout_cart_add_promotion($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion"));
// line 283
echo " ";
$this->displayParentBlock("page_checkout_cart_add_promotion", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 289
public function block_page_checkout_cart_action_proceed($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_action_proceed"));
// line 290
echo " <div class=\"checkout-aside-action\">
<a href=\"";
// line 291
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.confirm.page");
echo "\"
class=\"btn btn-primary btn-block btn-lg begin-checkout-btn\"
title=\"";
// line 293
echo sw_escape_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink")), "html", null, true);
echo "\">
";
// line 294
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("checkout.proceedLink"));
echo "
";
// line 295
$this->displayBlock('oo_proceed_icon', $context, $blocks);
// line 300
echo " </a>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 295
public function block_oo_proceed_icon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "oo_proceed_icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "oo_proceed_icon"));
// line 296
echo " ";
if ( !twig_test_empty(($context["proceedIcon"] ?? null))) {
// line 297
echo " ";
$__internal_compile_0 = null;
try {
$__internal_compile_0 = $this->loadTemplate("@ThemeOkeOnline/storefront/utilities/icon.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 297);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_0) {
$__internal_compile_0->display(twig_array_merge($context, ["name" => ($context["proceedIcon"] ?? null), "size" => "xs"]));
}
// line 298
echo " ";
}
// line 299
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 306
public function block_page_checkout_cart_add_promotion_submit($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout_cart_add_promotion_submit"));
// line 307
echo " <div>
<button class=\"ml-2 btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
Code toevoegen
</button>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 317
public function block_base_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main"));
// line 318
echo " ";
$this->loadTemplate("@OkeonlineAtcCustom/storefront/page/checkout/checkout-steps.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 318)->display($context);
// line 319
echo " ";
$this->displayParentBlock("base_main", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 323
public function block_page_checkout($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_checkout"));
// line 324
echo " ";
$this->displayParentBlock("page_checkout", $context, $blocks);
echo "
<div class=\"pt-4\">
";
// line 326
$this->loadTemplate("@OkeonlineAtcCustom/storefront/page/checkout/checkout-custom-footer.html.twig", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", 326)->display($context);
// line 327
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1472 => 327, 1470 => 326, 1464 => 324, 1454 => 323, 1441 => 319, 1438 => 318, 1428 => 317, 1411 => 307, 1401 => 306, 1391 => 299, 1388 => 298, 1377 => 297, 1374 => 296, 1364 => 295, 1352 => 300, 1350 => 295, 1346 => 294, 1342 => 293, 1337 => 291, 1334 => 290, 1324 => 289, 1311 => 283, 1301 => 282, 1291 => 277, 1285 => 275, 1282 => 274, 1272 => 273, 1261 => 289, 1257 => 286, 1254 => 285, 1251 => 282, 1249 => 281, 1245 => 279, 1242 => 278, 1239 => 273, 1236 => 272, 1226 => 271, 1213 => 264, 1203 => 263, 1193 => 253, 1189 => 251, 1182 => 248, 1178 => 247, 1173 => 245, 1168 => 244, 1166 => 241, 1163 => 240, 1161 => 239, 1158 => 238, 1153 => 235, 1139 => 234, 1132 => 230, 1129 => 229, 1125 => 227, 1123 => 224, 1122 => 218, 1115 => 217, 1112 => 216, 1110 => 215, 1106 => 214, 1097 => 213, 1089 => 212, 1086 => 211, 1083 => 210, 1080 => 208, 1077 => 207, 1074 => 206, 1071 => 205, 1068 => 204, 1065 => 202, 1062 => 201, 1059 => 200, 1056 => 199, 1052 => 196, 1049 => 195, 1046 => 194, 1043 => 192, 1041 => 191, 1039 => 190, 1036 => 188, 1019 => 187, 1014 => 185, 1009 => 184, 1007 => 181, 1004 => 180, 1002 => 179, 997 => 178, 995 => 177, 989 => 176, 987 => 175, 984 => 174, 982 => 173, 979 => 170, 969 => 169, 959 => 167, 956 => 166, 951 => 163, 938 => 156, 931 => 154, 926 => 153, 922 => 152, 917 => 150, 913 => 149, 910 => 148, 908 => 147, 903 => 146, 901 => 145, 895 => 144, 892 => 143, 882 => 142, 872 => 140, 869 => 139, 866 => 138, 861 => 135, 851 => 131, 846 => 129, 841 => 128, 837 => 127, 832 => 125, 827 => 124, 825 => 121, 822 => 120, 820 => 119, 815 => 118, 812 => 117, 810 => 116, 804 => 115, 801 => 114, 791 => 113, 779 => 254, 777 => 169, 774 => 168, 772 => 142, 769 => 141, 767 => 113, 758 => 112, 748 => 111, 738 => 109, 732 => 107, 729 => 106, 719 => 105, 700 => 104, 688 => 257, 685 => 111, 683 => 110, 680 => 105, 678 => 104, 673 => 102, 668 => 99, 658 => 98, 639 => 87, 620 => 86, 601 => 85, 590 => 93, 584 => 91, 581 => 90, 577 => 88, 574 => 87, 571 => 86, 569 => 85, 561 => 81, 559 => 80, 556 => 79, 546 => 78, 535 => 266, 532 => 263, 529 => 261, 526 => 260, 523 => 98, 521 => 97, 518 => 96, 515 => 95, 512 => 78, 510 => 77, 507 => 76, 497 => 75, 478 => 73, 467 => 65, 457 => 64, 447 => 59, 444 => 58, 434 => 57, 424 => 51, 421 => 50, 411 => 49, 401 => 52, 398 => 49, 388 => 48, 378 => 54, 364 => 53, 361 => 48, 343 => 47, 333 => 46, 322 => 43, 312 => 42, 302 => 71, 296 => 69, 294 => 68, 291 => 67, 289 => 64, 284 => 61, 281 => 60, 278 => 57, 276 => 56, 273 => 55, 271 => 46, 268 => 45, 266 => 42, 262 => 40, 252 => 39, 242 => 37, 236 => 34, 233 => 33, 230 => 32, 220 => 31, 210 => 268, 208 => 75, 205 => 74, 203 => 73, 200 => 72, 198 => 39, 195 => 38, 192 => 31, 173 => 30, 170 => 29, 167 => 28, 157 => 27, 144 => 6, 134 => 5, 123 => 2, 121 => 24, 119 => 23, 117 => 22, 115 => 21, 113 => 20, 111 => 19, 109 => 18, 107 => 17, 105 => 16, 103 => 15, 101 => 14, 99 => 13, 97 => 12, 95 => 11, 93 => 10, 91 => 9, 28 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@parent/storefront/page/checkout/cart/index.html.twig' %}
{% use '@ThemeOkeOnline/storefront/page/checkout/_oo-page-trait.html.twig' %}
{# Hiding bottom_content of trait #}
{% block page_checkout_bottom_content_container %}
{% if false %}{{ parent() }}{% endif %}
{% endblock %}
{% set proceedIcon = theme_config('cartSettingsGeneralDisplayProceedIcon') %}
{% set displayShippingCountry = theme_config('cartSettingsGeneralDisplayShippingCountry') %}
{% set displayShippingMethod = theme_config('cartSettingsGeneralDisplayShippingMethod') %}
{% set displayBlancoShipping = theme_config('cartSettingsGeneralDisplayBlancoShipping') %}
{% set displayPaymentMethod = theme_config('cartSettingsGeneralDisplayPaymentMethod') %}
{% set displayTitleInStepperbar = theme_config('cartSettingsGeneralDisplayTitleInStepperbar') %}
{% set showShippingCostInput = theme_config('cartSettingsGeneralDisplayShippingCostInput') %}
{% set shippingCostInputCollapsable = theme_config('cartSettingsGeneralCollapsableShippingCostInput') %}
{% set shippingCostInputVersion = theme_config('cartSettingsGeneralShippingCostInputVersion') %}
{% set showProductNumberInMain = theme_config('cartSettingsGeneralDisplayProductNumberInput') %}
{% set showVoucherInAside = theme_config('cartSettingsGeneralDisplayVoucherInSidebar') and theme_config('cartSettingsGeneralDisplayVoucher') %}
{% set showVoucherInMain = (showVoucherInAside == false) and theme_config('cartSettingsGeneralDisplayVoucher') %}
{% set showDeliveryDateInAside = theme_config('cartSettingsGeneralDisplayDeliveryDateInSidebar') and theme_config('cartSettingsGeneralDisplayDeliveryDate') %}
{% set showDeliveryDateInMain = (showDeliveryDateInAside == false) and theme_config('cartSettingsGeneralDisplayDeliveryDate') %}
{% set showUpsellInMain = theme_config('cartSettingsGeneralDisplayUpsell')|default(false) %}
{% set cartSettingsShippingPriceTaxTypeGross = theme_config('cartSettingsShippingPriceTaxTypeGross')|default(true) %}
{% block page_checkout_main_content %}
{% sw_include '@parent/storefront/page/checkout/checkout-warning.html.twig' %}
{% block page_checkout_cart %}
{% block page_checkout_cart_header %}
{% if displayTitleInStepperbar is not true %}
<h2 class=\"cart-main-header\">
{{ \"oo.checkout.cartHeader\"|trans|sw_sanitize }}
</h2>
{% endif %}
{% endblock %}
{% block page_checkout_cart_product_table %}
<div class=\"card checkout-product-table\">
<div class=\"card-body\">
{% block page_checkout_cart_table_header %}
{% endblock %}
{% block page_checkout_cart_table_items %}
{% for lineItem in page.cart.lineItems %}
{% block page_checkout_cart_table_item %}
{% block page_checkout_item %}
{% sw_include '@parent/storefront/page/checkout/checkout-item.html.twig' %}
{% endblock %}
{% endblock %}
{% endfor %}
{% endblock %}
{% if showUpsellInMain %}
{% block page_checkout_cart_table_oo_upsell_wrapper %}
{% sw_include '@parent/storefront/page/checkout/cart/oo-upsell.html.twig' %}
{% endblock %}
{% endif %}
</div>
</div>
{% block page_checkout_oo_cart_product_table_footer %}
{% endblock %}
{% if showDeliveryDateInMain %}
{{ block('oo_delivery_week_selector') }}
{% endif %}
{% endblock %}
{% block page_checkout_cart_hidden_line_items_information %}{{ parent() }}{% endblock %}
{% block page_checkout_cart_add_product_and_shipping %}
<div class=\"d-flex flex-column flex-md-row justify-content-between\">
{% if showProductNumberInMain or showVoucherInMain %}
{% block page_checkout_cart_add_product %}
<div class=\"cart-add-product-container\">
{% if showProductNumberInMain %}
<form action=\"{{ path('frontend.checkout.product.add-by-number') }}\"
data-form-csrf-handler=\"true\"
class=\"cart-add-product\"
method=\"post\">
{% block page_checkout_cart_add_product_csrf %}{{ parent() }}{% endblock %}
{% block page_checkout_cart_add_product_redirect %}{{ parent() }}{% endblock %}
{% block page_checkout_cart_add_product_input_group %}{{ parent() }}{% endblock %}
</form>
{% endif %}
{% if showVoucherInMain %}
{{ block('page_checkout_cart_add_promotion') }}
{% endif %}
</div>
{% endblock %}
{% endif %}
{% if showShippingCostInput %}
{% block page_checkout_cart_shipping_costs %}
<div class=\"cart-shipping-costs-container align-self-start flex-grow-1\">
<form name=\"precalc\"
method=\"post\"
action=\"{{ path('frontend.checkout.configure') }}\"
data-form-auto-submit=\"true\">
{% block page_checkout_cart_shipping_costs_csrf %}{{ parent() }}{% endblock %}
{% block page_checkout_cart_shipping_costs_trigger %}
{% if shippingCostInputCollapsable %}
{{ parent() }}
{% endif %}
{% endblock %}
{#{% block page_checkout_cart_shipping_costs_form_group %}{{ parent() }}{% endblock %}#}
{% block page_checkout_cart_shipping_costs_form_group %}
<div class=\"{{ shippingCostInputCollapsable ? 'collapse' : 'no-collapse' }} shipping-cost-{{ shippingCostInputVersion }}\" id=\"{{ shippingCostInputCollapsable ? 'collapseShippingCost' : 'noCollapseShippingCost' }}\">
{% block page_checkout_cart_shipping_costs_form_group_country %}
{% if shippingCostInputVersion == 'version-01' %}
{{ parent() }}
{% else %} {# Version-02 or up #}
{% if not context.customer %}
<input type=\"hidden\" class=\"fancy-custom-select\" type=\"text\" id=\"countryId\" name=\"countryId\" value=\"{{ context.shippingLocation.country.id }}\" />
{% if displayShippingCountry %}
<div class=\"fancy-form-group\">
{% set okeonline_virtual_select_options_country = {
inputFieldId: 'countryId',
} %}
<div class=\"fancy-custom-select-title countryId h2\">{{ \"checkout.shippingCountry\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-description\">{{ \"oo.checkout.countrySelectorDescription\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-options\">
{% for country in page.countries %}
<span data-oo-fancy-select-plugin data-value=\"{{ country.id }}\" data-inputFieldId=\"countryId\"
{{ country.id == context.shippingLocation.country.id ? 'class=\"active\"' : '' }}>
<span class=\"fancy-title-container\">
{{ country.translated.name }}
</span>
</span>
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
{% endif %}
{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group_payment_method %}
{% if shippingCostInputVersion == 'version-01' %}
{{ parent() }}
{% else %} {# Version-02 or up #}
<input type=\"hidden\" class=\"fancy-custom-select\" type=\"text\" id=\"paymentMethodId\" name=\"paymentMethodId\" value=\"{{ context.paymentMethod.id }}\" />
{% if displayPaymentMethod %}
<div class=\"fancy-form-group\">
<div class=\"fancy-custom-select-title paymentMethodId h2\">{{ \"checkout.paymentMethod\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-description\">{{ \"oo.checkout.paymentMethodDescription\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-options\">
{% for payment in page.paymentMethods %}
<span data-oo-fancy-select-plugin data-value=\"{{ payment.id }}\" data-inputFieldId=\"paymentMethodId\"
{% if payment.id == context.paymentMethod.id %} class=\"active\"{% endif %}>
<span class=\"fancy-title-container\">
{{ payment.translated.name }}
</span>
<div class=\"fancy-price-container\">
€0,00
</div>
</span>
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group_shipping_method %}
{# <!-- hier moet dagen komen, zie design: https://xd.adobe.com/view/29ef1c94-c24a-4025-8c40-e51e15395bd5-7cbc/screen/c0acbbc5-8905-4cbc-b034-d6c747a50e22 -->
<!-- geen toeslagen per dag tot nu toe --> #}
{#{{ dump(page.extensions.shipmentExtension) }}#}
{% if shippingCostInputVersion == 'version-01' %}
{{ parent() }}
{% else %} {# Version-02 or up #}
<input type=\"hidden\" class=\"fancy-custom-select\" type=\"text\" id=\"shippingMethodId\" name=\"shippingMethodId\" value=\"{{ context.shippingMethod.id }}\" />
{% if displayShippingMethod %}
<div class=\"fancy-form-group\">
{% set okeonline_virtual_select_options_shipping = {
inputFieldId: 'shippingMethodId',
} %}
<div class=\"fancy-custom-select-title shippingMethodId h2\">{{ \"checkout.shippingMethod\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-description\">{{ \"oo.checkout.shippingMethodDescription\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-options\">
{% for shipping in page.shippingMethods %}
{# Functionallity in OkeonlinePlaatprintenShipping. BC compatible, if plugin not installed #}
{# if belt-size of the greatest belt is higher than the maximum of the defined belt-size for the shipping-method or lower than the min belt, remove the full option form the page. The user may not see and choose the item #}
{# if the chosen day is not available for the shipping-method, do show the method, but add disabled class and remove choose functionallity #}
{# fallback / BC #}
{% set removeBecauseOfBeltSize = false %}
{% set available = true %}
{# check if belt of greatest belt > the defined max belt || < the defined min belt --> remove option completely #}
{% if page.extensions.beltCalculations.all() | first > shipping.customFields.custom_belt_max | default(100000) or page.extensions.beltCalculations.all() | first < shipping.customFields.custom_belt_min %}
{% set removeBecauseOfBeltSize = true %}
{% endif %}
{# check if chosen delivery day is possile for shipping-method. If not, disable the option #}
{% if not removeBecauseOfBeltSize and shipping.extensions.shippingMethodAvailableDays and page.extensions.deliveryDateSelected.getSelectedDate() %}
{% set chosenDay = page.extensions.deliveryDateSelected.getSelectedDate() | date('l') | lower %}
{% set available = shipping.extensions.shippingMethodAvailableDays.getDayAvailability(chosenDay) %}
{% endif %}
{# when option should not be removed, show it #}
{% if not removeBecauseOfBeltSize %}
<span {% if available %}data-oo-fancy-select-plugin{% endif %} data-value=\"{{ shipping.id }}\" data-inputFieldId=\"shippingMethodId\"
class=\"{% if shipping.id == context.shippingMethod.id %} active{% endif %}{% if not available %} disabled{% endif %}\">
<span class=\"fancy-title-container\"> {{ shipping.translated.name }}</span>
{% if shipping.media %}
<div class=\"fancy-image-container\">
{% sw_thumbnails 'oo-element-banner-box-column-image' with {
media: shipping.media,
layout: 'boxed',
sizes: {
'default': '25px'
},
attributes: {
'alt': shipping.translated.name|lower|replace({' ': '-'}) ~ '-image',
}
} %}
</div>
{% endif %}
<div class=\"fancy-price-container\">
{{ shipping.prices.first.currencyPrice.first.net|currency }}
</div>
</span>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if displayBlancoShipping %}
<div class=\"fancy-form-group\">
{% set okeonline_virtual_select_options_shipping = {
inputFieldId: 'shippingMethodId',
} %}
<div class=\"fancy-custom-select-title blancoShipping h2\">{{ \"oo.checkout.blancoShippingTitle\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-select-description\">{{ \"oo.checkout.blancoShippingDescription\"|trans|sw_sanitize }}</div>
<div class=\"fancy-custom-checkbox\">
<input type=\"checkbox\" id=\"blancoShipping\" name=\"blancoShipping\" value=\"true\" {{ page.cart.extensions.blancoShipping.blancoShipping is true ? 'checked=\"checked\"' : '' }}>
<label for=\"blancoShipping\"> {{ \"oo.checkout.blancoShippingLabel\"|trans|sw_sanitize }}</label>
</div>
</div>
{% endif %}
{% endif %}
{% endblock %}
<input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
</div>
{% endblock %}
</form>
</div>
{% endblock %}
{% endif %}
{# Created a new block that will include a block from the parent.#}
{% block page_checkout_cart_bottom_content %}
{{ block('page_checkout_bottom_content') }}
{% endblock %}
</div>
{% endblock %}
{% endblock %}{% endblock %}
{# Whole block needs to be included since its in the trait #}
{% block page_checkout_aside_actions %}
{% if showDeliveryDateInAside %}
{% block oo_delivery_week_selector %}
{% if page.extensions.deliveryDates or page.extensions.deliveryDateWeeks %}
{{ parent() }}
{% endif %}
{% endblock %}
{% endif %}
<div class=\"checkout-aside-action\">
{% if showVoucherInAside %}
{% block page_checkout_cart_add_promotion %}
{{ parent() }}
{% endblock %}
{% endif %}
</div>
{#{% block page_checkout_cart_action_proceed %}{{ parent() }}{% endblock %}#}
{% block page_checkout_cart_action_proceed %}
<div class=\"checkout-aside-action\">
<a href=\"{{ path('frontend.checkout.confirm.page') }}\"
class=\"btn btn-primary btn-block btn-lg begin-checkout-btn\"
title=\"{{ \"checkout.proceedLink\"|trans|striptags }}\">
{{ \"checkout.proceedLink\"|trans|sw_sanitize }}
{% block oo_proceed_icon %}
{% if proceedIcon is not empty %}
{% sw_include \"@parent/storefront/utilities/icon.html.twig\" ignore missing with { 'name': proceedIcon, 'size': 'xs'} %}
{% endif %}
{% endblock %}
</a>
</div>
{% endblock %}
{% endblock %}
{# Update submit button of promotion-box#}
{% block page_checkout_cart_add_promotion_submit %}
<div>
<button class=\"ml-2 btn btn-secondary\"
type=\"submit\"
id=\"addPromotion\">
Code toevoegen
</button>
</div>
{% endblock %}
{# Add steps to top #}
{% block base_main %}
{% sw_include '@parent/storefront/page/checkout/checkout-steps.html.twig' %}
{{ parent() }}
{% endblock %}
{# Appending footer #}
{% block page_checkout %}
{{ parent() }}
<div class=\"pt-4\">
{% sw_include '@parent/storefront/page/checkout/checkout-custom-footer.html.twig' %}
</div>
{% endblock %}", "@ThemeOkeOnline/storefront/page/checkout/cart/index.html.twig", "/home/atc/shopware/custom/plugins/ThemeOkeonline/src/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}