<?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;
/* product_b2c/shop-in-shop_b2c_listing.html.twig */
class __TwigTemplate_b1c14637bd82b0c44e73f6082c740c9c9cb65f008af9f369d6cf499d982c9332 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/layout_b2c.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product_b2c/shop-in-shop_b2c_listing.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product_b2c/shop-in-shop_b2c_listing.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "product_b2c/shop-in-shop_b2c_listing.html.twig"));
$this->parent = $this->loadTemplate("layouts/layout_b2c.html.twig", "product_b2c/shop-in-shop_b2c_listing.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " <div id=\"main-content\" class=\"main-content shopinshop\" >
<section class=\"sub-header\">
<div class=\"name-page py-5 text-center\">
";
// line 9
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "headline", ["placeholder" => "Headline"]);
echo "
</div>
<nav aria-label=\"breadcrumb\" class=\" breadcrumb-nav\">
<ol class=\"container breadcrumb responsive-breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"/\">home</a></li>
<li class=\"breadcrumb-item\"><a >
";
// line 15
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 15, $this->source); })()), "title", [], "any", false, false, false, 15), "html", null, true);
echo "
</a></li>
</ol>
</nav>
</section>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-10\">
<nav class=\"toolbox sticky-header ml-0 ml-lg-4\" data-sticky-options=\"{'mobile': true}\">
<div class=\"layout-modes toolbox-left\">
<p class=\"numresults font-weight-bold\">
";
// line 29
echo twig_escape_filter($this->env, (isset($context["offset"]) || array_key_exists("offset", $context) ? $context["offset"] : (function () { throw new RuntimeError('Variable "offset" does not exist.', 29, $this->source); })()), "html", null, true);
echo "-";
echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 29, $this->source); })()), "html", null, true);
echo " di ";
echo twig_escape_filter($this->env, (isset($context["totalCount"]) || array_key_exists("totalCount", $context) ? $context["totalCount"] : (function () { throw new RuntimeError('Variable "totalCount" does not exist.', 29, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("risultati per"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 29, $this->source); })()), "name", [], "any", false, false, false, 29), "html", null, true);
echo "
";
// line 30
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables", $context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.', 30, $this->source); })()), "totalCount", [], "any", false, false, false, 30), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("risultati"), "html", null, true);
echo " ";
if (((isset($context["term"]) || array_key_exists("term", $context) ? $context["term"] : (function () { throw new RuntimeError('Variable "term" does not exist.', 30, $this->source); })()) != "")) {
echo " per \"";
echo twig_escape_filter($this->env, (isset($context["term"]) || array_key_exists("term", $context) ? $context["term"] : (function () { throw new RuntimeError('Variable "term" does not exist.', 30, $this->source); })()), "html", null, true);
echo "\" ";
}
echo " in ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 30, $this->source); })()), "name", [], "any", false, false, false, 30), "html", null, true);
echo "
</p>
</div>
<!-- End .toolbox-left -->
<div class=\"toolbox-right\">
<a href=\"#\" class=\"sidebar-toggle\">
<svg data-name=\"Layer 3\" id=\"Layer_3\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">
<line x1=\"15\" x2=\"26\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
<line x1=\"6\" x2=\"9\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
<line x1=\"23\" x2=\"26\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
<line x1=\"6\" x2=\"17\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
<line x1=\"17\" x2=\"26\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
<line x1=\"6\" x2=\"11\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
<path
d=\"M14.5,8.92A2.6,2.6,0,0,1,12,11.5,2.6,2.6,0,0,1,9.5,8.92a2.5,2.5,0,0,1,5,0Z\"
class=\"cls-2\"></path>
<path d=\"M22.5,15.92a2.5,2.5,0,1,1-5,0,2.5,2.5,0,0,1,5,0Z\" class=\"cls-2\"></path>
<path d=\"M21,16a1,1,0,1,1-2,0,1,1,0,0,1,2,0Z\" class=\"cls-3\"></path>
<path
d=\"M16.5,22.92A2.6,2.6,0,0,1,14,25.5a2.6,2.6,0,0,1-2.5-2.58,2.5,2.5,0,0,1,5,0Z\"
class=\"cls-2\"></path>
</svg>
<span>Filter</span>
</a>
<div class=\"toolbox-item change-view\">
<div class=\"layout-btn btn-grid custom-pointer tileview active\" title=\" \" >
<i class=\"icon-mode-grid\"></i>
</div>
<div class=\"layout-btn btn-list custom-pointer gridview\">
<i class=\"icon-mode-list\"></i>
</div>
</div>
<div class=\"select-custom\">
<select name=\"orderby_check\" id=\"orderby_check\" class=\"form-control\">
";
// line 67
if (((isset($context["orderby"]) || array_key_exists("orderby", $context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.', 67, $this->source); })()) == "popularity")) {
echo "
<option value=\"popularity\" selected>";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per popolarità "), "html", null, true);
echo "</option>
";
} else {
// line 69
echo "
<option value=\"popularity\">";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per popolarità "), "html", null, true);
echo "</option>
";
}
// line 71
echo "
";
// line 73
if (((isset($context["orderby"]) || array_key_exists("orderby", $context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.', 73, $this->source); })()) == "date")) {
echo "
<option value=\"date\" selected>";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nuovi"), "html", null, true);
echo "</option>
";
} else {
// line 75
echo "
<option value=\"date\">";
// line 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nuovi"), "html", null, true);
echo "</option>
";
}
// line 77
echo "
";
// line 79
if (((isset($context["orderby"]) || array_key_exists("orderby", $context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.', 79, $this->source); })()) == "price")) {
echo "
<option value=\"price\" selected>";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: ascendente"), "html", null, true);
echo "</option>
";
} else {
// line 81
echo "
<option value=\"price\">";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: ascendente"), "html", null, true);
echo "</option>
";
}
// line 84
echo "
";
// line 85
if (((isset($context["orderby"]) || array_key_exists("orderby", $context) ? $context["orderby"] : (function () { throw new RuntimeError('Variable "orderby" does not exist.', 85, $this->source); })()) == "price-desc")) {
echo "
<option value=\"price-desc\" selected>";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: discendente"), "html", null, true);
echo "</option>
";
} else {
// line 87
echo "
<option value=\"price-desc\">";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ordina per prezzo: discendente"), "html", null, true);
echo "</option>
";
}
// line 90
echo " </select>
</div>
<!-- End .layout-modes -->
</div>
<!-- End .toolbox-right -->
</nav><!--- end nav-->
<!-- row Grid -->
<div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto tileview-listing\" title=\" \" name=\"Grid-view\" >
";
// line 100
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["results"]) || array_key_exists("results", $context) ? $context["results"] : (function () { throw new RuntimeError('Variable "results" does not exist.', 100, $this->source); })()));
$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["item"]) {
echo "
<!-- CARD PRODUCT -->
";
// line 102
$this->loadTemplate("product_b2c/product_teaser.html.twig", "product_b2c/shop-in-shop_b2c_listing.html.twig", 102)->display(twig_array_merge($context, ["product" => $context["item"]]));
echo "
";
++$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['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 103
echo "
</div>
<!-- End .row Grid -->
<!-- row List -->
<div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto gridview-listing custom-hidden\" >
<hr class=\"custom-hr d-none d-lg-block\">
<div class=\"ct\">
<div class=\"ct-table no-padding\">
<table>
<thead class=\"grey\" >
<tr>
<th></th>
<th>SKU</th>
<th>Img</th>
<th>";
// line 119
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Q.tà "), "html", null, true);
echo "</th>
<th>";
// line 120
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prodotto"), "html", null, true);
echo "</th>
<th class=\"text-right\">";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prezzo"), "html", null, true);
echo "</th>
<th></th>
</tr>
</thead>
<tbody>
";
// line 126
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["results"]) || array_key_exists("results", $context) ? $context["results"] : (function () { throw new RuntimeError('Variable "results" does not exist.', 126, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
echo "
";
// line 127
$context["detailLink"] = $this->extensions['App\Twig\Extension\ProductPageExtension']->generateLink($context["item"]);
echo "
<!-- ROW PRODUCT -->
<tr class=\"product-default\">
<!-- example of different layout -->
<td redirectto=\"\">
";
// line 132
if ((twig_get_attribute($this->env, $this->source, $context["item"], "isInWishList", [], "any", false, false, false, 132) == true)) {
echo "
<a href=\"";
// line 133
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("wishlist-add", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 133), "remove" => "false"]), "html", null, true);
echo "\" data-href=\"false\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 133), "html", null, true);
echo "\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish added-wishlist wish-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 133), "html", null, true);
echo "\">
<i class=\"icon-star-empty\"></i>
</a>
";
} else {
// line 137
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("wishlist-add", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 137), "remove" => "true"]), "html", null, true);
echo "\" data-href=\"false\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 137), "html", null, true);
echo "\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish custom-btn-wish wish-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 137), "html", null, true);
echo "\">
<i class=\"icon-star-empty\"></i>
</a>
";
}
// line 141
echo " </td>
<td>";
// line 142
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "Item", [], "any", false, false, false, 142), "html", null, true);
echo "</td>
<td class=\"custom-pointer\">
<img
class=\"custom-popup-img\"
src=\"/mecstore/assets/images/custom_icons/search-icon.svg\"
data-src=\"";
// line 147
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 147), "thumbnail", [["height" => 217, "width" => 217, "format" => "jpeg"]], "method", false, false, false, 147), "html", null, true);
echo "\"
data-title=\"";
// line 148
echo $this->extensions['App\Twig\Extension\CartExtension']->truncateName(twig_get_attribute($this->env, $this->source, $context["item"], "subText", [], "any", false, false, false, 148));
echo "\"
>
</td>
<td class=\"quantity\"><div class=\"availability tooltipBox availabilityModal\" data-attr=\"";
// line 151
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 151), "html", null, true);
echo "\" >
<div class=\"my-3 ";
// line 152
if ((twig_get_attribute($this->env, $this->source, $context["item"], "Disponibilita", [], "any", false, false, false, 152) < 1)) {
echo "red";
} else {
echo "custom-green ";
}
echo "\">
";
// line 153
if ((twig_get_attribute($this->env, $this->source, $context["item"], "Disponibilita", [], "any", false, false, false, 153) < 1)) {
echo "0";
} else {
echo " ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\CartExtension']->getEuropeanCount(twig_get_attribute($this->env, $this->source, $context["item"], "Disponibilita", [], "any", false, false, false, 153)), "html", null, true);
echo " ";
}
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "BaseUoM", [], "any", false, false, false, 153), "html", null, true);
echo "
";
// line 154
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "getPendingOrders", [], "any", false, false, false, 154)) && (isset($context["isMecstoreUser"]) || array_key_exists("isMecstoreUser", $context) ? $context["isMecstoreUser"] : (function () { throw new RuntimeError('Variable "isMecstoreUser" does not exist.', 154, $this->source); })()))) {
echo "<div class=\"i\">i</div> ";
}
// line 155
echo " </div>
";
// line 157
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "getPendingOrders", [], "any", false, false, false, 157))) {
// line 158
echo " <div class=\"tooltipContainer\">
<div class=\"tooltipHead\">
";
// line 160
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ORDINI MECSTORE AL FORNITORE"), "html", null, true);
echo "
</div>
<div class=\"tooltipBody\">
<div class=\"tooltipTable\">
<div class=\"row\">
<div class=\"col-4 col-sm-3 pb-3\">
<strong>";
// line 166
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DATA ORDINE"), "html", null, true);
echo "</strong>
</div>
<div class=\"col-4 col-sm-3 pb-3\">
<strong>";
// line 169
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("QUANTITÀ"), "html", null, true);
echo "</strong>
</div>
<div class=\"col-4 col-sm-6 pb-3\">
<strong>";
// line 172
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DATA CONSEGNA PREVISTA"), "html", null, true);
echo "</strong>
</div>
</div>
";
// line 175
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "getPendingOrders", [], "any", false, false, false, 175));
foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
echo "
<div class=\"row\">
<div class=\"col-4 col-sm-3 pb-3\">
";
// line 178
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["order"], "OrderDate", [], "array", false, false, false, 178), "html", null, true);
echo "
</div>
<div class=\"col-4 col-sm-3 pb-3\">
";
// line 181
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["order"], "Residuo", [], "array", false, false, false, 181), "html", null, true);
echo "
</div>
<div class=\"col-4 col-sm-6 pb-3\">
";
// line 184
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["order"], "ExpectedDeliveryDate", [], "array", false, false, false, 184), "html", null, true);
echo "
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 187
echo "
</div>
</div>
</div>
";
}
// line 191
echo "
</div>
</td>
<td class=\"product product-title\"><a href=\"";
// line 196
echo twig_escape_filter($this->env, (isset($context["detailLink"]) || array_key_exists("detailLink", $context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.', 196, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "item", [], "any", false, false, false, 196), "html", null, true);
echo " ";
echo $this->extensions['App\Twig\Extension\CartExtension']->truncateName(twig_get_attribute($this->env, $this->source, $context["item"], "subText", [], "any", false, false, false, 196));
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["item"], "subText", [], "any", false, false, false, 196);
echo "</a>
<figure class=\"custom-hidden\"><img src=\"";
// line 197
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "mainImage", [], "any", false, false, false, 197), "thumbnail", [["height" => 217, "width" => 217, "format" => "jpeg"]], "method", false, false, false, 197), "html", null, true);
echo "\" width=\"217\" height=\"217\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "item", [], "any", false, false, false, 197), "html", null, true);
echo " ";
echo $this->extensions['App\Twig\Extension\CartExtension']->truncateName(twig_get_attribute($this->env, $this->source, $context["item"], "subText", [], "any", false, false, false, 197));
echo "\"></figure>
</td>
<td class=\"price text-right\" >";
// line 199
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "EuropeanPrice", [], "any", false, false, false, 199), "html", null, true);
echo "</td>
<td class=\"add-cart-container\">
<div class=\"product-single-qty text-center\">
<div class=\"input-group bootstrap-touchspin \">
<input class=\"horizontal-quantity form-control\" min-qty=\"";
// line 203
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "MinimumSaleQty", [], "any", false, false, false, 203), "html", null, true);
echo "\" max-qty=\"";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "Disponibilita", [], "any", false, false, false, 203))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "Disponibilita", [], "any", false, false, false, 203), "html", null, true);
} else {
echo "1";
}
echo "\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "MinimumSaleQty", [], "any", false, false, false, 203), "html", null, true);
echo "\" type=\"text\">
<span class=\"input-group-btn-vertical\">
<button class=\"btn btn-outline bootstrap-touchspin-up \" type=\"button\">+</button>
<button class=\"btn btn-outline bootstrap-touchspin-down\" type=\"button\">-</button>
</span>
</div>
</div><!-- End .product-single-qty -->
";
// line 210
if (((($this->extensions['App\Twig\Extension\UserExtension']->allowUser("draft_create") || $this->extensions['App\Twig\Extension\UserExtension']->allowUser("booking_create")) || $this->extensions['App\Twig\Extension\UserExtension']->allowUser("order_create")) || $this->extensions['App\Twig\Extension\UserExtension']->allowUser("order_view"))) {
// line 211
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 211, $this->source); })()), "user", [], "any", false, false, false, 211), "partner", [], "any", false, false, false, 211), "isMecstoreHQ", [], "any", false, false, false, 211) != true)) {
// line 212
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("shop-add-to-cart", ["id" => twig_get_attribute($this->env, $this->source, $context["item"], "id", [], "any", false, false, false, 212)]), "html", null, true);
echo "\" title=\"Aggiungi al carrello\" class=\"btn-add-cart product-type-simple\">
<i class=\"fas fa-shopping-cart\"></i>
</a>
";
}
// line 216
echo " ";
}
// line 217
echo " </td>
</tr><!--END ROW PRODUCT -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 219
echo "
</tbody>
</table>
</div>
</div>
</div>
<!-- End .row List -->
";
// line 227
$context["paginationType"] = "prodotti";
// line 228
echo " ";
$context["ordertype"] = "prodotti";
// line 229
echo " ";
$this->loadTemplate("includes/pagination.html.twig", "product_b2c/shop-in-shop_b2c_listing.html.twig", 229)->display($context);
echo "
</div>
<!-- End .col-lg-9 -->
<div class=\"sidebar-overlay\"></div>
<aside class=\"sidebar-shop col-lg-2 order-lg-first mobile-sidebar\">
";
// line 236
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 236, $this->source); })()), "logo", [], "any", false, false, false, 236))) {
// line 237
echo " <div class=\"brand-logo listing\" ";
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 237, $this->source); })()), "color", [], "any", false, false, false, 237)) {
echo "style=\"background-color:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 237, $this->source); })()), "color", [], "any", false, false, false, 237), "hex", [], "any", false, false, false, 237), "html", null, true);
echo ";\" ";
}
echo ">
<img src=\"";
// line 238
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 238, $this->source); })()), "logo", [], "any", false, false, false, 238), "path", [], "any", false, false, false, 238), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 238, $this->source); })()), "logo", [], "any", false, false, false, 238), "filename", [], "any", false, false, false, 238), "html", null, true);
echo "\" />
</div>
";
}
// line 241
echo " <form class=\"checkbox-filter-container\" id=\"js_filterfield\" action=\"#\">
<div class=\"sidebar-wrapper\" style=\"border-bottom: 0px none rgb(119, 119, 119); \">
<div class=\"widget\">
<h3 class=\"widget-title no-row\">
";
// line 246
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ricerca libera"), "html", null, true);
echo "
</h3>
<div id=\"search-catalog\" class=\"container-searchbox\">
<input type=\"hidden\" name=\"categoria\" value=\"\" id=\"input-category\">
<input type=\"search\" name=\"term\" value=\"";
// line 251
echo twig_escape_filter($this->env, (isset($context["term"]) || array_key_exists("term", $context) ? $context["term"] : (function () { throw new RuntimeError('Variable "term" does not exist.', 251, $this->source); })()), "html", null, true);
echo "\" id=\"input-search\">
<input id=\"submit-button\" class=\"btn btn-yellow\" type=\"submit\" value=\"";
// line 252
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cerca"), "html", null, true);
echo "\">
</div>
<!-- End .collapse -->
</div>
<!-- End .widget -->
<div class=\"widget prezzo\">
<h3 class=\"widget-title\">
<a data-toggle=\"collapse\" href=\"#widget-body-3\" role=\"button\" aria-expanded=\"true\" aria-controls=\"widget-body-3\">";
// line 260
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prezzo"), "html", null, true);
echo "</a>
</h3>
<div class=\"collapse show\" id=\"widget-body-3\">
<div class=\"widget-body pb-0\">
<div class=\"price-slider-wrapper\">
<div id=\"price-slider\"></div>
<!-- End #price-slider -->
</div>
<!-- End .price-slider-wrapper -->
<div class=\"filter-price-action d-flex align-items-center justify-content-between flex-wrap\">
<div class=\"filter-price-text\">
";
// line 273
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prezzo:"), "html", null, true);
echo "
<span id=\"filter-price-range\"></span>
</div>
<!-- End .filter-price-text -->
<button type=\"submit\" id=\"submit-button\" class=\"btn btn-yellow\">";
// line 278
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("filtra"), "html", null, true);
echo "</button>
</div>
<!-- End .filter-price-action -->
</div>
<!-- End .widget-body -->
</div>
<!-- End .collapse -->
</div>
<!-- End .widget -->
";
// line 288
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["filterDefinition"]) || array_key_exists("filterDefinition", $context) ? $context["filterDefinition"] : (function () { throw new RuntimeError('Variable "filterDefinition" does not exist.', 288, $this->source); })()), "filters", [], "any", false, false, false, 288)) > 0)) {
// line 289
echo "
";
// line 290
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["filterDefinition"]) || array_key_exists("filterDefinition", $context) ? $context["filterDefinition"] : (function () { throw new RuntimeError('Variable "filterDefinition" does not exist.', 290, $this->source); })()), "filters", [], "any", false, false, false, 290));
foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
// line 291
echo "
";
// line 292
$context["filterMarkup"] = twig_get_attribute($this->env, $this->source, (isset($context["filterService"]) || array_key_exists("filterService", $context) ? $context["filterService"] : (function () { throw new RuntimeError('Variable "filterService" does not exist.', 292, $this->source); })()), "filterFrontend", [$context["filter"], (isset($context["productListing"]) || array_key_exists("productListing", $context) ? $context["productListing"] : (function () { throw new RuntimeError('Variable "productListing" does not exist.', 292, $this->source); })()), (isset($context["currentFilter"]) || array_key_exists("currentFilter", $context) ? $context["currentFilter"] : (function () { throw new RuntimeError('Variable "currentFilter" does not exist.', 292, $this->source); })())], "method", false, false, false, 292);
// line 293
echo "
";
// line 294
echo (isset($context["filterMarkup"]) || array_key_exists("filterMarkup", $context) ? $context["filterMarkup"] : (function () { throw new RuntimeError('Variable "filterMarkup" does not exist.', 294, $this->source); })());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 297
echo " ";
}
// line 298
echo " <!-- End .collapse -->
<!-- End .widget -->
</div>
<input type=\"hidden\" name=\"orderby\" value=\"\" id=\"orderby\">
<input type=\"hidden\" name=\"limit\" value=\"\" id=\"limit\" value=\"";
// line 304
echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 304, $this->source); })()), "html", null, true);
echo "\" >
<input type=\"hidden\" name=\"max_range\" id=\"max_range\" class=\"max_range\" value=\"";
// line 306
echo twig_escape_filter($this->env, (isset($context["maxRange"]) || array_key_exists("maxRange", $context) ? $context["maxRange"] : (function () { throw new RuntimeError('Variable "maxRange" does not exist.', 306, $this->source); })()), "html", null, true);
echo "\" />
</form>
<!-- End .sidebar-wrapper -->
</aside>
<!-- End .col-lg-3 -->
</div>
<!-- Brand banner -->
";
// line 323
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 323, $this->source); })()), "footerBanner", [], "any", false, false, false, 323))) {
// line 324
echo " <div class=\"brand-banner\">
";
// line 326
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 326, $this->source); })()), "footerLink", [], "any", false, false, false, 326)) {
// line 327
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 327, $this->source); })()), "footerLink", [], "any", false, false, false, 327), "href", [], "any", false, false, false, 327), "html", null, true);
echo "\"><img src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 327, $this->source); })()), "footerBanner", [], "any", false, false, false, 327), "path", [], "any", false, false, false, 327), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 327, $this->source); })()), "footerBanner", [], "any", false, false, false, 327), "filename", [], "any", false, false, false, 327), "html", null, true);
echo "\"></a>
";
} else {
// line 329
echo " <img src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 329, $this->source); })()), "footerBanner", [], "any", false, false, false, 329), "path", [], "any", false, false, false, 329), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 329, $this->source); })()), "footerBanner", [], "any", false, false, false, 329), "filename", [], "any", false, false, false, 329), "html", null, true);
echo "\">
";
}
// line 331
echo " </div>
";
}
// line 333
echo "
</div><!-- End .container -->
";
// line 335
if (( !twig_test_empty((isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 335, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 335, $this->source); })()), "enableDedicatedPage", [], "any", false, false, false, 335))) {
// line 336
echo " <style>
.intro-shopinshop .brand-box .cta .inner{
background-color: ";
// line 338
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 338, $this->source); })()), "color", [], "any", false, false, false, 338)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 338, $this->source); })()), "color", [], "any", false, false, false, 338), "hex", [], "any", false, false, false, 338), "html", null, true);
echo " ";
}
echo ";
border: 1px solid ";
// line 339
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 339, $this->source); })()), "color", [], "any", false, false, false, 339)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 339, $this->source); })()), "textColor", [], "any", false, false, false, 339), "hex", [], "any", false, false, false, 339), "html", null, true);
echo " ";
}
echo ";
color: ";
// line 340
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 340, $this->source); })()), "color", [], "any", false, false, false, 340)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 340, $this->source); })()), "textColor", [], "any", false, false, false, 340), "hex", [], "any", false, false, false, 340), "html", null, true);
echo " ";
}
echo ";
}
.intro-shopinshop .shop-slider .cta .inner{
background-color: ";
// line 343
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 343, $this->source); })()), "color", [], "any", false, false, false, 343)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 343, $this->source); })()), "color", [], "any", false, false, false, 343), "hex", [], "any", false, false, false, 343), "html", null, true);
echo " ";
}
echo ";
color: ";
// line 344
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 344, $this->source); })()), "color", [], "any", false, false, false, 344)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 344, $this->source); })()), "textColor", [], "any", false, false, false, 344), "hex", [], "any", false, false, false, 344), "html", null, true);
echo " ";
}
echo ";
}
.intro-shopinshop .shop-slider .owl-dots .owl-dot span {
border: 1px solid ";
// line 347
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 347, $this->source); })()), "color", [], "any", false, false, false, 347)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 347, $this->source); })()), "color", [], "any", false, false, false, 347), "hex", [], "any", false, false, false, 347), "html", null, true);
echo " ";
}
echo ";
}
.intro-shopinshop .shop-slider .owl-dots .owl-dot.active span,
.intro-shopinshop .shop-slider .owl-dots .owl-dot.active span:before {
background-color: ";
// line 351
if (twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 351, $this->source); })()), "color", [], "any", false, false, false, 351)) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["brandObj"]) || array_key_exists("brandObj", $context) ? $context["brandObj"] : (function () { throw new RuntimeError('Variable "brandObj" does not exist.', 351, $this->source); })()), "color", [], "any", false, false, false, 351), "hex", [], "any", false, false, false, 351), "html", null, true);
echo " ";
}
echo ";
}
</style>
";
}
// line 355
echo "
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
public function getTemplateName()
{
return "product_b2c/shop-in-shop_b2c_listing.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 849 => 355, 838 => 351, 827 => 347, 817 => 344, 809 => 343, 799 => 340, 791 => 339, 783 => 338, 779 => 336, 777 => 335, 773 => 333, 769 => 331, 762 => 329, 753 => 327, 751 => 326, 747 => 324, 745 => 323, 725 => 306, 720 => 304, 712 => 298, 709 => 297, 700 => 294, 697 => 293, 695 => 292, 692 => 291, 688 => 290, 685 => 289, 683 => 288, 670 => 278, 662 => 273, 646 => 260, 635 => 252, 631 => 251, 623 => 246, 616 => 241, 609 => 238, 600 => 237, 598 => 236, 587 => 229, 584 => 228, 582 => 227, 572 => 219, 564 => 217, 561 => 216, 553 => 212, 550 => 211, 548 => 210, 530 => 203, 523 => 199, 514 => 197, 504 => 196, 497 => 191, 490 => 187, 480 => 184, 474 => 181, 468 => 178, 460 => 175, 454 => 172, 448 => 169, 442 => 166, 433 => 160, 429 => 158, 427 => 157, 423 => 155, 419 => 154, 407 => 153, 399 => 152, 395 => 151, 389 => 148, 385 => 147, 377 => 142, 374 => 141, 362 => 137, 351 => 133, 347 => 132, 339 => 127, 333 => 126, 325 => 121, 321 => 120, 317 => 119, 299 => 103, 283 => 102, 263 => 100, 251 => 90, 246 => 88, 243 => 87, 238 => 86, 234 => 85, 231 => 84, 226 => 82, 223 => 81, 218 => 80, 214 => 79, 210 => 77, 205 => 76, 202 => 75, 197 => 74, 193 => 73, 189 => 71, 184 => 70, 181 => 69, 176 => 68, 172 => 67, 122 => 30, 110 => 29, 93 => 15, 84 => 9, 77 => 4, 64 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/layout_b2c.html.twig' %}
{% block content %}
<div id=\"main-content\" class=\"main-content shopinshop\" >
<section class=\"sub-header\">
<div class=\"name-page py-5 text-center\">
{{ pimcore_input('headline', {'placeholder':'Headline'}) }}
</div>
<nav aria-label=\"breadcrumb\" class=\" breadcrumb-nav\">
<ol class=\"container breadcrumb responsive-breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"/\">home</a></li>
<li class=\"breadcrumb-item\"><a >
{{document.title}}
</a></li>
</ol>
</nav>
</section>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-10\">
<nav class=\"toolbox sticky-header ml-0 ml-lg-4\" data-sticky-options=\"{'mobile': true}\">
<div class=\"layout-modes toolbox-left\">
<p class=\"numresults font-weight-bold\">
{{offset}}-{{limit}} di {{totalCount}} {{ 'risultati per'|trans }} {{brandObj.name}}
{{paginationVariables.totalCount}} {{ 'risultati'|trans }} {% if term != \"\" %} per \"{{term}}\" {% endif %} in {{brandObj.name}}
</p>
</div>
<!-- End .toolbox-left -->
<div class=\"toolbox-right\">
<a href=\"#\" class=\"sidebar-toggle\">
<svg data-name=\"Layer 3\" id=\"Layer_3\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">
<line x1=\"15\" x2=\"26\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
<line x1=\"6\" x2=\"9\" y1=\"9\" y2=\"9\" class=\"cls-1\"></line>
<line x1=\"23\" x2=\"26\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
<line x1=\"6\" x2=\"17\" y1=\"16\" y2=\"16\" class=\"cls-1\"></line>
<line x1=\"17\" x2=\"26\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
<line x1=\"6\" x2=\"11\" y1=\"23\" y2=\"23\" class=\"cls-1\"></line>
<path
d=\"M14.5,8.92A2.6,2.6,0,0,1,12,11.5,2.6,2.6,0,0,1,9.5,8.92a2.5,2.5,0,0,1,5,0Z\"
class=\"cls-2\"></path>
<path d=\"M22.5,15.92a2.5,2.5,0,1,1-5,0,2.5,2.5,0,0,1,5,0Z\" class=\"cls-2\"></path>
<path d=\"M21,16a1,1,0,1,1-2,0,1,1,0,0,1,2,0Z\" class=\"cls-3\"></path>
<path
d=\"M16.5,22.92A2.6,2.6,0,0,1,14,25.5a2.6,2.6,0,0,1-2.5-2.58,2.5,2.5,0,0,1,5,0Z\"
class=\"cls-2\"></path>
</svg>
<span>Filter</span>
</a>
<div class=\"toolbox-item change-view\">
<div class=\"layout-btn btn-grid custom-pointer tileview active\" title=\" \" >
<i class=\"icon-mode-grid\"></i>
</div>
<div class=\"layout-btn btn-list custom-pointer gridview\">
<i class=\"icon-mode-list\"></i>
</div>
</div>
<div class=\"select-custom\">
<select name=\"orderby_check\" id=\"orderby_check\" class=\"form-control\">
{% if orderby == \"popularity\" %}
<option value=\"popularity\" selected>{{ 'Ordina per popolarità '|trans }}</option>
{% else %}
<option value=\"popularity\">{{ 'Ordina per popolarità '|trans }}</option>
{% endif %}
{% if orderby == \"date\" %}
<option value=\"date\" selected>{{ 'Nuovi'|trans }}</option>
{% else %}
<option value=\"date\">{{ 'Nuovi'|trans }}</option>
{% endif %}
{% if orderby == \"price\" %}
<option value=\"price\" selected>{{ 'Ordina per prezzo: ascendente'|trans }}</option>
{% else %}
<option value=\"price\">{{ 'Ordina per prezzo: ascendente'|trans }}</option>
{% endif %}
{% if orderby == \"price-desc\" %}
<option value=\"price-desc\" selected>{{ 'Ordina per prezzo: discendente'|trans }}</option>
{% else %}
<option value=\"price-desc\">{{ 'Ordina per prezzo: discendente'|trans }}</option>
{% endif %}
</select>
</div>
<!-- End .layout-modes -->
</div>
<!-- End .toolbox-right -->
</nav><!--- end nav-->
<!-- row Grid -->
<div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto tileview-listing\" title=\" \" name=\"Grid-view\" >
{% for item in results %}
<!-- CARD PRODUCT -->
{% include 'product_b2c/product_teaser.html.twig' with {'product': item} %}
{% endfor %}
</div>
<!-- End .row Grid -->
<!-- row List -->
<div class=\"row view ml-0 ml-lg-4 mr-0 mr-lg-auto gridview-listing custom-hidden\" >
<hr class=\"custom-hr d-none d-lg-block\">
<div class=\"ct\">
<div class=\"ct-table no-padding\">
<table>
<thead class=\"grey\" >
<tr>
<th></th>
<th>SKU</th>
<th>Img</th>
<th>{{ 'Q.tà '|trans }}</th>
<th>{{ 'Prodotto'|trans }}</th>
<th class=\"text-right\">{{ 'Prezzo'|trans }}</th>
<th></th>
</tr>
</thead>
<tbody>
{% for item in results %}
{% set detailLink = app_product_detaillink(item) %}
<!-- ROW PRODUCT -->
<tr class=\"product-default\">
<!-- example of different layout -->
<td redirectto=\"\">
{% if item.isInWishList == true %}
<a href=\"{{ path('wishlist-add', {'id': item.id,'remove': 'false'}) }}\" data-href=\"false\" data-id=\"{{item.id}}\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish added-wishlist wish-{{item.id}}\">
<i class=\"icon-star-empty\"></i>
</a>
{% else %}
<a href=\"{{ path('wishlist-add', {'id': item.id,'remove': 'true'}) }}\" data-href=\"false\" data-id=\"{{item.id}}\" title=\"Aggiungi ai preferiti\" class=\"btn-icon btn-icon-wish custom-btn-wish wish-{{item.id}}\">
<i class=\"icon-star-empty\"></i>
</a>
{% endif %}
</td>
<td>{{ item.Item }}</td>
<td class=\"custom-pointer\">
<img
class=\"custom-popup-img\"
src=\"/mecstore/assets/images/custom_icons/search-icon.svg\"
data-src=\"{{ item.mainImage.thumbnail({'height': 217, 'width': 217, 'format': 'jpeg'}) }}\"
data-title=\"{{ truncate_name(item.subText) | raw }}\"
>
</td>
<td class=\"quantity\"><div class=\"availability tooltipBox availabilityModal\" data-attr=\"{{item.id}}\" >
<div class=\"my-3 {% if item.Disponibilita < 1 %}red{% else %}custom-green {% endif %}\">
{% if item.Disponibilita < 1 %}0{% else %} {{ european_count(item.Disponibilita) }} {% endif %} {{item.BaseUoM}}
{% if item.getPendingOrders is not empty and isMecstoreUser %}<div class=\"i\">i</div> {% endif %}
</div>
{% if item.getPendingOrders is not empty %}
<div class=\"tooltipContainer\">
<div class=\"tooltipHead\">
{{ 'ORDINI MECSTORE AL FORNITORE'|trans }}
</div>
<div class=\"tooltipBody\">
<div class=\"tooltipTable\">
<div class=\"row\">
<div class=\"col-4 col-sm-3 pb-3\">
<strong>{{ 'DATA ORDINE'|trans }}</strong>
</div>
<div class=\"col-4 col-sm-3 pb-3\">
<strong>{{ 'QUANTITÀ'|trans }}</strong>
</div>
<div class=\"col-4 col-sm-6 pb-3\">
<strong>{{ 'DATA CONSEGNA PREVISTA'|trans }}</strong>
</div>
</div>
{% for order in item.getPendingOrders %}
<div class=\"row\">
<div class=\"col-4 col-sm-3 pb-3\">
{{order['OrderDate']}}
</div>
<div class=\"col-4 col-sm-3 pb-3\">
{{order['Residuo']}}
</div>
<div class=\"col-4 col-sm-6 pb-3\">
{{order['ExpectedDeliveryDate']}}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</td>
<td class=\"product product-title\"><a href=\"{{ detailLink }}\" title=\"{{ item.item }} {{ truncate_name(item.subText) | raw }}\">{{ item.subText | raw }}</a>
<figure class=\"custom-hidden\"><img src=\"{{ item.mainImage.thumbnail({'height': 217, 'width': 217, 'format': 'jpeg'}) }}\" width=\"217\" height=\"217\" alt=\"{{ item.item }} {{ truncate_name(item.subText) | raw }}\"></figure>
</td>
<td class=\"price text-right\" >{{ item.EuropeanPrice }}</td>
<td class=\"add-cart-container\">
<div class=\"product-single-qty text-center\">
<div class=\"input-group bootstrap-touchspin \">
<input class=\"horizontal-quantity form-control\" min-qty=\"{{item.MinimumSaleQty}}\" max-qty=\"{% if item.Disponibilita is not empty %}{{item.Disponibilita}}{% else %}1{% endif %}\" value=\"{{item.MinimumSaleQty}}\" type=\"text\">
<span class=\"input-group-btn-vertical\">
<button class=\"btn btn-outline bootstrap-touchspin-up \" type=\"button\">+</button>
<button class=\"btn btn-outline bootstrap-touchspin-down\" type=\"button\">-</button>
</span>
</div>
</div><!-- End .product-single-qty -->
{% if allow_user('draft_create') or allow_user('booking_create') or allow_user('order_create') or allow_user('order_view') %}
{% if app.user.partner.isMecstoreHQ != true %}
<a href=\"{{ path('shop-add-to-cart', { id: item.id }) }}\" title=\"Aggiungi al carrello\" class=\"btn-add-cart product-type-simple\">
<i class=\"fas fa-shopping-cart\"></i>
</a>
{% endif %}
{% endif %}
</td>
</tr><!--END ROW PRODUCT -->
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
<!-- End .row List -->
{% set paginationType = 'prodotti' %}
{% set ordertype = 'prodotti' %}
{% include 'includes/pagination.html.twig' %}
</div>
<!-- End .col-lg-9 -->
<div class=\"sidebar-overlay\"></div>
<aside class=\"sidebar-shop col-lg-2 order-lg-first mobile-sidebar\">
{% if brandObj.logo is not empty %}
<div class=\"brand-logo listing\" {% if brandObj.color %}style=\"background-color:{{brandObj.color.hex}};\" {% endif %}>
<img src=\"{{brandObj.logo.path}}{{brandObj.logo.filename}}\" />
</div>
{% endif %}
<form class=\"checkbox-filter-container\" id=\"js_filterfield\" action=\"#\">
<div class=\"sidebar-wrapper\" style=\"border-bottom: 0px none rgb(119, 119, 119); \">
<div class=\"widget\">
<h3 class=\"widget-title no-row\">
{{ 'Ricerca libera'|trans }}
</h3>
<div id=\"search-catalog\" class=\"container-searchbox\">
<input type=\"hidden\" name=\"categoria\" value=\"\" id=\"input-category\">
<input type=\"search\" name=\"term\" value=\"{{term}}\" id=\"input-search\">
<input id=\"submit-button\" class=\"btn btn-yellow\" type=\"submit\" value=\"{{ 'Cerca'|trans }}\">
</div>
<!-- End .collapse -->
</div>
<!-- End .widget -->
<div class=\"widget prezzo\">
<h3 class=\"widget-title\">
<a data-toggle=\"collapse\" href=\"#widget-body-3\" role=\"button\" aria-expanded=\"true\" aria-controls=\"widget-body-3\">{{ 'Prezzo'|trans }}</a>
</h3>
<div class=\"collapse show\" id=\"widget-body-3\">
<div class=\"widget-body pb-0\">
<div class=\"price-slider-wrapper\">
<div id=\"price-slider\"></div>
<!-- End #price-slider -->
</div>
<!-- End .price-slider-wrapper -->
<div class=\"filter-price-action d-flex align-items-center justify-content-between flex-wrap\">
<div class=\"filter-price-text\">
{{ 'Prezzo:'|trans }}
<span id=\"filter-price-range\"></span>
</div>
<!-- End .filter-price-text -->
<button type=\"submit\" id=\"submit-button\" class=\"btn btn-yellow\">{{ 'filtra'|trans }}</button>
</div>
<!-- End .filter-price-action -->
</div>
<!-- End .widget-body -->
</div>
<!-- End .collapse -->
</div>
<!-- End .widget -->
{% if(filterDefinition.filters|length > 0) %}
{% for filter in filterDefinition.filters %}
{% set filterMarkup = filterService.filterFrontend(filter, productListing, currentFilter) %}
{{ filterMarkup | raw }}
{% endfor %}
{% endif %}
<!-- End .collapse -->
<!-- End .widget -->
</div>
<input type=\"hidden\" name=\"orderby\" value=\"\" id=\"orderby\">
<input type=\"hidden\" name=\"limit\" value=\"\" id=\"limit\" value=\"{{limit}}\" >
<input type=\"hidden\" name=\"max_range\" id=\"max_range\" class=\"max_range\" value=\"{{maxRange}}\" />
</form>
<!-- End .sidebar-wrapper -->
</aside>
<!-- End .col-lg-3 -->
</div>
<!-- Brand banner -->
{% if brandObj.footerBanner is not empty %}
<div class=\"brand-banner\">
{% if brandObj.footerLink %}
<a href=\"{{brandObj.footerLink.href}}\"><img src=\"{{brandObj.footerBanner.path}}{{brandObj.footerBanner.filename}}\"></a>
{% else %}
<img src=\"{{brandObj.footerBanner.path}}{{brandObj.footerBanner.filename}}\">
{% endif %}
</div>
{% endif %}
</div><!-- End .container -->
{% if brandObj is not empty and brandObj.enableDedicatedPage %}
<style>
.intro-shopinshop .brand-box .cta .inner{
background-color: {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
border: 1px solid {% if brandObj.color %} {{brandObj.textColor.hex}} {% endif %};
color: {% if brandObj.color %} {{brandObj.textColor.hex}} {% endif %};
}
.intro-shopinshop .shop-slider .cta .inner{
background-color: {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
color: {% if brandObj.color %} {{brandObj.textColor.hex}} {% endif %};
}
.intro-shopinshop .shop-slider .owl-dots .owl-dot span {
border: 1px solid {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
}
.intro-shopinshop .shop-slider .owl-dots .owl-dot.active span,
.intro-shopinshop .shop-slider .owl-dots .owl-dot.active span:before {
background-color: {% if brandObj.color %} {{brandObj.color.hex}} {% endif %};
}
</style>
{% endif %}
</div>
{% endblock %}", "product_b2c/shop-in-shop_b2c_listing.html.twig", "/home/ubuntu/mecstore/website/templates/product_b2c/shop-in-shop_b2c_listing.html.twig");
}
}