<?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;
/* Frontend/product.html.twig */
class __TwigTemplate_9834b2430bcaf8f315ccaeaa4fc62850 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'script' => [$this, 'block_script'],
];
}
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", "Frontend/product.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/product.html.twig"));
// line 1
echo "<div class='row bg-img1 bg-background-color' style='margin-right:0px;margin-left:0px;'>
\t<div class='col-12'>
\t\t<section class=\"txt-center m-t-45 p-lr-15 p-tb-52 text_color_main\">
\t\t\t<h2 class=\"ltext-105 txt-center\">
\t\t\t\t";
// line 5
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["webSetting"]) || array_key_exists("webSetting", $context) ? $context["webSetting"] : (function () { throw new RuntimeError('Variable "webSetting" does not exist.', 5, $this->source); })()), "mainTitle", [], "any", false, false, false, 5), "html", null, true);
echo "
\t\t\t</h2>
\t\t\t<p>";
// line 7
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["webSetting"]) || array_key_exists("webSetting", $context) ? $context["webSetting"] : (function () { throw new RuntimeError('Variable "webSetting" does not exist.', 7, $this->source); })()), "mainSubtitle", [], "any", false, false, false, 7), "html", null, true);
echo "</p>
\t\t</section>
\t</div>\t
</div>
<section class=\"bg0 p-t-23\">
\t<div class=\"container\">\t
\t\t<div class=\"flex-w flex-sb-m p-b-52\">\t\t\t
\t\t\t<div class=\"flex-w flex-l-m filter-tope-group m-tb-10\">\t\t\t\t
\t\t\t\t<button class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 how-active1 filter_list\" id='cat_btn_0' data-filterr=\"*\" data-token='0' onclick='loadCategory(false,\"\",";
// line 17
echo twig_escape_filter($this->env, (isset($context["pager_limit"]) || array_key_exists("pager_limit", $context) ? $context["pager_limit"] : (function () { throw new RuntimeError('Variable "pager_limit" does not exist.', 17, $this->source); })()), "html", null, true);
echo ")'>
\t\t\t\t\tTodos los productos
\t\t\t\t</button>
\t
\t\t\t\t";
// line 21
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 21, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
echo "\t\t\t\t\t
\t\t\t\t\t";
// line 22
if ((twig_get_attribute($this->env, $this->source, $context["item"], "category_count", [], "any", false, false, false, 22) > 0)) {
// line 23
echo "\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["item"], "subcategory_count", [], "any", false, false, false, 23) > 0)) {
// line 24
echo "\t\t\t\t\t\t\t<button class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 filter_list\" id='cat_btn_";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->md5(twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 24)), "html", null, true);
echo "' data-token='";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->md5(twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 24)), "html", null, true);
echo "' onclick=\"\$('.subcategories_For_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 24), "html", null, true);
echo "').toggle('fast')\">
\t\t\t\t\t\t\t\t";
// line 25
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 25), "html", null, true);
echo "
\t\t\t\t\t\t\t</button>\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<span class='subcategories_For_";
// line 27
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 27), "html", null, true);
echo "' style='display:none;'><i class='fa fa-chevron-right'></i> </span>
\t\t\t\t\t\t";
} else {
// line 29
echo "\t\t\t\t\t\t\t<button class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 filter_list\" id='cat_btn_";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->md5(twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 29)), "html", null, true);
echo "' data-token='";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->md5(twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 29)), "html", null, true);
echo "' onclick=\"loadCategory(1,'";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->md5(twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 29)), "html", null, true);
echo "',";
echo twig_escape_filter($this->env, (isset($context["pager_limit"]) || array_key_exists("pager_limit", $context) ? $context["pager_limit"] : (function () { throw new RuntimeError('Variable "pager_limit" does not exist.', 29, $this->source); })()), "html", null, true);
echo ")\" data-filterr=\".filter_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 29), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t";
// line 30
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "name", [], "any", false, false, false, 30), "html", null, true);
echo "
\t\t\t\t\t\t\t</button>\t\t\t\t\t\t
\t\t\t\t\t\t";
}
// line 33
echo "\t\t\t\t\t\t
\t\t\t\t\t\t";
// line 34
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["subcategories"]) || array_key_exists("subcategories", $context) ? $context["subcategories"] : (function () { throw new RuntimeError('Variable "subcategories" does not exist.', 34, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
// line 35
echo "\t\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["subcategory"], "category", [], "any", false, false, false, 35), "categoryId", [], "any", false, false, false, 35) == twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 35))) {
// line 36
echo "\t\t\t\t\t\t\t<button style='color:#ccc;display:none' onclick=\"loadCategory(2,'";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->md5(twig_get_attribute($this->env, $this->source, $context["subcategory"], "subcategoryId", [], "any", false, false, false, 36)), "html", null, true);
echo "',";
echo twig_escape_filter($this->env, (isset($context["pager_limit"]) || array_key_exists("pager_limit", $context) ? $context["pager_limit"] : (function () { throw new RuntimeError('Variable "pager_limit" does not exist.', 36, $this->source); })()), "html", null, true);
echo ")\" class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 subcategories_For_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "category_id", [], "any", false, false, false, 36), "html", null, true);
echo "\" data-filterr=\".filter_s_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subcategory"], "subcategoryId", [], "any", false, false, false, 36), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t";
// line 37
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subcategory"], "name", [], "any", false, false, false, 37), "html", null, true);
echo "
\t\t\t\t\t\t\t</button>\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
}
// line 40
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
echo "\t\t\t\t\t";
}
// line 42
echo "\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 43
echo "\t\t\t</div>
\t
\t\t\t";
// line 60
echo "\t\t\t
\t\t\t";
// line 61
if ((isset($context["filter"]) || array_key_exists("filter", $context) ? $context["filter"] : (function () { throw new RuntimeError('Variable "filter" does not exist.', 61, $this->source); })())) {
// line 62
echo "\t\t\t\t<!-- Search product: dis-none-->
\t\t\t\t<div class=\"panel-search w-full p-t-10 p-b-15\">
\t\t\t\t\t<div class=\"bor8 dis-flex p-l-15\">
\t\t\t\t\t\t<button class=\"size-113 flex-c-m fs-16 cl2 hov-cl1 trans-04\">
\t\t\t\t\t\t\t<i class=\"zmdi zmdi-search\"></i>
\t\t\t\t\t\t</button>\t\t\t\t\t\t
\t\t\t\t\t\t<form method='post' id='search_field_1' style='width:100%'>
\t\t\t\t\t\t\t<input class=\"mtext-107 cl2 size-114 plh2 p-r-15\" type=\"text\" id=\"search-product-1\" placeholder=\"Buscar\">\t\t\t\t\t\t
\t\t\t\t\t\t</form>\t\t\t\t\t\t\t\t
\t\t\t\t\t</div>\t
\t\t\t\t\t<small id='search_field_loader_1'></small>
\t\t\t\t</div>
\t\t\t";
}
// line 75
echo "\t
\t\t\t<!-- Filter -->
\t\t\t";
// line 264
echo "\t\t</div>
\t\t
\t\t
\t\t<div class=\"row\" id='dynamic_loader'></div>
\t\t
\t\t\t\t
\t\t<div class='p-t-10' id='pager_label'></div>
\t\t<br>
\t\t<div class=\"flex-c-m flex-w w-full\" id='pager_control' data-type=\"\" data-token=\"\" data-limit=\"\">\t\t\t
\t\t\t<a href=\"javascript:void(0)\" onclick=\"loadMore()\" class=\"flex-c-m stext-101 cl5 size-103 bg2 bor1 hov-btn1 p-lr-15 trans-04\">
\t\t\t\tCargar más
\t\t\t</a>
\t\t</div>
\t\t
\t\t
\t</div>
</section>
";
// line 283
$this->displayBlock('script', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_script($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", "script"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "script"));
// line 284
echo "<script>
\t
\tfunction imageClick(id, title)
\t{
\t\tvar url = '";
// line 289
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_product_modal_load", ["slug" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 289, $this->source); })())]), "html", null, true);
echo "';
\t\tvar data = {
\t\t\tid: id
\t\t};
\t\t\$('#viewContentBody').html('<div class=\"row\"><div class=\"col-lg-12 text-center\"><br><i class=\"fa fa-spinner fa-spin\" style=\"font-size:30px\"></i><br></div></div> ');
\t\t\$('#viewContentBody').load(url,data, function()
\t\t{
\t\t});
\t\t
\t\t\$('#viewContentTitle').text(title);
\t\t\$('#viewContent').modal('show');
\t\t\t//initiate the plugin and pass the id of the div containing gallery images
\t\t\$('#imageModal').elevateZoom({
\t\t\tgallery:'gallery_01',
\t\t\tresponsive: true,
\t\t\tcursor: 'pointer',
\t\t\t//easing : true,
\t\t\tgalleryActiveClass: 'active'
\t\t\t//imageCrossfade: true
\t\t});
\t\t//pass the images to Fancybox
\t\t\$('#imageModal').bind(\"click\", function(e)
\t\t{
\t\t\tvar ez = \$('#imageModal').data('elevateZoom');
\t\t\t\$.fancybox(ez.getGalleryList());
\t\t\treturn false;
\t\t});
\t\t\$('#viewContent').on('hidden.bs.modal', function()
\t\t{
\t\t\t\$(\".zoomContainer\"). css(\"display\", \"none\");
\t\t\t\$(\".zoomWindow\"). css(\"display\", \"none\");
\t\t});
}
function imageRelationClick(id_relation, name, md5)
\t{
\t\tvar url = '";
// line 331
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_product_modal_load", ["slug" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 331, $this->source); })())]), "html", null, true);
echo "';
\t\tvar data = {
\t\t\tid: id_relation
\t\t};
\t\t\$('#viewContentBody').html('<div class=\"row\"><div class=\"col-lg-12 text-center\"><br><i class=\"fa fa-spinner fa-spin\" style=\"font-size:30px\"></i><br></div></div> ');
\t\t\$('#viewContentBody').load(url,data, function(){
\t\t});
\t\t
\t\t\$('#viewContentTitle').text(name);
}
\t
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Frontend/product.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 286 => 331, 241 => 289, 234 => 284, 215 => 283, 194 => 264, 190 => 75, 175 => 62, 173 => 61, 170 => 60, 166 => 43, 160 => 42, 157 => 41, 151 => 40, 145 => 37, 134 => 36, 131 => 35, 127 => 34, 124 => 33, 118 => 30, 105 => 29, 100 => 27, 95 => 25, 86 => 24, 83 => 23, 81 => 22, 75 => 21, 68 => 17, 55 => 7, 50 => 5, 44 => 1,);
}
public function getSourceContext()
{
return new Source("<div class='row bg-img1 bg-background-color' style='margin-right:0px;margin-left:0px;'>
\t<div class='col-12'>
\t\t<section class=\"txt-center m-t-45 p-lr-15 p-tb-52 text_color_main\">
\t\t\t<h2 class=\"ltext-105 txt-center\">
\t\t\t\t{{webSetting.mainTitle}}
\t\t\t</h2>
\t\t\t<p>{{webSetting.mainSubtitle}}</p>
\t\t</section>
\t</div>\t
</div>
<section class=\"bg0 p-t-23\">
\t<div class=\"container\">\t
\t\t<div class=\"flex-w flex-sb-m p-b-52\">\t\t\t
\t\t\t<div class=\"flex-w flex-l-m filter-tope-group m-tb-10\">\t\t\t\t
\t\t\t\t<button class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 how-active1 filter_list\" id='cat_btn_0' data-filterr=\"*\" data-token='0' onclick='loadCategory(false,\"\",{{pager_limit}})'>
\t\t\t\t\tTodos los productos
\t\t\t\t</button>
\t
\t\t\t\t{% for item in categories %}\t\t\t\t\t
\t\t\t\t\t{% if item.category_count > 0 %}
\t\t\t\t\t\t{% if item.subcategory_count > 0 %}
\t\t\t\t\t\t\t<button class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 filter_list\" id='cat_btn_{{item.category_id | md5}}' data-token='{{item.category_id | md5}}' onclick=\"\$('.subcategories_For_{{item.category_id}}').toggle('fast')\">
\t\t\t\t\t\t\t\t{{item.name}}
\t\t\t\t\t\t\t</button>\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<span class='subcategories_For_{{item.category_id}}' style='display:none;'><i class='fa fa-chevron-right'></i> </span>
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t<button class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 filter_list\" id='cat_btn_{{item.category_id | md5}}' data-token='{{item.category_id | md5}}' onclick=\"loadCategory(1,'{{item.category_id | md5}}',{{pager_limit}})\" data-filterr=\".filter_{{item.category_id}}\">
\t\t\t\t\t\t\t\t{{item.name}}
\t\t\t\t\t\t\t</button>\t\t\t\t\t\t
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t
\t\t\t\t\t\t{% for subcategory in subcategories %}
\t\t\t\t\t\t\t{% if subcategory.category.categoryId == item.category_id %}
\t\t\t\t\t\t\t<button style='color:#ccc;display:none' onclick=\"loadCategory(2,'{{subcategory.subcategoryId | md5}}',{{pager_limit}})\" class=\"stext-106 cl6 hov1 bor3 trans-04 m-r-32 m-tb-5 subcategories_For_{{item.category_id}}\" data-filterr=\".filter_s_{{subcategory.subcategoryId}}\">
\t\t\t\t\t\t\t\t{{subcategory.name}}
\t\t\t\t\t\t\t</button>\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t</div>
\t
\t\t\t{#
\t\t\t<div class=\"flex-w flex-c-m m-tb-10\">
\t\t\t\t<div class=\"flex-c-m stext-106 cl6 size-104 bor4 pointer hov-btn3 trans-04 m-r-8 m-tb-4 js-show-filter\">
\t\t\t\t\t<i class=\"icon-filter cl2 m-r-6 fs-15 trans-04 zmdi zmdi-filter-list\"></i>
\t\t\t\t\t<i class=\"icon-close-filter cl2 m-r-6 fs-15 trans-04 zmdi zmdi-close dis-none\"></i>
\t\t\t\t\t Filtros
\t\t\t\t</div>
\t
\t\t\t\t<div class=\"flex-c-m stext-106 cl6 size-105 bor4 pointer hov-btn3 trans-04 m-tb-4 js-show-search\">
\t\t\t\t\t<i class=\"icon-search cl2 m-r-6 fs-15 trans-04 zmdi zmdi-search\"></i>
\t\t\t\t\t<i class=\"icon-close-search cl2 m-r-6 fs-15 trans-04 zmdi zmdi-close dis-none\"></i>
\t\t\t\t\tBuscar
\t\t\t\t</div>
\t\t\t</div>
\t\t\t#}
\t\t\t
\t\t\t{% if filter %}
\t\t\t\t<!-- Search product: dis-none-->
\t\t\t\t<div class=\"panel-search w-full p-t-10 p-b-15\">
\t\t\t\t\t<div class=\"bor8 dis-flex p-l-15\">
\t\t\t\t\t\t<button class=\"size-113 flex-c-m fs-16 cl2 hov-cl1 trans-04\">
\t\t\t\t\t\t\t<i class=\"zmdi zmdi-search\"></i>
\t\t\t\t\t\t</button>\t\t\t\t\t\t
\t\t\t\t\t\t<form method='post' id='search_field_1' style='width:100%'>
\t\t\t\t\t\t\t<input class=\"mtext-107 cl2 size-114 plh2 p-r-15\" type=\"text\" id=\"search-product-1\" placeholder=\"Buscar\">\t\t\t\t\t\t
\t\t\t\t\t\t</form>\t\t\t\t\t\t\t\t
\t\t\t\t\t</div>\t
\t\t\t\t\t<small id='search_field_loader_1'></small>
\t\t\t\t</div>
\t\t\t{% endif %}
\t
\t\t\t<!-- Filter -->
\t\t\t{#<div class=\"dis-none panel-filter w-full p-t-10\">
\t\t\t\t<div class=\"wrap-filter flex-w bg6 w-full p-lr-40 p-t-27 p-lr-15-sm\">
\t\t\t\t\t<div class=\"filter-col1 p-r-15 p-b-27\">
\t\t\t\t\t\t<div class=\"mtext-102 cl2 p-b-15\">
\t\t\t\t\t\t\t Ordenar por
\t\t\t\t\t\t</div>
\t
\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tDefault
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tPopularity
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tAverage rating
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04 filter-link-active\">
\t\t\t\t\t\t\t\t\tNewness
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tPrice: Low to High
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tPrice: High to Low
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t
\t\t\t\t\t<div class=\"filter-col2 p-r-15 p-b-27\">
\t\t\t\t\t\t<div class=\"mtext-102 cl2 p-b-15\">
\t\t\t\t\t\t\tPrecio
\t\t\t\t\t\t</div>
\t
\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04 filter-link-active\">
\t\t\t\t\t\t\t\t\tAll
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\t\$0.00 - \$50.00
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\t\$50.00 - \$100.00
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\t\$100.00 - \$150.00
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\t\$150.00 - \$200.00
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\t\$200.00+
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t
\t\t\t\t\t<div class=\"filter-col3 p-r-15 p-b-27\">
\t\t\t\t\t\t<div class=\"mtext-102 cl2 p-b-15\">
\t\t\t\t\t\t\tColor
\t\t\t\t\t\t</div>
\t
\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<span class=\"fs-15 lh-12 m-r-6\" style=\"color: #222;\">
\t\t\t\t\t\t\t\t\t<i class=\"zmdi zmdi-circle\"></i>
\t\t\t\t\t\t\t\t</span>
\t
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tBlack
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<span class=\"fs-15 lh-12 m-r-6\" style=\"color: #4272d7;\">
\t\t\t\t\t\t\t\t\t<i class=\"zmdi zmdi-circle\"></i>
\t\t\t\t\t\t\t\t</span>
\t
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04 filter-link-active\">
\t\t\t\t\t\t\t\t\tBlue
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<span class=\"fs-15 lh-12 m-r-6\" style=\"color: #b3b3b3;\">
\t\t\t\t\t\t\t\t\t<i class=\"zmdi zmdi-circle\"></i>
\t\t\t\t\t\t\t\t</span>
\t
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tGrey
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<span class=\"fs-15 lh-12 m-r-6\" style=\"color: #00ad5f;\">
\t\t\t\t\t\t\t\t\t<i class=\"zmdi zmdi-circle\"></i>
\t\t\t\t\t\t\t\t</span>
\t
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tGreen
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<span class=\"fs-15 lh-12 m-r-6\" style=\"color: #fa4251;\">
\t\t\t\t\t\t\t\t\t<i class=\"zmdi zmdi-circle\"></i>
\t\t\t\t\t\t\t\t</span>
\t
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tRed
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t
\t\t\t\t\t\t\t<li class=\"p-b-6\">
\t\t\t\t\t\t\t\t<span class=\"fs-15 lh-12 m-r-6\" style=\"color: #aaa;\">
\t\t\t\t\t\t\t\t\t<i class=\"zmdi zmdi-circle-o\"></i>
\t\t\t\t\t\t\t\t</span>
\t
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"filter-link stext-106 trans-04\">
\t\t\t\t\t\t\t\t\tWhite
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t
\t\t\t\t\t<div class=\"filter-col4 p-b-27\">
\t\t\t\t\t\t<div class=\"mtext-102 cl2 p-b-15\">
\t\t\t\t\t\t\tTags
\t\t\t\t\t\t</div>
\t
\t\t\t\t\t\t<div class=\"flex-w p-t-4 m-r--5\">
\t\t\t\t\t\t\t<a href=\"#\" class=\"flex-c-m stext-107 cl6 size-301 bor7 p-lr-15 hov-tag1 trans-04 m-r-5 m-b-5\">
\t\t\t\t\t\t\t\tFashion
\t\t\t\t\t\t\t</a>
\t
\t\t\t\t\t\t\t<a href=\"#\" class=\"flex-c-m stext-107 cl6 size-301 bor7 p-lr-15 hov-tag1 trans-04 m-r-5 m-b-5\">
\t\t\t\t\t\t\t\tLifestyle
\t\t\t\t\t\t\t</a>
\t
\t\t\t\t\t\t\t<a href=\"#\" class=\"flex-c-m stext-107 cl6 size-301 bor7 p-lr-15 hov-tag1 trans-04 m-r-5 m-b-5\">
\t\t\t\t\t\t\t\tDenim
\t\t\t\t\t\t\t</a>
\t
\t\t\t\t\t\t\t<a href=\"#\" class=\"flex-c-m stext-107 cl6 size-301 bor7 p-lr-15 hov-tag1 trans-04 m-r-5 m-b-5\">
\t\t\t\t\t\t\t\tStreetstyle
\t\t\t\t\t\t\t</a>
\t
\t\t\t\t\t\t\t<a href=\"#\" class=\"flex-c-m stext-107 cl6 size-301 bor7 p-lr-15 hov-tag1 trans-04 m-r-5 m-b-5\">
\t\t\t\t\t\t\t\tCrafts
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>#}
\t\t</div>
\t\t
\t\t
\t\t<div class=\"row\" id='dynamic_loader'></div>
\t\t
\t\t\t\t
\t\t<div class='p-t-10' id='pager_label'></div>
\t\t<br>
\t\t<div class=\"flex-c-m flex-w w-full\" id='pager_control' data-type=\"\" data-token=\"\" data-limit=\"\">\t\t\t
\t\t\t<a href=\"javascript:void(0)\" onclick=\"loadMore()\" class=\"flex-c-m stext-101 cl5 size-103 bg2 bor1 hov-btn1 p-lr-15 trans-04\">
\t\t\t\tCargar más
\t\t\t</a>
\t\t</div>
\t\t
\t\t
\t</div>
</section>
{% block script %}
<script>
\t
\tfunction imageClick(id, title)
\t{
\t\tvar url = '{{ path(\"frontend_product_modal_load\", {slug: slug}) }}';
\t\tvar data = {
\t\t\tid: id
\t\t};
\t\t\$('#viewContentBody').html('<div class=\"row\"><div class=\"col-lg-12 text-center\"><br><i class=\"fa fa-spinner fa-spin\" style=\"font-size:30px\"></i><br></div></div> ');
\t\t\$('#viewContentBody').load(url,data, function()
\t\t{
\t\t});
\t\t
\t\t\$('#viewContentTitle').text(title);
\t\t\$('#viewContent').modal('show');
\t\t\t//initiate the plugin and pass the id of the div containing gallery images
\t\t\$('#imageModal').elevateZoom({
\t\t\tgallery:'gallery_01',
\t\t\tresponsive: true,
\t\t\tcursor: 'pointer',
\t\t\t//easing : true,
\t\t\tgalleryActiveClass: 'active'
\t\t\t//imageCrossfade: true
\t\t});
\t\t//pass the images to Fancybox
\t\t\$('#imageModal').bind(\"click\", function(e)
\t\t{
\t\t\tvar ez = \$('#imageModal').data('elevateZoom');
\t\t\t\$.fancybox(ez.getGalleryList());
\t\t\treturn false;
\t\t});
\t\t\$('#viewContent').on('hidden.bs.modal', function()
\t\t{
\t\t\t\$(\".zoomContainer\"). css(\"display\", \"none\");
\t\t\t\$(\".zoomWindow\"). css(\"display\", \"none\");
\t\t});
}
function imageRelationClick(id_relation, name, md5)
\t{
\t\tvar url = '{{ path(\"frontend_product_modal_load\", {slug: slug}) }}';
\t\tvar data = {
\t\t\tid: id_relation
\t\t};
\t\t\$('#viewContentBody').html('<div class=\"row\"><div class=\"col-lg-12 text-center\"><br><i class=\"fa fa-spinner fa-spin\" style=\"font-size:30px\"></i><br></div></div> ');
\t\t\$('#viewContentBody').load(url,data, function(){
\t\t});
\t\t
\t\t\$('#viewContentTitle').text(name);
}
\t
</script>
{% endblock %}
", "Frontend/product.html.twig", "/home/sinfilas/public_html/templates/Frontend/product.html.twig");
}
}