var/cache/dev/twig/29/292e3332b0b9b01bc63f010b41a71ce4.php line 53
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* mens/product/product_page.twig */
class __TwigTemplate_453a974a34d7f3b448c9533e6c6b34db extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'head' => [$this, 'block_head'],
'breadcrumb' => [$this, 'block_breadcrumb'],
'main' => [$this, 'block_main'],
'newsletter' => [$this, 'block_newsletter'],
'js' => [$this, 'block_js'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "mens/base/base_mens.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", "mens/product/product_page.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "mens/product/product_page.twig"));
$this->parent = $this->loadTemplate("mens/base/base_mens.twig", "mens/product/product_page.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_head($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", "head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 4
yield " ";
// line 5
yield " ";
yield from $this->loadTemplate("mens/product/styles.html.twig", "mens/product/product_page.twig", 5)->unwrap()->yield($context);
// line 6
yield " <style>
.image-swatch li img {
width: 60px;
height: 60px;
cursor: pointer;
}
.breadcrumb-item+.breadcrumb-item::before {
float: left;
padding-right: .5rem;
color: #6c757d;
content: \"›\";
}
.product-right .price-detail span {
font-size: 22px;
padding-left: 0px;
}
.product-shipping-info{
display: grid;
grid-gap: 30px;
}
.product-right .product-count {
padding: 15px 15px;
border: 1px solid #eee;
background-color: #ffff;
}
.p-btn-circle {
border-radius: 100px;
}
</style>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css\" integrity=\"sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 40
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/slick/slick.css"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 41
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/slick/slick-theme.css"), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 46
public function block_breadcrumb($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", "breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 47
yield " <div class=\"breadcrumb-section\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-12\">
<nav aria-label=\"breadcrumb\" class=\"theme-breadcrumb\">
<ol class=\"breadcrumb justify-content-lg-start\">
<li class=\"breadcrumb-item d-mobile-none\"><a href=\"/\">";
// line 53
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home", [], "templates"), "html", null, true);
yield "</a></li>
<li class=\"breadcrumb-item d-mobile-none\"><a href=\"/\">";
// line 54
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 54, $this->source); })()), "name", [], "any", false, false, false, 54), "html", null, true);
yield "</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 55
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 55, $this->source); })()), "name", [], "any", false, false, false, 55), "html", null, true);
yield "</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 64
public function block_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", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 65
yield "
";
// line 67
yield " <script>
let maxProductInStock //Add maximum product in stock
</script>
";
// line 72
yield " <!-- section start -->
<section>
<div class=\"collection-wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-1 col-sm-2 col-xs-12\">
<div class=\"row\">
<div class=\"col-12 p-0\">
<div class=\"slider-right-nav\">
";
// line 81
if (CoreExtension::getAttribute($this->env, $this->source, ($context["variant"] ?? null), "images", [], "any", true, true, false, 81)) {
// line 82
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 82, $this->source); })()), "images", [], "any", false, false, false, 82));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 83
yield " <div>
<img src=\"";
// line 84
yield Twig\Extension\EscaperExtension::escape($this->env, $context["image"], "html", null, true);
yield "\" alt=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 84, $this->source); })()), "name", [], "any", false, false, false, 84), "html", null, true);
yield "\"
class=\"img-fluid blur-up lazyload\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 88
yield " ";
}
// line 89
yield " </div>
</div>
</div>
</div>
<div class=\"col-lg-5 col-sm-10 col-xs-12 order-up\">
<div class=\"product-right-slick\">
";
// line 96
if (CoreExtension::getAttribute($this->env, $this->source, ($context["variant"] ?? null), "images", [], "any", true, true, false, 96)) {
// line 97
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 97, $this->source); })()), "images", [], "any", false, false, false, 97));
$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["image"]) {
// line 98
yield " <div>
<img src=\"";
// line 99
yield Twig\Extension\EscaperExtension::escape($this->env, $context["image"], "html", null, true);
yield "\" alt=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 99, $this->source); })()), "name", [], "any", false, false, false, 99), "html", null, true);
yield "\"
class=\"img-fluid blur-up lazyload image_zoom_cls-";
// line 100
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 100), "html", null, true);
yield "\">
</div>
";
++$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['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 103
yield " ";
}
// line 104
yield " </div>
</div>
<div class=\"col-lg-6 rtl-text\">
<div class=\"product-right\">
";
// line 109
yield " <h2 class=\"product-name\">";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 109, $this->source); })()), "name", [], "any", false, false, false, 109), "html", null, true);
yield "</h2>
<h3 class=\"price-detail text-stroke\"><span class=\"product-price\">";
// line 111
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 111, $this->source); })()), "getRetailPrice", [], "method", false, false, false, 111), "html", null, true);
yield " EUR</span></h3>
<span class=\"text-uppercase\">";
// line 113
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Color", [], "templates"), "html", null, true);
yield " : <strong id=\"colorSwatch\">Red</strong></span>
<ul class=\"image-swatch mt-2\">
";
// line 115
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 115, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 116
yield " ";
$context["foo"] = "bar";
// line 117
yield " ";
// line 118
yield " <li
data-color=\"";
// line 119
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 119), "html", null, true);
yield "\"
onmouseover=\"product.swatchColor('";
// line 120
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, false, 120), "html", null, true);
yield "')\"
";
// line 122
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["option"], "productVariant", [], "any", false, false, false, 122), "id", [], "any", false, false, false, 122) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 122, $this->source); })()), "id", [], "any", false, false, false, 122))) {
yield "class=\"active\"";
}
// line 123
yield " >
<a href=\"";
// line 124
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_product_page", ["pid" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 124, $this->source); })()), "id", [], "any", false, false, false, 124), "vid" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["option"], "productVariant", [], "any", false, false, false, 124), "id", [], "any", false, false, false, 124), "gender" => "mens"]), "html", null, true);
yield "\"><img src=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["option"], "productVariant", [], "any", false, false, false, 124), "mainImage", [], "any", false, false, false, 124), "html", null, true);
yield "\" alt=\"\" class=\"img-fluid blur-up lazyload\"></a>
</li>
";
// line 127
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 128
yield " </ul>
<div id=\"selectSize\" class=\"addeffect-section product-description border-product\">
<h6 class=\"product-title size-text\">";
// line 130
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("select size", [], "templates"), "html", null, true);
yield " </h6>
<div class=\"modal fade\" id=\"sizemodal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"exampleModalLabel\">Sheer
Straight Kurta</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\"
aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>
</div>
<div class=\"modal-body\"><img src=\"";
// line 141
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/size-chart.jpg"), "html", null, true);
yield "\" alt=\"\"
class=\"img-fluid blur-up lazyload\"></div>
</div>
</div>
</div>
<h6 class=\"size-select error-message\">";
// line 147
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please select size", [], "templates"), "html", null, true);
yield "</h6>
<div class=\"size-box\">
<ul>
";
// line 150
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["sizeOptions"]) || array_key_exists("sizeOptions", $context) ? $context["sizeOptions"] : (function () { throw new RuntimeError('Variable "sizeOptions" does not exist.', 150, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["size"]) {
// line 151
yield " <li onclick=\"product.selectCurrent('";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["size"], "productVariant", [], "any", false, false, false, 151), "id", [], "any", false, false, false, 151), "html", null, true);
yield "',this)\">
<div id=\"v-info\" data-id=\"";
// line 152
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["size"], "productVariant", [], "any", false, false, false, 152), "id", [], "any", false, false, false, 152), "html", null, true);
yield "\" data-name=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["size"], "productVariant", [], "any", false, false, false, 152), "name", [], "any", false, false, false, 152), "html", null, true);
yield "\" data-price=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["size"], "productVariant", [], "any", false, false, false, 152), "price", [], "any", false, false, false, 152), "html", null, true);
yield "\" data-image=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["size"], "productVariant", [], "any", false, false, false, 152), "mainImage", [], "any", false, false, false, 152), "html", null, true);
yield "\">
</div>
<a href=\"javascript:void(0)\">";
// line 154
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["size"], "value", [], "any", false, false, false, 154), "html", null, true);
yield "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['size'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 157
yield " </ul>
</div>
</div>
<div class=\"product-buttons\">
";
// line 162
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 162, $this->source); })()), "quantity", [], "any", false, false, false, 162) == 0)) {
// line 163
yield " <div id=\"cartEffect\" class=\"btn p-btn-circle hover-solid btn-animation product\">
<h6 class=\"product-title text-danger\">";
// line 164
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SOLD OUT", [], "templates"), "html", null, true);
yield "</h6>
</div>
";
} else {
// line 167
yield " <div onclick=\"product.addToCart()\" id=\"cartEffect\" class=\"btn p-btn-circle btn-solid hover-solid btn-animation product\">
<i class=\"fa fa-shopping-cart me-1\" aria-hidden=\"true\"></i> ";
// line 168
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("add to cart", [], "templates"), "html", null, true);
yield "
</div>
";
}
// line 171
yield "
<a href=\"#\" data-p-id=\"";
// line 174
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 174, $this->source); })()), "product", [], "any", false, false, false, 174), "id", [], "any", false, false, false, 174), "html", null, true);
yield "\" onclick=\"addToFavoris(this,'fa-2xl')\" class=\"btn btn-solid p-btn-circle\">
";
// line 176
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 176, $this->source); })()), "product", [], "any", false, false, false, 176), "id", [], "any", false, false, false, 176), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "session", [], "any", false, false, false, 176), "get", ["wishlist"], "method", false, false, false, 176))) {
// line 177
yield " <i class='fa-solid fa-heart fa-2xl' style='color: #ff0000;'></i>
";
} else {
// line 179
yield " <i class='fa-regular fa-heart fa-2xl'></i>
";
}
// line 181
yield "
</a>
</div>
<div class=\"product-count\">
<ul class=\"product-shipping-info\">
<li>
<i class=\"fa-solid fa-truck fa-2xl me-1\"></i>
<span class=\"lang\">";
// line 188
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Free shipping on qualifying orders", [], "templates"), "html", null, true);
yield "</span>
</li>
<li>
";
// line 192
yield " <i class=\"fa-solid fa-box fa-2xl me-1\"></i>
<span class=\"lang\">";
// line 193
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Free Returns", [], "templates"), "html", null, true);
yield " </span>
</li>
</ul>
</div>
";
// line 203
yield " <div class=\"border-product\">
<div class=\"row product-accordion\">
<div class=\"col-sm-12\">
<div class=\"accordion theme-accordion\" id=\"accordionExample\">
";
// line 207
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 207, $this->source); })()), "description", [], "any", false, false, false, 207)) {
// line 208
yield " <div class=\"card\">
<div class=\"card-header\" id=\"headingOne\">
<h5 class=\"mb-0\"><button class=\"btn btn-link\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseOne\" aria-expanded=\"true\" aria-controls=\"collapseOne\">";
// line 210
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product description", [], "templates"), "html", null, true);
yield "</button></h5>
</div>
<div id=\"collapseOne\" class=\"collapse show\" aria-labelledby=\"headingOne\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<p><p>";
// line 214
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 214, $this->source); })()), "description", [], "any", false, false, false, 214);
yield "</p></p>
</div>
</div>
</div>
";
}
// line 219
yield "
";
// line 220
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 220, $this->source); })()), "composition", [], "any", false, false, false, 220)) {
// line 221
yield " <div class=\"card\">
<div class=\"card-header\" id=\"headingThree\">
<h5 class=\"mb-0\"><button class=\"btn btn-link collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\">";
// line 223
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Material", [], "templates"), "html", null, true);
yield "</button></h5>
</div>
<div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<p>";
// line 227
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 227, $this->source); })()), "composition", [], "any", false, false, false, 227);
yield "</p>
</div>
</div>
</div>
";
}
// line 232
yield "
<div class=\"card\">
<div class=\"card-header\" id=\"headingThree\">
<h5 class=\"mb-0\"><button class=\"btn btn-link collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\">";
// line 235
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Size & Fit", [], "templates"), "html", null, true);
yield "</button></h5>
</div>
<div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<h6 class=\"product-title size-text\"><span><a href=\"\" data-bs-toggle=\"modal\"
data-bs-target=\"#sizemodal\">";
// line 240
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sizechart", [], "templates"), "html", null, true);
yield "</a></span></h6>
</div>
</div>
</div>
<div class=\"card\">
<div class=\"card-header\" id=\"headingThree\">
<h5 class=\"mb-0\"><button class=\"btn btn-link collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\">";
// line 246
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Care Guide", [], "templates"), "html", null, true);
yield "</button></h5>
</div>
<div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<p>";
// line 250
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Material", [], "templates"), "html", null, true);
yield "</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"border-product\">
<h6 class=\"product-title\">";
// line 259
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("share it", [], "templates"), "html", null, true);
yield "</h6>
<div class=\"product-icon\">
<ul class=\"product-social\">
<li><a href=\"#\"><i class=\"fab fa-facebook-f\"></i></a></li>
<li><a href=\"#\"><i class=\"fab fa-google-plus-g\"></i></a></li>
<li><a href=\"#\"><i class=\"fab fa-twitter\"></i></a></li>
<li><a href=\"#\"><i class=\"fab fa-instagram\"></i></a></li>
<li><a href=\"#\"><i class=\"fa fa-rss\"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Section ends -->
<div id=\"info\" data-local=";
// line 278
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 278, $this->source); })()), "request", [], "any", false, false, false, 278), "locale", [], "any", false, false, false, 278), "html", null, true);
yield " data-apiId=";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 278, $this->source); })()), "apiId", [], "any", false, false, false, 278), "html", null, true);
yield " data-id=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 278, $this->source); })()), "id", [], "any", false, false, false, 278), "html", null, true);
yield "\" data-name=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 278, $this->source); })()), "name", [], "any", false, false, false, 278), "html", null, true);
yield "\" data-price=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 278, $this->source); })()), "price", [], "any", false, false, false, 278), "html", null, true);
yield "\" data-image=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 278, $this->source); })()), "mainImage", [], "any", false, false, false, 278), "html", null, true);
yield "\">
</div>
<!-- product section start -->
";
// line 282
if ((isset($context["relatedProducts"]) || array_key_exists("relatedProducts", $context) ? $context["relatedProducts"] : (function () { throw new RuntimeError('Variable "relatedProducts" does not exist.', 282, $this->source); })())) {
// line 283
yield " <section class=\"section-b-space ratio_asos\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 product-related\">
<h2>";
// line 287
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("You might also like", [], "templates"), "html", null, true);
yield "</h2>
</div>
</div>
<div class=\"row autoplay search-product\">
";
// line 291
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["relatedProducts"]) || array_key_exists("relatedProducts", $context) ? $context["relatedProducts"] : (function () { throw new RuntimeError('Variable "relatedProducts" does not exist.', 291, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["relatedProduct"]) {
// line 292
yield "
<div class=\"col-xl-3 col-md-4 col-6\">
<div class=\"product-box p-1\">
<div class=\"img-wrapper\">
<div class=\"front\">
<a href=\"";
// line 297
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_product_page", ["pid" => CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "id", [], "any", false, false, false, 297), "vid" => CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "firstVariantId", [], "method", false, false, false, 297), "gender" => "mens"]), "html", null, true);
yield "\"><img src=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "mainImage", [], "any", false, false, false, 297), "html", null, true);
yield "\"
class=\"img-fluid blur-up lazyload bg-img\" alt=\"\"></a>
</div>
<div class=\"back\">
<a href=\"";
// line 301
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_product_page", ["pid" => CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "id", [], "any", false, false, false, 301), "vid" => CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "firstVariantId", [], "any", false, false, false, 301), "gender" => "mens"]), "html", null, true);
yield "\"><img src=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "getSecondImage", [], "method", false, false, false, 301), "html", null, true);
yield "\"
class=\"img-fluid blur-up lazyload bg-img\" alt=\"\"></a>
</div>
<div class=\"cart-info cart-wrap\">
<button onclick=\"product.addRelatedToCart(this)\"
data-id=\"";
// line 306
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "firstVariantId", [], "method", false, false, false, 306), "html", null, true);
yield "\"
data-price=\"";
// line 307
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "firstVariantPrice", [], "method", false, false, false, 307), "html", null, true);
yield "\"
data-name=\"";
// line 308
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "name", [], "any", false, false, false, 308), "html", null, true);
yield "\"
data-image=\"";
// line 309
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "mainImage", [], "any", false, false, false, 309), "html", null, true);
yield "\"
";
// line 311
yield " title=\"Add to cart\"
>
</button>
<a href=\"javascript:void(0)\" data-p-id=\"";
// line 314
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "id", [], "any", false, false, false, 314), "html", null, true);
yield "\" onclick=\"addToFavoris(this)\" title=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Wishlist", [], "templates"), "html", null, true);
yield "\"><i class=\"ti-heart\" aria-hidden=\"true\"></i></a>
</div>
</div>
<div class=\"product-detail\">
";
// line 321
yield " <a href=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_product_page", ["pid" => CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "id", [], "any", false, false, false, 321), "vid" => CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "firstVariantId", [], "method", false, false, false, 321), "gender" => "mens"]), "html", null, true);
yield "\">
<h6>";
// line 322
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "name", [], "any", false, false, false, 322), "html", null, true);
yield "</h6>
</a>
<h4>";
// line 324
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["relatedProduct"], "firstVariantPrice", [], "method", false, false, false, 324), "html", null, true);
yield " EUR</h4>
";
// line 330
yield " </div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['relatedProduct'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 334
yield " </div>
</div>
</div>
</section>
";
}
// line 339
yield " <!-- product section end -->
<!-- tap to top start -->
<div class=\"tap-top\">
<div><i class=\"fa fa-angle-double-up\"></i></div>
</div>
<!-- tap to top end -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 353
public function block_newsletter($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", "newsletter"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "newsletter"));
// line 354
yield " ";
yield from $this->loadTemplate("front_end/base/newsletter.twig", "mens/product/product_page.twig", 354)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 357
public function block_js($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", "js"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js"));
// line 358
yield " <script src=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/product.js"), "html", null, true);
yield "\"></script>
";
// line 359
yield from $this->loadTemplate("mens/product/scripts.html.twig", "mens/product/product_page.twig", 359)->unwrap()->yield($context);
// line 360
yield " <script type=\"text/javascript\" src=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/slick/slick.min.js"), "html", null, true);
yield "\"></script>
<script type=\"text/javascript\">
\$('.autoplay').slick({
slidesToShow: 4,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
});
</script>
<script src=\"";
// line 369
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/modules.js"), "html", null, true);
yield "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "mens/product/product_page.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 798 => 369, 785 => 360, 783 => 359, 778 => 358, 768 => 357, 756 => 354, 746 => 353, 723 => 339, 716 => 334, 707 => 330, 703 => 324, 698 => 322, 693 => 321, 684 => 314, 679 => 311, 675 => 309, 671 => 308, 667 => 307, 663 => 306, 653 => 301, 644 => 297, 637 => 292, 633 => 291, 626 => 287, 620 => 283, 618 => 282, 601 => 278, 579 => 259, 567 => 250, 560 => 246, 551 => 240, 543 => 235, 538 => 232, 530 => 227, 523 => 223, 519 => 221, 517 => 220, 514 => 219, 506 => 214, 499 => 210, 495 => 208, 493 => 207, 487 => 203, 480 => 193, 477 => 192, 471 => 188, 462 => 181, 458 => 179, 454 => 177, 452 => 176, 447 => 174, 442 => 171, 436 => 168, 433 => 167, 427 => 164, 424 => 163, 422 => 162, 415 => 157, 406 => 154, 395 => 152, 390 => 151, 386 => 150, 380 => 147, 371 => 141, 357 => 130, 353 => 128, 347 => 127, 340 => 124, 337 => 123, 332 => 122, 328 => 120, 324 => 119, 321 => 118, 319 => 117, 316 => 116, 312 => 115, 307 => 113, 302 => 111, 296 => 109, 290 => 104, 287 => 103, 270 => 100, 264 => 99, 261 => 98, 243 => 97, 241 => 96, 232 => 89, 229 => 88, 217 => 84, 214 => 83, 209 => 82, 207 => 81, 196 => 72, 190 => 67, 187 => 65, 177 => 64, 158 => 55, 154 => 54, 150 => 53, 142 => 47, 132 => 46, 118 => 41, 114 => 40, 78 => 6, 75 => 5, 73 => 4, 63 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'mens/base/base_mens.twig' %}
{% block head %}
{# {{ encore_entry_link_tags('app_product') }} #}
{% include 'mens/product/styles.html.twig' %}
<style>
.image-swatch li img {
width: 60px;
height: 60px;
cursor: pointer;
}
.breadcrumb-item+.breadcrumb-item::before {
float: left;
padding-right: .5rem;
color: #6c757d;
content: \"›\";
}
.product-right .price-detail span {
font-size: 22px;
padding-left: 0px;
}
.product-shipping-info{
display: grid;
grid-gap: 30px;
}
.product-right .product-count {
padding: 15px 15px;
border: 1px solid #eee;
background-color: #ffff;
}
.p-btn-circle {
border-radius: 100px;
}
</style>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css\" integrity=\"sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/slick/slick.css') }}\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/slick/slick-theme.css') }}\">
{% endblock %}
{% block breadcrumb %}
<div class=\"breadcrumb-section\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-12\">
<nav aria-label=\"breadcrumb\" class=\"theme-breadcrumb\">
<ol class=\"breadcrumb justify-content-lg-start\">
<li class=\"breadcrumb-item d-mobile-none\"><a href=\"/\">{{ 'Home' | trans({},'templates') }}</a></li>
<li class=\"breadcrumb-item d-mobile-none\"><a href=\"/\">{{ product.name }}</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ variant.name }}</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
{% endblock %}
{% block main %}
{# ****************** List Variables ****************** #}
<script>
let maxProductInStock //Add maximum product in stock
</script>
{# ****************** List Variables ****************** #}
<!-- section start -->
<section>
<div class=\"collection-wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-1 col-sm-2 col-xs-12\">
<div class=\"row\">
<div class=\"col-12 p-0\">
<div class=\"slider-right-nav\">
{% if variant.images is defined %}
{% for image in variant.images %}
<div>
<img src=\"{{image}}\" alt=\"{{ variant.name }}\"
class=\"img-fluid blur-up lazyload\">
</div>
{% endfor %}
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"col-lg-5 col-sm-10 col-xs-12 order-up\">
<div class=\"product-right-slick\">
{% if variant.images is defined %}
{% for image in variant.images %}
<div>
<img src=\"{{image}}\" alt=\"{{ variant.name }}\"
class=\"img-fluid blur-up lazyload image_zoom_cls-{{ loop.index }}\">
</div>
{% endfor %}
{% endif %}
</div>
</div>
<div class=\"col-lg-6 rtl-text\">
<div class=\"product-right\">
{# Product title #}
<h2 class=\"product-name\">{{ variant.name }}</h2>
<h3 class=\"price-detail text-stroke\"><span class=\"product-price\">{{ variant.getRetailPrice()}} EUR</span></h3>
<span class=\"text-uppercase\">{{ 'Color' | trans({},'templates') }} : <strong id=\"colorSwatch\">Red</strong></span>
<ul class=\"image-swatch mt-2\">
{% for option in options %}
{% set foo = 'bar' %}
{# {% if option.productVariant.id == variant.id %} #}
<li
data-color=\"{{option.value}}\"
onmouseover=\"product.swatchColor('{{option.value}}')\"
{# onmouseenter=\"product.swatchImage('/uploads/tbint/{{ option.productVariant.apiId}}/{{ option.productVariant.mainImage}}')\" #}
{% if option.productVariant.id == variant.id %}class=\"active\"{%endif%}
>
<a href=\"{{ path('app_product_page',{'pid': product.id,'vid': option.productVariant.id,'gender': \"mens\"}) }}\"><img src=\"{{ option.productVariant.mainImage}}\" alt=\"\" class=\"img-fluid blur-up lazyload\"></a>
</li>
{# {% endif %} #}
{% endfor %}
</ul>
<div id=\"selectSize\" class=\"addeffect-section product-description border-product\">
<h6 class=\"product-title size-text\">{{ 'select size' | trans({},'templates') }} </h6>
<div class=\"modal fade\" id=\"sizemodal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"exampleModalLabel\">Sheer
Straight Kurta</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\"
aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>
</div>
<div class=\"modal-body\"><img src=\"{{ asset('assets/images/size-chart.jpg')}}\" alt=\"\"
class=\"img-fluid blur-up lazyload\"></div>
</div>
</div>
</div>
<h6 class=\"size-select error-message\">{{ 'please select size' | trans({},'templates') }}</h6>
<div class=\"size-box\">
<ul>
{% for size in sizeOptions %}
<li onclick=\"product.selectCurrent('{{size.productVariant.id}}',this)\">
<div id=\"v-info\" data-id=\"{{size.productVariant.id}}\" data-name=\"{{size.productVariant.name}}\" data-price=\"{{size.productVariant.price}}\" data-image=\"{{size.productVariant.mainImage}}\">
</div>
<a href=\"javascript:void(0)\">{{ size.value }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class=\"product-buttons\">
{% if variant.quantity == 0 %}
<div id=\"cartEffect\" class=\"btn p-btn-circle hover-solid btn-animation product\">
<h6 class=\"product-title text-danger\">{{ 'SOLD OUT' | trans({},'templates') }}</h6>
</div>
{% else %}
<div onclick=\"product.addToCart()\" id=\"cartEffect\" class=\"btn p-btn-circle btn-solid hover-solid btn-animation product\">
<i class=\"fa fa-shopping-cart me-1\" aria-hidden=\"true\"></i> {{ 'add to cart' | trans({},'templates') }}
</div>
{% endif %}
<a href=\"#\" data-p-id=\"{{ variant.product.id }}\" onclick=\"addToFavoris(this,'fa-2xl')\" class=\"btn btn-solid p-btn-circle\">
{% if variant.product.id in app.session.get('wishlist') %}
<i class='fa-solid fa-heart fa-2xl' style='color: #ff0000;'></i>
{% else %}
<i class='fa-regular fa-heart fa-2xl'></i>
{% endif %}
</a>
</div>
<div class=\"product-count\">
<ul class=\"product-shipping-info\">
<li>
<i class=\"fa-solid fa-truck fa-2xl me-1\"></i>
<span class=\"lang\">{{ 'Free shipping on qualifying orders' | trans({},'templates') }}</span>
</li>
<li>
{# <img src=\"/assets/images/icon/truck.png\" class=\"img-fluid\" alt=\"image\"> #}
<i class=\"fa-solid fa-box fa-2xl me-1\"></i>
<span class=\"lang\">{{ 'Free Returns' | trans({},'templates') }} </span>
</li>
</ul>
</div>
{# <div class=\"border-product\">
<h6 class=\"product-title\">Sales Ends In</h6>
<div class=\"timer\">
<p id=\"demo\"></p>
</div>
</div> #}
<div class=\"border-product\">
<div class=\"row product-accordion\">
<div class=\"col-sm-12\">
<div class=\"accordion theme-accordion\" id=\"accordionExample\">
{% if variant.description %}
<div class=\"card\">
<div class=\"card-header\" id=\"headingOne\">
<h5 class=\"mb-0\"><button class=\"btn btn-link\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseOne\" aria-expanded=\"true\" aria-controls=\"collapseOne\">{{ 'product description' | trans({},'templates') }}</button></h5>
</div>
<div id=\"collapseOne\" class=\"collapse show\" aria-labelledby=\"headingOne\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<p><p>{{ variant.description|raw }}</p></p>
</div>
</div>
</div>
{% endif %}
{% if variant.composition %}
<div class=\"card\">
<div class=\"card-header\" id=\"headingThree\">
<h5 class=\"mb-0\"><button class=\"btn btn-link collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\">{{ 'Material' | trans({},'templates')}}</button></h5>
</div>
<div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<p>{{ variant.composition | raw }}</p>
</div>
</div>
</div>
{% endif %}
<div class=\"card\">
<div class=\"card-header\" id=\"headingThree\">
<h5 class=\"mb-0\"><button class=\"btn btn-link collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\">{{ 'Size & Fit' | trans({},'templates') }}</button></h5>
</div>
<div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<h6 class=\"product-title size-text\"><span><a href=\"\" data-bs-toggle=\"modal\"
data-bs-target=\"#sizemodal\">{{ 'sizechart' | trans({},'templates') }}</a></span></h6>
</div>
</div>
</div>
<div class=\"card\">
<div class=\"card-header\" id=\"headingThree\">
<h5 class=\"mb-0\"><button class=\"btn btn-link collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapseThree\" aria-expanded=\"false\" aria-controls=\"collapseThree\">{{ 'Care Guide' | trans({},'templates') }}</button></h5>
</div>
<div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\" data-bs-parent=\"#accordionExample\" style=\"\">
<div class=\"card-body\">
<p>{{ 'Material' | trans({},'templates')}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"border-product\">
<h6 class=\"product-title\">{{ 'share it' | trans({},'templates') }}</h6>
<div class=\"product-icon\">
<ul class=\"product-social\">
<li><a href=\"#\"><i class=\"fab fa-facebook-f\"></i></a></li>
<li><a href=\"#\"><i class=\"fab fa-google-plus-g\"></i></a></li>
<li><a href=\"#\"><i class=\"fab fa-twitter\"></i></a></li>
<li><a href=\"#\"><i class=\"fab fa-instagram\"></i></a></li>
<li><a href=\"#\"><i class=\"fa fa-rss\"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Section ends -->
<div id=\"info\" data-local={{ app.request.locale }} data-apiId={{ variant.apiId }} data-id=\"{{variant.id}}\" data-name=\"{{variant.name}}\" data-price=\"{{variant.price}}\" data-image=\"{{variant.mainImage}}\">
</div>
<!-- product section start -->
{% if relatedProducts %}
<section class=\"section-b-space ratio_asos\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 product-related\">
<h2>{{ 'You might also like' | trans({},'templates') }}</h2>
</div>
</div>
<div class=\"row autoplay search-product\">
{% for relatedProduct in relatedProducts %}
<div class=\"col-xl-3 col-md-4 col-6\">
<div class=\"product-box p-1\">
<div class=\"img-wrapper\">
<div class=\"front\">
<a href=\"{{ path(\"app_product_page\",{pid: relatedProduct.id, vid:relatedProduct.firstVariantId(),'gender': \"mens\"}) }}\"><img src=\"{{ relatedProduct.mainImage }}\"
class=\"img-fluid blur-up lazyload bg-img\" alt=\"\"></a>
</div>
<div class=\"back\">
<a href=\"{{ path(\"app_product_page\",{pid: relatedProduct.id, vid:relatedProduct.firstVariantId,'gender': \"mens\"}) }}\"><img src=\"{{ relatedProduct.getSecondImage()}}\"
class=\"img-fluid blur-up lazyload bg-img\" alt=\"\"></a>
</div>
<div class=\"cart-info cart-wrap\">
<button onclick=\"product.addRelatedToCart(this)\"
data-id=\"{{relatedProduct.firstVariantId()}}\"
data-price=\"{{relatedProduct.firstVariantPrice()}}\"
data-name=\"{{relatedProduct.name}}\"
data-image=\"{{relatedProduct.mainImage}}\"
{# data-bs-toggle=\"modal\" data-bs-target=\"#addtocart\" #}
title=\"Add to cart\"
>
</button>
<a href=\"javascript:void(0)\" data-p-id=\"{{ relatedProduct.id }}\" onclick=\"addToFavoris(this)\" title=\"{{ 'Add to Wishlist' | trans({},'templates') }}\"><i class=\"ti-heart\" aria-hidden=\"true\"></i></a>
</div>
</div>
<div class=\"product-detail\">
{# <div class=\"rating\"><i class=\"fa fa-star\"></i> <i class=\"fa fa-star\"></i> <i
class=\"fa fa-star\"></i> <i class=\"fa fa-star\"></i> <i class=\"fa fa-star\"></i>
</div> #}
<a href=\"{{ path(\"app_product_page\",{pid: relatedProduct.id, vid:relatedProduct.firstVariantId(),'gender': \"mens\"}) }}\">
<h6>{{ relatedProduct.name }}</h6>
</a>
<h4>{{ relatedProduct.firstVariantPrice() }} EUR</h4>
{# <ul class=\"color-variant\">
<li class=\"bg-light0\"></li>
<li class=\"bg-light1\"></li>
<li class=\"bg-light2\"></li>
</ul> #}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
{% endif %}
<!-- product section end -->
<!-- tap to top start -->
<div class=\"tap-top\">
<div><i class=\"fa fa-angle-double-up\"></i></div>
</div>
<!-- tap to top end -->
{% endblock %}
{% block newsletter %}
{% include 'front_end/base/newsletter.twig' %}
{% endblock %}
{% block js %}
<script src=\"{{ asset('assets/js/product.js') }}\"></script>
{% include 'mens/product/scripts.html.twig' %}
<script type=\"text/javascript\" src=\"{{ asset('assets/slick/slick.min.js') }}\"></script>
<script type=\"text/javascript\">
\$('.autoplay').slick({
slidesToShow: 4,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
});
</script>
<script src=\"{{ asset('assets/js/modules.js') }}\"></script>
{% endblock %}
", "mens/product/product_page.twig", "/app/templates/mens/product/product_page.twig");
}
}