<?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;
/* @SalvanaPferde2022/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_3cbc347863610ac959a855bb17bd7e4740956cfb57033c1118e86a7c582a9196 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_main_inner' => [$this, 'block_base_main_inner'],
'page_product_detail_buy' => [$this, 'block_page_product_detail_buy'],
'page_product_detail_reviews' => [$this, 'block_page_product_detail_reviews'],
'page_product_detail_breadcrumb' => [$this, 'block_page_product_detail_breadcrumb'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/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", "@SalvanaPferde2022/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", "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/product-detail/index.html.twig", "@SalvanaPferde2022/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_base_main_inner($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", "base_main_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main_inner"));
// line 4
echo " ";
$context["fields"] = 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, 4), "translated", [], "any", false, false, false, 4), "customFields", [], "any", false, false, false, 4);
// line 5
echo " ";
if (sw_get_attribute($this->env, $this->source, ($context["fields"] ?? null), "wn_pdp_headerimage", [], "any", false, false, false, 5)) {
// line 6
echo " <div class=\"detail-motion-image-wrapper\">
";
// line 7
$context["motionImageID"] = sw_get_attribute($this->env, $this->source, ($context["fields"] ?? null), "wn_pdp_headerimage", [], "any", false, false, false, 7);
// line 8
echo "
";
// line 10
echo " ";
$context["mediaCollection"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([0 => ($context["motionImageID"] ?? null)], sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 10));
// line 11
echo "
";
// line 13
echo " ";
$context["motionImage"] = sw_get_attribute($this->env, $this->source, ($context["mediaCollection"] ?? null), "get", [0 => ($context["motionImageID"] ?? null)], "method", false, false, false, 13);
// line 14
echo "
";
// line 15
((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, "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 15);
})())->display(twig_array_merge($context, ["media" => // line 16
($context["motionImage"] ?? null), "attributes" => ["class" => "detail-motion-image", "alt" => ((sw_get_attribute($this->env, $this->source, // line 19
($context["motionImage"] ?? null), "alt", [], "any", false, false, false, 19)) ? (sw_get_attribute($this->env, $this->source, ($context["motionImage"] ?? null), "alt", [], "any", false, false, false, 19)) : ("")), "title" => ((sw_get_attribute($this->env, $this->source, // line 20
($context["motionImage"] ?? null), "title", [], "any", false, false, false, 20)) ? (sw_get_attribute($this->env, $this->source, ($context["motionImage"] ?? null), "title", [], "any", false, false, false, 20)) : ("")), "style" => sw_get_attribute($this->env, $this->source, // line 21
($context["fields"] ?? null), "wn_pdp_headerimage_additional_styles", [], "any", false, false, false, 21)], "name" => "navigation-flyout-teaser-image-thumbnails"]));
// line 24
echo " </div>
";
} else {
// line 26
echo " <div class=\"detail-motion-spacer\"></div>
";
}
// line 28
echo "
";
// line 29
$this->displayParentBlock("base_main_inner", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 32
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 33
echo " <div class=\"col-lg-5 product-detail-buy\">
";
// line 34
$this->displayBlock('page_product_detail_reviews', $context, $blocks);
// line 58
echo "
<div class=\"product-detail-list custom-listing-list-wrapper\">
";
// line 60
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, 60), "translated", [], "any", false, false, false, 60), "customFields", [], "any", false, false, false, 60), "wndev_ads_custom_list", [], "any", false, false, false, 60)) {
// line 61
echo " ";
echo 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, 61), "translated", [], "any", false, false, false, 61), "customFields", [], "any", false, false, false, 61), "wndev_ads_custom_list", [], "any", false, false, false, 61);
echo "
";
}
// line 63
echo " </div>
";
// line 64
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, 64), "translated", [], "any", false, false, false, 64), "customFields", [], "any", false, false, false, 64), "sal_product_badge1", [], "any", false, false, false, 64)) {
// line 65
echo " <div class=\"product-badge\">
";
// line 66
$context["Badge1ID"] = 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, 66), "translated", [], "any", false, false, false, 66), "customFields", [], "any", false, false, false, 66), "sal_product_badge1", [], "any", false, false, false, 66);
// line 67
echo "
";
// line 69
echo " ";
$context["mediaCollection"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([0 => ($context["Badge1ID"] ?? null)], sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 69));
// line 70
echo "
";
// line 72
echo " ";
$context["Badge1"] = sw_get_attribute($this->env, $this->source, ($context["mediaCollection"] ?? null), "get", [0 => ($context["Badge1ID"] ?? null)], "method", false, false, false, 72);
// line 73
echo "
";
// line 74
((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, "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 74);
})())->display(twig_array_merge($context, ["media" => // line 75
($context["Badge1"] ?? null), "attributes" => ["class" => "vlog-badge-image", "alt" => ((sw_get_attribute($this->env, $this->source, // line 78
($context["Badge1"] ?? null), "alt", [], "any", false, false, false, 78)) ? (sw_get_attribute($this->env, $this->source, ($context["Badge1"] ?? null), "alt", [], "any", false, false, false, 78)) : ("")), "title" => ((sw_get_attribute($this->env, $this->source, // line 79
($context["Badge1"] ?? null), "title", [], "any", false, false, false, 79)) ? (sw_get_attribute($this->env, $this->source, ($context["Badge1"] ?? null), "title", [], "any", false, false, false, 79)) : ("")), "data-object-fit" => "cover", "height" => "55", "width" => "83"], "name" => "vlog-badge-listing"]));
// line 85
echo " </div>
";
}
// line 87
echo "
";
// line 88
$this->loadTemplate("@SalvanaPferde2022/storefront/page/product-detail/buy-widget.html.twig", "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 88)->display($context);
// line 89
echo " <div class=\"bl-suche\">
<h3>Persönliche Beratung</h3>
<p>Hier finden Sie Ihren persönlichen Ansprechpartner:</p>
";
// line 92
$this->loadTemplate("@SalvanaPferde2022/storefront/component/bl-suche.html.twig", "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 92)->display($context);
// line 93
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 34
public function block_page_product_detail_reviews($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_reviews"));
$__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_reviews"));
// line 35
echo " ";
if (((1 === twig_compare(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 35), "ratingAverage", [], "any", false, false, false, 35), 0)) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["shopware"] ?? null), "config", [], "any", false, false, false, 35), "detail", [], "any", false, false, false, 35), "showReviews", [], "any", false, false, false, 35))) {
// line 36
echo " <p class=\"product-detail-reviews\">
";
// line 37
$this->loadTemplate("@SalvanaPferde2022/storefront/component/review/rating.html.twig", "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 37)->display(twig_array_merge($context, ["points" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 38
($context["page"] ?? null), "product", [], "any", false, false, false, 38), "ratingAverage", [], "any", false, false, false, 38), "style" => "text-primary"]));
// line 41
echo " <a data-toggle=\"tab\"
class=\"product-detail-reviews-link\"
data-offcanvas-tabs=\"true\"
data-remote-click=\"true\"
data-remote-click-options='{
\"selector\": \"#review-tab\",
\"scrollToElement\": true
}'
href=\"#review-tab-pane\"
aria-controls=\"review-tab-pane\">
";
// line 52
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, 52), "ratingAverage", [], "any", false, false, false, 52), "html", null, true);
echo " / ";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "reviews", [], "any", false, false, false, 52), "totalReviews", [], "any", false, false, false, 52), "html", null, true);
echo "
";
// line 53
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewLinkText", ["%count%" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "reviews", [], "any", false, false, false, 53), "totalReviews", [], "any", false, false, false, 53)]));
echo "
</a>
</p>
";
}
// line 57
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 97
public function block_page_product_detail_breadcrumb($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_breadcrumb"));
$__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_breadcrumb"));
// line 98
echo " <div class=\"breadcrumb product-breadcrumb container\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
";
// line 99
$this->loadTemplate("@SalvanaPferde2022/storefront/component/product/breadcrumb.html.twig", "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 99)->display(twig_to_array(["navigationTree" => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 100
($context["page"] ?? null), "header", [], "any", false, false, false, 100), "navigation", [], "any", false, false, false, 100), "tree", [], "any", false, false, false, 100), "categoryTree" => twig_last($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, // line 101
($context["page"] ?? null), "product", [], "any", false, false, false, 101), "categoryTree", [], "any", false, false, false, 101)), "product" => sw_get_attribute($this->env, $this->source, // line 102
($context["page"] ?? null), "product", [], "any", false, false, false, 102)]));
// line 104
echo "
<div class=\"breadcrumb-placeholder\">
";
// line 106
((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, "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", 106);
})())->display(twig_array_merge($context, ["size" => "fluid", "pack" => "solid", "name" => "arrow-medium-right"]));
// line 107
echo " </div>
<div itemprop=\"itemListElement\" itemscope
itemtype=\"http://schema.org/ListItem\">
<span itemprop=\"name\" class=\"is--active\">";
// line 110
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, 110), "translated", [], "any", false, false, false, 110), "name", [], "any", false, false, false, 110), "html", null, true);
echo "</span>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 313 => 110, 308 => 107, 300 => 106, 296 => 104, 294 => 102, 293 => 101, 292 => 100, 291 => 99, 288 => 98, 278 => 97, 268 => 57, 261 => 53, 255 => 52, 242 => 41, 240 => 38, 239 => 37, 236 => 36, 233 => 35, 223 => 34, 211 => 93, 209 => 92, 204 => 89, 202 => 88, 199 => 87, 195 => 85, 193 => 79, 192 => 78, 191 => 75, 184 => 74, 181 => 73, 178 => 72, 175 => 70, 172 => 69, 169 => 67, 167 => 66, 164 => 65, 162 => 64, 159 => 63, 153 => 61, 151 => 60, 147 => 58, 145 => 34, 142 => 33, 132 => 32, 120 => 29, 117 => 28, 113 => 26, 109 => 24, 107 => 21, 106 => 20, 105 => 19, 104 => 16, 97 => 15, 94 => 14, 91 => 13, 88 => 11, 85 => 10, 82 => 8, 80 => 7, 77 => 6, 74 => 5, 71 => 4, 61 => 3, 38 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% block base_main_inner %}
{% set fields = page.product.translated.customFields %}
{% if fields.wn_pdp_headerimage %}
<div class=\"detail-motion-image-wrapper\">
{% set motionImageID = fields.wn_pdp_headerimage %}
{# fetch media as batch - optimized for performance #}
{% set mediaCollection = searchMedia([motionImageID], context.context) %}
{# extract single media object #}
{% set motionImage = mediaCollection.get(motionImageID) %}
{% sw_thumbnails 'navigation-flyout-teaser-image-thumbnails' with {
media: motionImage,
attributes: {
'class': 'detail-motion-image',
'alt': (motionImage.alt ?: ''),
'title': (motionImage.title ?: ''),
'style': (fields.wn_pdp_headerimage_additional_styles)
}
} %}
</div>
{% else %}
<div class=\"detail-motion-spacer\"></div>
{% endif %}
{{ parent() }}
{% endblock %}
{% block page_product_detail_buy %}
<div class=\"col-lg-5 product-detail-buy\">
{% block page_product_detail_reviews %}
{% if page.product.ratingAverage > 0 and shopware.config.detail.showReviews %}
<p class=\"product-detail-reviews\">
{% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {
points: page.product.ratingAverage,
style: 'text-primary'
} %}
<a data-toggle=\"tab\"
class=\"product-detail-reviews-link\"
data-offcanvas-tabs=\"true\"
data-remote-click=\"true\"
data-remote-click-options='{
\"selector\": \"#review-tab\",
\"scrollToElement\": true
}'
href=\"#review-tab-pane\"
aria-controls=\"review-tab-pane\">
{{ page.product.ratingAverage }} / {{ page.reviews.totalReviews}}
{{ \"detail.reviewLinkText\"|trans({'%count%': page.reviews.totalReviews})|sw_sanitize }}
</a>
</p>
{% endif %}
{% endblock %}
<div class=\"product-detail-list custom-listing-list-wrapper\">
{% if page.product.translated.customFields.wndev_ads_custom_list %}
{{ page.product.translated.customFields.wndev_ads_custom_list|raw }}
{% endif %}
</div>
{% if page.product.translated.customFields.sal_product_badge1 %}
<div class=\"product-badge\">
{% set Badge1ID = page.product.translated.customFields.sal_product_badge1 %}
{# fetch media as batch - optimized for performance #}
{% set mediaCollection = searchMedia([Badge1ID], context.context) %}
{# extract single media object #}
{% set Badge1 = mediaCollection.get(Badge1ID) %}
{% sw_thumbnails 'vlog-badge-listing' with {
media: Badge1,
attributes: {
'class': 'vlog-badge-image',
'alt': (Badge1.alt ?: ''),
'title': (Badge1.title ?: ''),
'data-object-fit': 'cover',
'height':'55',
'width':'83'
}
} %}
</div>
{% endif %}
{% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
<div class=\"bl-suche\">
<h3>Persönliche Beratung</h3>
<p>Hier finden Sie Ihren persönlichen Ansprechpartner:</p>
{% sw_include '@Storefront/storefront/component/bl-suche.html.twig' %}
</div>
</div>
{% endblock %}
{% block page_product_detail_breadcrumb %}
<div class=\"breadcrumb product-breadcrumb container\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
{% sw_include '@Storefront/storefront/component/product/breadcrumb.html.twig' with {
navigationTree: page.header.navigation.tree,
categoryTree: page.product.categoryTree|last,
product: page.product
} only %}
<div class=\"breadcrumb-placeholder\">
{% sw_icon 'arrow-medium-right' style { 'size': 'fluid', 'pack': 'solid'} %}
</div>
<div itemprop=\"itemListElement\" itemscope
itemtype=\"http://schema.org/ListItem\">
<span itemprop=\"name\" class=\"is--active\">{{ page.product.translated.name }}</span>
</div>
</div>
{% endblock %}
", "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig", "/var/www/vhosts/salvana.aix-dev.de/dev.salvana.com/src/custom/plugins/SalvanaPferde2022/src/Resources/views/storefront/page/product-detail/index.html.twig");
}
}