<?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;
/* @FourtwosixShippingCostsCalculator/storefront/page/checkout/cart/index.html.twig */
class __TwigTemplate_54233cbb380adbbd958c589e63c3e1d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'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_shipping_costs' => [$this, 'block_page_checkout_cart_shipping_costs'],
'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'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/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", "@FourtwosixShippingCostsCalculator/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", "@FourtwosixShippingCostsCalculator/storefront/page/checkout/cart/index.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/checkout/cart/index.html.twig", "@FourtwosixShippingCostsCalculator/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 3
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 4
echo " <div class=\"col\">
";
// line 5
$this->displayBlock('page_checkout_cart_add_product', $context, $blocks);
// line 8
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs', $context, $blocks);
// line 11
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
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 6
echo " ";
$this->displayParentBlock("page_checkout_cart_add_product", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
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 9
echo " ";
$this->displayParentBlock("page_checkout_cart_shipping_costs", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 15
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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 16
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 17
echo " <div class=\"mt-3\">
<div class=\"mb-3 font-weight-bold\">
";
// line 19
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fourtwosixShippingCostCalculator.cart.title"), "html", null, true);
echo "
</div>
";
// line 21
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_country', $context, $blocks);
// line 22
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_payment_method', $context, $blocks);
// line 31
echo " ";
$this->displayBlock('page_checkout_cart_shipping_costs_form_group_shipping_method', $context, $blocks);
// line 36
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 21
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"));
$this->displayParentBlock("page_checkout_cart_shipping_costs_form_group_country", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 22
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 23
echo " ";
if ( !sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "customer", [], "any", false, false, false, 23)) {
// line 24
echo " <div class=\"form-group\">
<label for=\"zipcode\">";
// line 25
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("address.zipcodeLabel"));
echo "</label>
<input class=\"form-control\" data-input-name=\"zipcode\" value=\"";
// line 26
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, 26), "address", [], "any", false, false, false, 26), "zipcode", [], "any", false, false, false, 26), "html", null, true);
echo "\"
type=\"text\" id=\"zipcode\" name=\"zipcode\" placeholder=\"";
// line 27
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("address.zipcodePlaceholder"));
echo "\">
</div>
";
}
// line 30
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
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 32
echo " <div class=\"d-none\">
";
// line 33
$this->displayParentBlock("page_checkout_cart_shipping_costs_form_group_shipping_method", $context, $blocks);
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@FourtwosixShippingCostsCalculator/storefront/page/checkout/cart/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 269 => 33, 266 => 32, 256 => 31, 246 => 30, 240 => 27, 236 => 26, 232 => 25, 229 => 24, 226 => 23, 216 => 22, 197 => 21, 185 => 36, 182 => 31, 179 => 22, 177 => 21, 172 => 19, 168 => 17, 158 => 16, 140 => 15, 127 => 9, 117 => 8, 104 => 6, 94 => 5, 83 => 11, 80 => 8, 78 => 5, 75 => 4, 65 => 3, 42 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends \"@Storefront/storefront/page/checkout/cart/index.html.twig\" %}
{% block page_checkout_cart_add_product_and_shipping %}
<div class=\"col\">
{% block page_checkout_cart_add_product %}
{{ parent() }}
{% endblock %}
{% block page_checkout_cart_shipping_costs %}
{{ parent() }}
{% endblock %}
</div>
{% endblock %}
{# @fourtwosix-edit: 1203743631835637-1205714625984787 removed collapse #}
{% block page_checkout_cart_shipping_costs_trigger %}{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group %}
<div class=\"mt-3\">
<div class=\"mb-3 font-weight-bold\">
{{ \"fourtwosixShippingCostCalculator.cart.title\"|trans}}
</div>
{% block page_checkout_cart_shipping_costs_form_group_country %}{{ parent() }}{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group_payment_method %}
{% if not context.customer %}
<div class=\"form-group\">
<label for=\"zipcode\">{{ \"address.zipcodeLabel\"|trans|sw_sanitize }}</label>
<input class=\"form-control\" data-input-name=\"zipcode\" value=\"{{ context.shippingLocation.address.zipcode }}\"
type=\"text\" id=\"zipcode\" name=\"zipcode\" placeholder=\"{{ \"address.zipcodePlaceholder\"|trans|sw_sanitize }}\">
</div>
{% endif %}
{% endblock %}
{% block page_checkout_cart_shipping_costs_form_group_shipping_method %}
<div class=\"d-none\">
{{ parent() }}
</div>
{% endblock %}
<input type=\"hidden\" name=\"redirectTo\" value=\"frontend.checkout.cart.page\">
</div>
{% endblock %}", "@FourtwosixShippingCostsCalculator/storefront/page/checkout/cart/index.html.twig", "/var/www/dev.artecon.426.agency/custom/plugins/FourtwosixShippingCostsCalculator/src/Resources/views/storefront/page/checkout/cart/index.html.twig");
}
}