<?php
use Twig\Environment;
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;
/* @SyliusShop/Product/Show/_header.html.twig */
class __TwigTemplate_b3002dea50d26880f1140cf5a7ff8ad1 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "@SyliusShop/Product/Show/_header.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/Show/_header.html.twig"));
// line 1
echo "<div class=\"header-product\">
<div class=\"product-title\">
<h1 id=\"sylius-product-name\">";
// line 3
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 3, $this->source); })()), "name", [], "any", false, false, false, 3), "html", null, true);
echo "</h1>
</div>
<div id=\"product-price\">
";
// line 6
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 6, $this->source); })()), "enabledVariants", [], "any", false, false, false, 6), "empty", [], "method", false, false, false, 6)) {
// line 7
echo " ";
$this->loadTemplate("@SyliusShop/Product/Show/_price.html.twig", "@SyliusShop/Product/Show/_header.html.twig", 7)->display($context);
// line 8
echo " ";
}
// line 9
echo " </div>
<div class=\"place-and-name-product-show\">
<div class=\"place-product-show\">
<svg width=\"18\" height=\"23\" viewBox=\"0 0 18 23\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M9 21C9 21 1 15 1 9C1 4 5 1 9 1C13 1 17 4 17 9C17 15 9 21 9 21ZM9 12C9.79565 12 10.5587 11.6839 11.1213 11.1213C11.6839 10.5587 12 9.79565 12 9C12 8.20435 11.6839 7.44129 11.1213 6.87868C10.5587 6.31607 9.79565 6 9 6C8.20435 6 7.44129 6.31607 6.87868 6.87868C6.31607 7.44129 6 8.20435 6 9C6 9.79565 6.31607 10.5587 6.87868 11.1213C7.44129 11.6839 8.20435 12 9 12Z\" stroke=\"#858585\" stroke-width=\"2\"/>
</svg>
<span>";
// line 15
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 15, $this->source); })()), "vendor", [], "any", false, false, false, 15), "vendorAddress", [], "any", false, false, false, 15), "city", [], "any", false, false, false, 15), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 15, $this->source); })()), "vendor", [], "any", false, false, false, 15), "vendorAddress", [], "any", false, false, false, 15), "country", [], "any", false, false, false, 15), "html", null, true);
echo "</span>
</div>
<span>|</span>
<div class=\"vendor-name-product-show\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M10 17.2C7.5 17.2 5.29 15.92 4 14C4.03 12 8 10.9 10 10.9C12 10.9 15.97 12 16 14C15.3389 14.9844 14.4459 15.7912 13.3996 16.3492C12.3533 16.9072 11.1858 17.1994 10 17.2ZM10 3C10.7956 3 11.5587 3.31607 12.1213 3.87868C12.6839 4.44129 13 5.20435 13 6C13 6.79565 12.6839 7.55871 12.1213 8.12132C11.5587 8.68393 10.7956 9 10 9C9.20435 9 8.44129 8.68393 7.87868 8.12132C7.31607 7.55871 7 6.79565 7 6C7 5.20435 7.31607 4.44129 7.87868 3.87868C8.44129 3.31607 9.20435 3 10 3ZM10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7362 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10C20 4.47 15.5 0 10 0Z\" fill=\"#858585\"/>
</svg>
<span>";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 22, $this->source); })()), "vendor", [], "any", false, false, false, 22), "shopUser", [], "any", false, false, false, 22), "customer", [], "any", false, false, false, 22), "firstName", [], "any", false, false, false, 22), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 22, $this->source); })()), "vendor", [], "any", false, false, false, 22), "shopUser", [], "any", false, false, false, 22), "customer", [], "any", false, false, false, 22), "lastName", [], "any", false, false, false, 22), "html", null, true);
echo "</span>
</div>
</div>
<div class=\"inventory-product-destock\">
";
// line 26
$this->loadTemplate("@SyliusShop/Product/Show/_inventory.html.twig", "@SyliusShop/Product/Show/_header.html.twig", 26)->display($context);
// line 27
echo " </div>
</div>
<style>
.ui.stackable.grid{
display: flex;
}
/*#product-price{*/
/* !*margin-left: auto;*!*/
/* display: flex;*/
/* align-items: center;*/
/* justify-content: flex-end;*/
/* margin: 0 !important*/
/*}*/
</style>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Product/Show/_header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 92 => 27, 90 => 26, 81 => 22, 69 => 15, 61 => 9, 58 => 8, 55 => 7, 53 => 6, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"header-product\">
<div class=\"product-title\">
<h1 id=\"sylius-product-name\">{{ product.name }}</h1>
</div>
<div id=\"product-price\">
{% if not product.enabledVariants.empty() %}
{% include '@SyliusShop/Product/Show/_price.html.twig' %}
{% endif %}
</div>
<div class=\"place-and-name-product-show\">
<div class=\"place-product-show\">
<svg width=\"18\" height=\"23\" viewBox=\"0 0 18 23\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M9 21C9 21 1 15 1 9C1 4 5 1 9 1C13 1 17 4 17 9C17 15 9 21 9 21ZM9 12C9.79565 12 10.5587 11.6839 11.1213 11.1213C11.6839 10.5587 12 9.79565 12 9C12 8.20435 11.6839 7.44129 11.1213 6.87868C10.5587 6.31607 9.79565 6 9 6C8.20435 6 7.44129 6.31607 6.87868 6.87868C6.31607 7.44129 6 8.20435 6 9C6 9.79565 6.31607 10.5587 6.87868 11.1213C7.44129 11.6839 8.20435 12 9 12Z\" stroke=\"#858585\" stroke-width=\"2\"/>
</svg>
<span>{{ product.vendor.vendorAddress.city }}, {{ product.vendor.vendorAddress.country }}</span>
</div>
<span>|</span>
<div class=\"vendor-name-product-show\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M10 17.2C7.5 17.2 5.29 15.92 4 14C4.03 12 8 10.9 10 10.9C12 10.9 15.97 12 16 14C15.3389 14.9844 14.4459 15.7912 13.3996 16.3492C12.3533 16.9072 11.1858 17.1994 10 17.2ZM10 3C10.7956 3 11.5587 3.31607 12.1213 3.87868C12.6839 4.44129 13 5.20435 13 6C13 6.79565 12.6839 7.55871 12.1213 8.12132C11.5587 8.68393 10.7956 9 10 9C9.20435 9 8.44129 8.68393 7.87868 8.12132C7.31607 7.55871 7 6.79565 7 6C7 5.20435 7.31607 4.44129 7.87868 3.87868C8.44129 3.31607 9.20435 3 10 3ZM10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7362 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10C20 4.47 15.5 0 10 0Z\" fill=\"#858585\"/>
</svg>
<span>{{ product.vendor.shopUser.customer.firstName}} {{ product.vendor.shopUser.customer.lastName }}</span>
</div>
</div>
<div class=\"inventory-product-destock\">
{% include '@SyliusShop/Product/Show/_inventory.html.twig' %}
</div>
</div>
<style>
.ui.stackable.grid{
display: flex;
}
/*#product-price{*/
/* !*margin-left: auto;*!*/
/* display: flex;*/
/* align-items: center;*/
/* justify-content: flex-end;*/
/* margin: 0 !important*/
/*}*/
</style>
", "@SyliusShop/Product/Show/_header.html.twig", "/var/www/Bikers/templates/bundles/SyliusShopBundle/Product/Show/_header.html.twig");
}
}