<?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;
/* @SchilderSysteme/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_d4ccce8b41452ee0bc898b1e303fe51e42da0ef5b94c077db39187f030dcec3c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_product_detail_buy' => [$this, 'block_page_product_detail_buy'],
'component_product_wishlist' => [$this, 'block_component_product_wishlist'],
'component_product_wishlist_button' => [$this, 'block_component_product_wishlist_button'],
'component_product_wishlist_icon' => [$this, 'block_component_product_wishlist_icon'],
'page_product_detail_tabs' => [$this, 'block_page_product_detail_tabs'],
'page_product_detail_media' => [$this, 'block_page_product_detail_media'],
'page_product_detail_cross_selling' => [$this, 'block_page_product_detail_cross_selling'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Tuerschild_2/storefront/page/product-detail/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SchilderSysteme/storefront/page/product-detail/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SchilderSysteme/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@Tuerschild_2/storefront/page/product-detail/index.html.twig", "@SchilderSysteme/storefront/page/product-detail/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_page_product_detail_buy($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_buy"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_buy"));
// line 4
echo " <div class=\"col-lg-5 position-relative\">
<div class=\"product-detail-buy-box\">
<div class=\"title_wishlist\">
<div><h1 class=\"product-detail-name\"
itemprop=\"name\">
";
// line 9
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["page"] ?? null), "product", [], "any", false, false, false, 9), "translated", [], "any", false, false, false, 9), "name", [], "any", false, false, false, 9), "html", null, true);
echo "
";
// line 10
if (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), "product", [], "any", false, false, false, 10), "calculatedCheapestPrice", [], "any", false, false, false, 10), "listPrice", [], "any", false, false, false, 10), "percentage", [], "any", false, false, false, 10)) {
// line 11
echo " <span class=\"badge badge-danger\">
";
// line 12
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.listPricePercentage", ["%price%" => twig_round(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), "product", [], "any", false, false, false, 12), "calculatedCheapestPrice", [], "any", false, false, false, 12), "listPrice", [], "any", false, false, false, 12), "percentage", [], "any", false, false, false, 12))]));
echo "
</span>
";
}
// line 15
echo " </h1>
</div>
";
// line 17
$this->displayBlock('component_product_wishlist', $context, $blocks);
// line 48
echo " </div>
<p class=\"sw-cms-el-buy-box__product-number\">";
// line 49
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 49), "productNumber", [], "any", false, false, false, 49), "html", null, true);
echo "</p>
<div class=\"product-detail-buy\">
";
// line 51
$this->loadTemplate("@SchilderSysteme/storefront/page/product-detail/buy-widget.html.twig", "@SchilderSysteme/storefront/page/product-detail/index.html.twig", 51)->display($context);
// line 52
echo " </div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 17
public function block_component_product_wishlist($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist"));
// line 18
echo " ";
$context["addToWishlistOptions"] = ["productId" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 19
($context["page"] ?? null), "product", [], "any", false, false, false, 19), "id", [], "any", false, false, false, 19), "router" => ["add" => ["afterLoginPath" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.add.after.login", ["productId" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 22
($context["page"] ?? null), "product", [], "any", false, false, false, 22), "id", [], "any", false, false, false, 22)]), "path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.product.add", ["productId" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 23
($context["page"] ?? null), "product", [], "any", false, false, false, 23), "id", [], "any", false, false, false, 23)]), "token" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.wishlist.product.add", ["mode" => "token"])], "remove" => ["path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.product.remove", ["productId" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 27
($context["page"] ?? null), "product", [], "any", false, false, false, 27), "id", [], "any", false, false, false, 27)]), "token" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.wishlist.product.remove", ["mode" => "token"])]]];
// line 32
echo "
";
// line 33
$context["size"] = (($context["size"]) ?? ("md"));
// line 34
echo " ";
$this->displayBlock('component_product_wishlist_button', $context, $blocks);
// line 47
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 34
public function block_component_product_wishlist_button($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist_button"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist_button"));
// line 35
echo " <button
class=\"product-wishlist-";
// line 36
echo sw_escape_filter($this->env, ($context["productId"] ?? null), "html", null, true);
echo " product-wishlist-action";
if ((0 === twig_compare(($context["appearance"] ?? null), "circle"))) {
echo "-circle";
}
echo " product-wishlist-not-added product-wishlist-loading\"
title=\"";
// line 37
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.toggleWishlist"));
echo "\"
data-add-to-wishlist=\"true\"
data-add-to-wishlist-options=\"";
// line 39
echo sw_escape_filter($this->env, $this->env->getFilter('json_encode')->getCallable()(($context["addToWishlistOptions"] ?? null)), "html", null, true);
echo "\"
>
";
// line 41
$this->displayBlock('component_product_wishlist_icon', $context, $blocks);
// line 45
echo " </button>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 41
public function block_component_product_wishlist_icon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist_icon"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist_icon"));
// line 42
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@SchilderSysteme/storefront/page/product-detail/index.html.twig", 42);
})())->display(twig_array_merge($context, ["class" => "wishlist icon-wishlist-added", "size" => ($context["size"] ?? null), "name" => "heart-fill"]));
// line 43
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@SchilderSysteme/storefront/page/product-detail/index.html.twig", 43);
})())->display(twig_array_merge($context, ["class" => "wishlist icon-wishlist-not-added", "size" => ($context["size"] ?? null), "name" => "heart"]));
// line 44
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 56
public function block_page_product_detail_tabs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_tabs"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_tabs"));
// line 57
echo " <div class=\"product-detail-tabs col-lg-7\">
";
// line 58
$this->loadTemplate("@SchilderSysteme/storefront/page/product-detail/tabs.html.twig", "@SchilderSysteme/storefront/page/product-detail/index.html.twig", 58)->display($context);
// line 59
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 65
public function block_page_product_detail_media($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_media"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_media"));
// line 66
echo " <div class=\"col-lg-7 product-detail-media\">
";
// line 67
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 67), "media", [], "any", false, false, false, 67)) {
// line 68
echo " ";
$this->loadTemplate("@SchilderSysteme/storefront/element/cms-element-image-gallery.html.twig", "@SchilderSysteme/storefront/page/product-detail/index.html.twig", 68)->display(twig_array_merge($context, ["mediaItems" => // line 69
($context["mediaItems"] ?? null), "zoom" => false, "zoomModal" => true, "displayMode" => "contain", "gutter" => 5, "minHeight" => "430px", "navigationArrows" => "inside", "navigationDots" => "inside", "galleryPosition" => "left", "isProduct" => true, "fallbackImageTitle" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 79
($context["page"] ?? null), "product", [], "any", false, false, false, 79), "translated", [], "any", false, false, false, 79), "name", [], "any", false, false, false, 79), "startIndexThumbnails" => (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 80
($context["page"] ?? null), "product", [], "any", false, false, false, 80), "cover", [], "any", false, false, false, 80), "position", [], "any", false, false, false, 80) + 1), "startIndexSlider" => (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 81
($context["page"] ?? null), "product", [], "any", false, false, false, 81), "cover", [], "any", false, false, false, 81), "position", [], "any", false, false, false, 81) + 1)]));
// line 83
echo " ";
}
// line 84
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 87
public function block_page_product_detail_cross_selling($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_cross_selling"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_cross_selling"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SchilderSysteme/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 304 => 87, 293 => 84, 290 => 83, 288 => 81, 287 => 80, 286 => 79, 285 => 69, 283 => 68, 281 => 67, 278 => 66, 268 => 65, 257 => 59, 255 => 58, 252 => 57, 242 => 56, 232 => 44, 223 => 43, 214 => 42, 204 => 41, 193 => 45, 191 => 41, 186 => 39, 181 => 37, 173 => 36, 170 => 35, 160 => 34, 150 => 47, 147 => 34, 145 => 33, 142 => 32, 140 => 27, 139 => 23, 138 => 22, 137 => 19, 135 => 18, 125 => 17, 112 => 52, 110 => 51, 105 => 49, 102 => 48, 100 => 17, 96 => 15, 90 => 12, 87 => 11, 85 => 10, 81 => 9, 74 => 4, 64 => 3, 41 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% block page_product_detail_buy %}
<div class=\"col-lg-5 position-relative\">
<div class=\"product-detail-buy-box\">
<div class=\"title_wishlist\">
<div><h1 class=\"product-detail-name\"
itemprop=\"name\">
{{ page.product.translated.name }}
{% if page.product.calculatedCheapestPrice.listPrice.percentage %}
<span class=\"badge badge-danger\">
{{ \"detail.listPricePercentage\"|trans({'%price%': page.product.calculatedCheapestPrice.listPrice.percentage|round })|sw_sanitize }}
</span>
{% endif %}
</h1>
</div>
{% block component_product_wishlist %}
{% set addToWishlistOptions = {
productId: page.product.id,
router: {
add: {
afterLoginPath: path('frontend.wishlist.add.after.login', { productId: page.product.id }),
path: path('frontend.wishlist.product.add', { productId: page.product.id }),
token: sw_csrf('frontend.wishlist.product.add', {\"mode\": \"token\"})
},
remove: {
path: path('frontend.wishlist.product.remove', { productId: page.product.id }),
token: sw_csrf('frontend.wishlist.product.remove', {\"mode\": \"token\"}),
}
}
} %}
{% set size = size ?? 'md' %}
{% block component_product_wishlist_button %}
<button
class=\"product-wishlist-{{ productId }} product-wishlist-action{% if appearance == 'circle' %}-circle{% endif %} product-wishlist-not-added product-wishlist-loading\"
title=\"{{ \"listing.toggleWishlist\"|trans|sw_sanitize }}\"
data-add-to-wishlist=\"true\"
data-add-to-wishlist-options=\"{{ addToWishlistOptions|json_encode }}\"
>
{% block component_product_wishlist_icon %}
{% sw_icon 'heart-fill' style { 'class': 'wishlist icon-wishlist-added', 'size': size } %}
{% sw_icon 'heart' style {'class': 'wishlist icon-wishlist-not-added', 'size': size } %}
{% endblock %}
</button>
{% endblock %}
{% endblock %}
</div>
<p class=\"sw-cms-el-buy-box__product-number\">{{ page.product.productNumber }}</p>
<div class=\"product-detail-buy\">
{% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
</div>
</div>
</div>
{% endblock %}
{% block page_product_detail_tabs %}
<div class=\"product-detail-tabs col-lg-7\">
{% sw_include '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
</div>
{% endblock %}
{% block page_product_detail_media %}
<div class=\"col-lg-7 product-detail-media\">
{% if page.product.media %}
{% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
'mediaItems': mediaItems,
'zoom': false,
'zoomModal': true,
'displayMode': 'contain',
'gutter': 5,
'minHeight': '430px',
'navigationArrows': 'inside',
'navigationDots': 'inside',
'galleryPosition': 'left',
'isProduct': true,
'fallbackImageTitle': page.product.translated.name,
'startIndexThumbnails': page.product.cover.position + 1,
'startIndexSlider': page.product.cover.position + 1
} %}
{% endif %}
</div>
{% endblock %}
{% block page_product_detail_cross_selling %}
{% endblock %}
", "@SchilderSysteme/storefront/page/product-detail/index.html.twig", "/data/www/stage.tuerschildshop/custom/plugins/SchilderSysteme/src/Resources/views/storefront/page/product-detail/index.html.twig");
}
}