File "dc231b158391a3a4c59cd1a9e758f2d95bc16c756ed0784407532d32e22d6587.php"
Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/cache/dc/dc231b158391a3a4c59cd1a9e758f2d95bc16c756ed0784407532d32e22d6587.php
File
size: 127.77 B (127.77 KB bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
/* tt_madison1/template/extension/module/octabproducts.twig */
class __TwigTemplate_5ff6d0fa4051f0da2efb8c48f772ba1ae749ebf84c6469149abf2fb418c74890 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"tt_tabsproduct_module";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "row", array()) >= 2)) {
echo " multi-rows";
}
echo " ";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "class", array());
echo "\" id=\"product_module";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo "\">
\t<div class=\"module-title\">
\t\t";
// line 3
if ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "subtitle_lang", array()), (isset($context["code"]) ? $context["code"] : null), array(), "array"), "subtitle", array())) {
// line 4
echo "\t\t <p class=\"sub-title\">";
echo $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "subtitle_lang", array()), (isset($context["code"]) ? $context["code"] : null), array(), "array"), "subtitle", array());
echo "</p>
\t\t";
}
// line 6
echo "\t\t
\t\t";
// line 7
if ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "title_lang", array()), (isset($context["code"]) ? $context["code"] : null), array(), "array"), "title", array())) {
// line 8
echo "\t\t <h2>";
echo $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "title_lang", array()), (isset($context["code"]) ? $context["code"] : null), array(), "array"), "title", array());
echo "</h2>
\t\t";
} else {
// line 10
echo "\t\t <h2>";
echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
echo "</h2>
\t\t";
}
// line 12
echo "\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showdescription", array())) {
// line 13
echo "\t\t\t<div class=\"module-description\">
\t\t\t ";
// line 14
echo (isset($context["module_description"]) ? $context["module_description"] : null);
echo "
\t\t\t</div>
\t\t";
}
// line 17
echo "\t\t";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) != 2)) {
// line 18
echo "\t\t\t<div class=\"box-tab\">\t
\t\t\t\t<ul class=\"tab-heading tabs-categorys\">
\t\t\t\t ";
// line 20
$context["i"] = 0;
// line 21
echo "\t\t\t\t ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["octabs"]) ? $context["octabs"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["octab"]) {
// line 22
echo "\t\t\t\t\t<li>
\t\t\t\t\t\t<a data-toggle=\"pill\" href=\"#tab-";
// line 23
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo (isset($context["i"]) ? $context["i"] : null);
echo "\">
\t\t\t\t\t\t\t<span>";
// line 24
echo $this->getAttribute($context["octab"], "title", array());
echo "</span>
\t\t\t\t\t\t</a>
\t\t\t\t\t</li>
\t\t\t\t\t";
// line 27
$context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1);
// line 28
echo "\t\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['octab'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 29
echo "\t\t\t\t</ul>
\t\t\t</div>
\t\t";
}
// line 32
echo "\t<div class=\"clearfix\"></div>
\t
\t</div>
\t";
// line 35
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 2)) {
// line 36
echo "\t\t<div class=\"box-tab\">
\t\t\t<ul class=\"tab-heading tabs-categorys owl-carousel owl-theme\">
\t\t\t ";
// line 38
$context["i"] = 0;
// line 39
echo "\t\t\t ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["octabs"]) ? $context["octabs"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["octab"]) {
// line 40
echo "\t\t\t\t<li class=\"li-tabs\">
\t\t\t\t\t<a href=\"javascript:void(0);\" data-tab=\"#tab-";
// line 41
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo (isset($context["i"]) ? $context["i"] : null);
echo "\" class=\"a-tabs\" title=\"";
echo $this->getAttribute($context["octab"], "title", array());
echo "\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t";
// line 43
if ($this->getAttribute($context["octab"], "thumbnail_image", array())) {
// line 44
echo "\t\t\t\t\t\t\t<span class=\"wrapper-thumb\"><img class=\"thumb-img\" src=\"";
echo $this->getAttribute($context["octab"], "thumbnail_image", array());
echo "\" alt=\"";
echo $this->getAttribute($context["octab"], "title", array());
echo "\" /></span>
\t\t\t\t\t\t";
}
// line 46
echo "\t\t\t\t\t\t
\t\t\t\t\t\t<span class=\"tab-name\">";
// line 47
echo $this->getAttribute($context["octab"], "title", array());
echo "</span>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t";
// line 50
$context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1);
// line 51
echo "\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['octab'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo "\t\t\t
\t\t\t</ul>
\t\t</div>
\t";
}
// line 55
echo "\t
\t
";
// line 58
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 59
echo "\t";
$context["class_slider"] = " owl-carousel owl-theme ";
// line 60
echo " ";
} else {
// line 61
echo "\t";
$context["class_slider"] = "";
// line 62
echo " ";
}
// line 63
echo " ";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 0)) {
// line 64
echo "\t";
$context["class"] = "two_items col-lg-6 col-md-6 col-sm-6 col-xs-12";
echo "\t
";
} elseif (($this->getAttribute( // line 65
(isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 1)) {
// line 66
echo "\t";
$context["class"] = "three_items col-lg-4 col-md-4 col-sm-4 col-xs-12";
// line 67
echo " ";
} elseif (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 2)) {
// line 68
echo "\t";
$context["class"] = "four_items col-lg-3 col-md-3 col-sm-3 col-xs-12";
// line 69
echo " ";
} elseif (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 3)) {
// line 70
echo "\t";
$context["class"] = "six_items col-lg-2 col-md-2 col-sm-2 col-xs-12";
// line 71
echo "\t";
} else {
// line 72
echo "\t";
$context["class"] = "auto auto auto auto auto auto auto";
// line 73
echo " ";
}
// line 74
echo " <div class=\"box-style\">
\t";
// line 75
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 76
echo "\t\t";
if (((isset($context["module_image"]) ? $context["module_image"] : null) || (isset($context["module_image2"]) ? $context["module_image2"] : null))) {
// line 77
echo "\t\t<div class=\"col-image\">
\t\t\t
\t\t\t\t";
// line 79
if ((isset($context["module_image_link"]) ? $context["module_image_link"] : null)) {
// line 80
echo "\t\t\t\t\t<div class=\"banner-static\">
\t\t\t\t\t\t<div class=\"image\">
\t\t\t\t\t\t\t<a href=\"";
// line 82
echo (isset($context["module_image_link"]) ? $context["module_image_link"] : null);
echo "\">
\t\t\t\t\t\t\t\t<img src=\"";
// line 83
echo (isset($context["module_image"]) ? $context["module_image"] : null);
echo "\" alt=\"image\" />
\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";
} else {
// line 88
echo "\t\t\t\t\t<img src=\"";
echo (isset($context["module_image"]) ? $context["module_image"] : null);
echo "\" alt=\"image\" />
\t\t\t\t";
}
// line 90
echo "\t\t\t\t";
if ((isset($context["module_image_link2"]) ? $context["module_image_link2"] : null)) {
// line 91
echo "\t\t\t\t\t<div class=\"banner-static\">
\t\t\t\t\t\t<div class=\"image\">
\t\t\t\t\t\t\t<a href=\"";
// line 93
echo (isset($context["module_image_link2"]) ? $context["module_image_link2"] : null);
echo "\">
\t\t\t\t\t\t\t\t<img src=\"";
// line 94
echo (isset($context["module_image2"]) ? $context["module_image2"] : null);
echo "\" alt=\"image\" />
\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";
} else {
// line 99
echo "\t\t\t\t\t<img src=\"";
echo (isset($context["module_image2"]) ? $context["module_image2"] : null);
echo "\" alt=\"image\" />
\t\t\t\t";
}
// line 101
echo "\t\t\t
\t\t</div>
\t\t";
}
// line 104
echo "\t";
}
// line 105
echo "\t<div class=\"owl-container\">
<div class=\"tt-product \">
<div class=\"tab-content\">
\t\t";
// line 108
$context["i"] = 0;
echo "\t
\t\t";
// line 109
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "row", array())) {
// line 110
echo "\t\t\t";
$context["rows"] = $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "row", array());
// line 111
echo "\t\t";
} else {
// line 112
echo "\t\t\t";
$context["rows"] = 1;
// line 113
echo "\t\t";
}
echo "\t\t
\t";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["octabs"]) ? $context["octabs"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["octab"]) {
// line 115
echo "\t";
list($context["count"], $context["count_i"]) = array(0, 0);
// line 116
echo "\t";
list($context["items_numb"], $context["items_gnumb"]) = array(3, 6);
// line 117
echo "\t<div class=\"tab-container-";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " ";
echo (isset($context["class_slider"]) ? $context["class_slider"] : null);
echo " tab-pane tab-product-container ";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) != 2)) {
echo " fade ";
}
echo "\" id=\"tab-";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo (isset($context["i"]) ? $context["i"] : null);
echo "\">\t\t
\t";
// line 118
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 119
echo "\t<div class=\"module-not-slider\" style=\"";
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
echo "grid-template-columns:";
echo (isset($context["class"]) ? $context["class"] : null);
echo ";display: grid;grid-gap: 30px;padding: 0 15px;";
}
echo "\">
\t";
}
// line 121
echo "\t";
if ((twig_length_filter($this->env, $this->getAttribute($context["octab"], "products", array())) > 0)) {
// line 122
echo "
\t\t";
// line 123
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 124
echo "\t\t\t";
if (((isset($context["module_image"]) ? $context["module_image"] : null) || (isset($context["module_image2"]) ? $context["module_image2"] : null))) {
// line 125
echo "\t\t\t<div class=\"col-image\" style=\"grid-column: 1 / 3;\">
\t\t\t\t
\t\t\t\t\t";
// line 127
if ((isset($context["module_image_link"]) ? $context["module_image_link"] : null)) {
// line 128
echo "\t\t\t\t\t\t<div class=\"banner-static\">
\t\t\t\t\t\t\t<div class=\"image\">
\t\t\t\t\t\t\t\t<a href=\"";
// line 130
echo (isset($context["module_image_link"]) ? $context["module_image_link"] : null);
echo "\">
\t\t\t\t\t\t\t\t\t<img src=\"";
// line 131
echo (isset($context["module_image"]) ? $context["module_image"] : null);
echo "\" alt=\"image\" />
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
} else {
// line 136
echo "\t\t\t\t\t\t<img src=\"";
echo (isset($context["module_image"]) ? $context["module_image"] : null);
echo "\" alt=\"image\" />
\t\t\t\t\t";
}
// line 138
echo "\t\t\t\t\t";
if ((isset($context["module_image_link2"]) ? $context["module_image_link2"] : null)) {
// line 139
echo "\t\t\t\t\t\t<div class=\"banner-static\">
\t\t\t\t\t\t\t<div class=\"image\">
\t\t\t\t\t\t\t\t<a href=\"";
// line 141
echo (isset($context["module_image_link2"]) ? $context["module_image_link2"] : null);
echo "\">
\t\t\t\t\t\t\t\t\t<img src=\"";
// line 142
echo (isset($context["module_image2"]) ? $context["module_image2"] : null);
echo "\" alt=\"image\" />
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
} else {
// line 147
echo "\t\t\t\t\t\t<img src=\"";
echo (isset($context["module_image2"]) ? $context["module_image2"] : null);
echo "\" alt=\"image\" />
\t\t\t\t\t";
}
// line 149
echo "\t\t\t</div>
\t\t\t";
}
// line 151
echo "\t\t";
}
// line 152
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["octab"], "products", array()));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 153
echo "\t\t\t";
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
$context["rows"] = 1;
}
// line 154
echo " <!-- Grid -->
\t\t\t";
// line 155
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 0)) {
echo "\t
\t\t\t";
// line 156
if ((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0)) {
// line 157
echo "\t\t\t<div class=\"row_items \">
\t\t\t";
}
// line 159
echo "\t\t\t";
$context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1);
// line 160
echo "\t\t\t\t\t
\t\t\t\t<div class=\"product-layout grid-style \">
\t\t\t\t\t<div class=\"product-thumb transition\">
\t\t\t\t\t\t<div class=\"item\">
\t\t\t\t\t\t\t<div class=\"item-inner\">
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"image images-container\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 167
echo $this->getAttribute($context["product"], "href", array());
echo "\" class=\"product-image\">
\t\t\t\t\t\t\t\t\t\t";
// line 168
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "rotator", array()) && $this->getAttribute($context["product"], "rotator_image", array()))) {
echo "<img class=\"img-r\" src=\"";
echo $this->getAttribute($context["product"], "rotator_image", array());
echo "\" alt=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" />";
}
// line 169
echo "\t\t\t\t\t\t\t\t\t\t<img src=\"";
echo $this->getAttribute($context["product"], "thumb", array());
echo "\" alt=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" title=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" class=\"img-responsive ";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "rotator", array()) && $this->getAttribute($context["product"], "rotator_image", array()))) {
echo "has-rotator";
}
echo "\" />
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"box-label\">\t
\t\t\t\t\t\t\t\t\t\t";
// line 172
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "newlabel", array())) {
// line 173
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "is_new", array())) {
// line 174
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_new\"><span>";
echo (isset($context["text_label_new"]) ? $context["text_label_new"] : null);
echo "</span></div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 176
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 177
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "salelabel", array())) {
// line 178
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "special", array())) {
// line 179
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_sale\"><span>";
echo ((("-" . $this->getAttribute($context["product"], "rate_special", array())) . "% ") . (isset($context["text_label_sale"]) ? $context["text_label_sale"] : null));
echo "</span></div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 181
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 182
echo "\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 184
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array())) {
echo "<div class=\"text-hurryup\"><p>";
echo (isset($context["text_hurryup"]) ? $context["text_hurryup"] : null);
echo "</p></div><div id=\"Countdown";
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "\" class=\"box-timer\"></div> ";
}
// line 185
echo "\t\t\t\t\t\t\t\t\t";
if ((($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showquickview", array()) || $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array())) || $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array()))) {
echo "\t
\t\t\t\t\t\t\t\t\t\t<div class=\"action-links\">
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 188
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array())) {
// line 189
echo "\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-wishlist\" type=\"button\" title=\"";
echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
echo "\" onclick=\"wishlist.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 191
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ((isset($context["use_quickview"]) ? $context["use_quickview"] : null)) {
// line 192
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showquickview", array())) {
// line 193
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-quickview\" type=\"button\" title=\"";
echo (isset($context["button_quickview"]) ? $context["button_quickview"] : null);
echo "\" onclick=\"ocquickview.ajaxView('";
echo $this->getAttribute($context["product"], "href", array());
echo "')\"><span>";
echo (isset($context["button_quickview"]) ? $context["button_quickview"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 195
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 196
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array())) {
// line 197
echo "\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-compare\" type=\"button\" title=\"";
echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
echo "\" onclick=\"compare.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 199
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 201
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div><!-- image -->
\t\t\t\t\t\t\t\t<div class=\"caption\">
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 205
if ($this->getAttribute($context["product"], "manufacturer", array())) {
// line 206
echo "\t\t\t\t\t\t\t\t\t<p class=\"manufacture-product\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 207
echo $this->getAttribute($context["product"], "manufacturers", array());
echo "\">";
echo $this->getAttribute($context["product"], "manufacturer", array());
echo "</a>
\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t\t";
}
// line 210
echo "\t\t\t\t\t\t\t\t\t<div class=\"ratings\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rating-box\">
\t\t\t\t\t\t\t\t\t\t";
// line 212
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 213
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) {
// line 214
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["class_r"] = ("rating" . $context["i"]);
// line 215
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"";
echo (isset($context["class_r"]) ? $context["class_r"] : null);
echo "\">rating</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 217
echo "\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 218
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>\t
\t\t\t\t\t\t\t\t\t<h4 class=\"product-name\"><a href=\"";
// line 220
echo $this->getAttribute($context["product"], "href", array());
echo "\">";
echo $this->getAttribute($context["product"], "name", array());
echo "</a></h4>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 224
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 225
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "price", array())) {
// line 226
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">
\t\t\t\t\t\t\t\t\t\t<label>";
// line 227
echo (isset($context["price_label"]) ? $context["price_label"] : null);
echo "</label>
\t\t\t\t\t\t\t\t\t\t";
// line 228
if ( !$this->getAttribute($context["product"], "special", array())) {
// line 229
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"regular-price\"><span class=\"price\">";
echo $this->getAttribute($context["product"], "price", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 231
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"special-price\"><span class=\"price\">";
echo $this->getAttribute($context["product"], "special", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t\t<p class=\"old-price\"><span class=\"price\">";
// line 232
echo $this->getAttribute($context["product"], "price", array());
echo "</span></p>\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
}
// line 234
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "tax", array())) {
// line 235
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"price-tax\"><span class=\"price\">";
echo (isset($context["text_tax"]) ? $context["text_tax"] : null);
echo " ";
echo $this->getAttribute($context["product"], "tax", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t";
}
// line 237
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 239
echo "\t\t\t\t\t\t\t\t\t";
}
// line 240
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "description", array())) {
// line 241
echo "\t\t\t\t\t\t\t\t\t\t<p class=\"product-des\">";
echo $this->getAttribute($context["product"], "description", array());
echo "</p>
\t\t\t\t\t\t\t\t\t";
}
// line 243
echo "\t\t\t\t\t\t\t\t\t";
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 244
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcart", array())) {
// line 245
echo "\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-cart\" type=\"button\" title=\"";
echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
echo "\" onclick=\"cart.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t";
}
// line 247
echo "\t\t\t\t\t\t\t\t\t";
}
// line 248
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div><!-- caption -->
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div><!-- product-thumb -->
\t\t\t\t\t\t";
// line 253
if (($this->getAttribute($context["product"], "date_end", array()) && $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array()))) {
// line 254
echo "\t\t\t\t\t\t<script >
\t\t\t\t\t\t\$(document).ready(function () {
\t\t\t\t\t\t\$('#Countdown";
// line 256
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "').countdown({
\t\t\t\t\t\tuntil: new Date(";
// line 257
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "Y");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "m");
echo "-1, ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "d");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "H");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "i");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "s");
echo "),
\t\t\t\t\t\tlabels: ['";
// line 258
echo (isset($context["text_years"]) ? $context["text_years"] : null);
echo "', '";
echo (isset($context["text_months"]) ? $context["text_months"] : null);
echo " ', '";
echo (isset($context["text_weeks"]) ? $context["text_weeks"] : null);
echo "', '";
echo (isset($context["text_days"]) ? $context["text_days"] : null);
echo "', '";
echo (isset($context["text_hrs"]) ? $context["text_hrs"] : null);
echo "', '";
echo (isset($context["text_mins"]) ? $context["text_mins"] : null);
echo "', '";
echo (isset($context["text_secs"]) ? $context["text_secs"] : null);
echo "'],
\t\t\t\t\t\tlabels1: ['";
// line 259
echo (isset($context["text_year"]) ? $context["text_year"] : null);
echo "', '";
echo (isset($context["text_month"]) ? $context["text_month"] : null);
echo " ', '";
echo (isset($context["text_week"]) ? $context["text_week"] : null);
echo "', '";
echo (isset($context["text_day"]) ? $context["text_day"] : null);
echo "', '";
echo (isset($context["text_hr"]) ? $context["text_hr"] : null);
echo "', '";
echo (isset($context["text_min"]) ? $context["text_min"] : null);
echo "', '";
echo (isset($context["text_sec"]) ? $context["text_sec"] : null);
echo "'],
\t\t\t\t\t\t});
\t\t\t\t\t\t //\$('#Countdown";
// line 261
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "').countdown('pause');
\t\t\t\t\t\t});
\t\t\t\t\t\t</script>
\t\t\t\t\t\t";
}
// line 265
echo "\t\t\t\t</div><!-- product-layout -->
\t\t\t\t";
// line 266
if (((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0) || ((isset($context["count"]) ? $context["count"] : null) == twig_length_filter($this->env, $this->getAttribute($context["octab"], "products", array()))))) {
// line 267
echo "\t\t\t\t</div>
\t\t\t\t";
}
// line 269
echo " ";
} elseif (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 1)) {
// line 270
echo " <!-- List -->
\t\t\t";
// line 271
if ((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0)) {
// line 272
echo "\t\t\t<div class=\"row_items \">
\t\t\t";
}
// line 274
echo "\t\t\t";
$context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1);
// line 275
echo "\t\t\t\t<div class=\"product-layout list-style \">
\t\t\t\t\t<div class=\"product-thumb transition\">
\t\t\t\t\t\t<div class=\"item\">
\t\t\t\t\t\t\t<div class=\"item-inner\">
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"caption\">
\t\t\t\t\t\t\t\t\t";
// line 281
if ($this->getAttribute($context["product"], "manufacturer", array())) {
// line 282
echo "\t\t\t\t\t\t\t\t\t<p class=\"manufacture-product\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 283
echo $this->getAttribute($context["product"], "manufacturers", array());
echo "\">";
echo $this->getAttribute($context["product"], "manufacturer", array());
echo "</a>
\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t\t";
}
// line 286
echo "\t\t\t\t\t\t\t\t\t<h4 class=\"product-name\"><a href=\"";
echo $this->getAttribute($context["product"], "href", array());
echo "\">";
echo $this->getAttribute($context["product"], "name", array());
echo "</a></h4>
\t\t\t\t\t\t\t\t\t<div class=\"ratings\">
\t\t\t\t\t\t\t\t\t\t<div class=\"rating-box\">
\t\t\t\t\t\t\t\t\t\t";
// line 289
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 290
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) {
// line 291
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["class_r"] = ("rating" . $context["i"]);
// line 292
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"";
echo (isset($context["class_r"]) ? $context["class_r"] : null);
echo "\">rating</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 294
echo "\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 295
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>\t
\t\t\t\t\t\t\t\t\t";
// line 297
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 298
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "price", array())) {
// line 299
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">
\t\t\t\t\t\t\t\t\t\t<label>";
// line 300
echo (isset($context["price_label"]) ? $context["price_label"] : null);
echo "</label>
\t\t\t\t\t\t\t\t\t\t";
// line 301
if ( !$this->getAttribute($context["product"], "special", array())) {
// line 302
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"regular-price\"><span class=\"price\">";
echo $this->getAttribute($context["product"], "price", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 304
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"special-price\"><span class=\"price\">";
echo $this->getAttribute($context["product"], "special", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t\t<p class=\"old-price\"><span class=\"price\">";
// line 305
echo $this->getAttribute($context["product"], "price", array());
echo "</span></p>\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
}
// line 307
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "tax", array())) {
// line 308
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"price-tax\"><span class=\"price\">";
echo (isset($context["text_tax"]) ? $context["text_tax"] : null);
echo " ";
echo $this->getAttribute($context["product"], "tax", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t";
}
// line 310
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 312
echo "\t\t\t\t\t\t\t\t\t";
}
// line 313
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 316
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "description", array())) {
// line 317
echo "\t\t\t\t\t\t\t\t\t<p class=\"product-des\">";
echo $this->getAttribute($context["product"], "description", array());
echo "</p>
\t\t\t\t\t\t\t\t\t";
}
// line 319
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array())) {
echo "<div class=\"text-hurryup\"><p>";
echo (isset($context["text_hurryup"]) ? $context["text_hurryup"] : null);
echo "</p></div><div id=\"Countdown";
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "\" class=\"box-timer\"></div> ";
}
// line 320
echo "\t\t\t\t\t\t\t\t\t";
if ((($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcart", array()) || $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array())) || $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array()))) {
echo "\t\t
\t\t\t\t\t\t\t\t\t\t<div class=\"action-links\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 322
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 323
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcart", array())) {
// line 324
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-cart\" type=\"button\" title=\"";
echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
echo "\" onclick=\"cart.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 326
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 327
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array())) {
// line 328
echo "\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-wishlist\" type=\"button\" title=\"";
echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
echo "\" onclick=\"wishlist.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 330
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array())) {
// line 331
echo "\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-compare\" type=\"button\" title=\"";
echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
echo "\" onclick=\"compare.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 333
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 335
echo "\t\t\t\t\t\t\t\t</div><!-- caption -->
\t\t\t\t\t\t\t\t<div class=\"image images-container\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 337
echo $this->getAttribute($context["product"], "href", array());
echo "\" class=\"product-image\">
\t\t\t\t\t\t\t\t\t\t";
// line 338
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "rotator", array()) && $this->getAttribute($context["product"], "rotator_image", array()))) {
echo "<img class=\"img-r\" src=\"";
echo $this->getAttribute($context["product"], "rotator_image", array());
echo "\" alt=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" />";
}
// line 339
echo "\t\t\t\t\t\t\t\t\t\t<img src=\"";
echo $this->getAttribute($context["product"], "thumb", array());
echo "\" alt=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" title=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" class=\"img-responsive\" />
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"box-label\">\t\t\t
\t\t\t\t\t\t\t\t\t\t";
// line 342
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "newlabel", array())) {
// line 343
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "is_new", array())) {
// line 344
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_new\"><span>";
echo (isset($context["text_label_new"]) ? $context["text_label_new"] : null);
echo "</span></div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 346
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 347
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "salelabel", array())) {
// line 348
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "special", array())) {
// line 349
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_sale\"><span>";
echo ((("-" . $this->getAttribute($context["product"], "rate_special", array())) . "% ") . (isset($context["text_label_sale"]) ? $context["text_label_sale"] : null));
echo "</span></div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 351
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 352
echo "\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 354
if ((isset($context["use_quickview"]) ? $context["use_quickview"] : null)) {
// line 355
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showquickview", array())) {
// line 356
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"quick-view\"><button class=\"button btn-quickview\" type=\"button\" title=\"";
echo (isset($context["button_quickview"]) ? $context["button_quickview"] : null);
echo "\" onclick=\"ocquickview.ajaxView('";
echo $this->getAttribute($context["product"], "href", array());
echo "')\"><span>";
echo (isset($context["button_quickview"]) ? $context["button_quickview"] : null);
echo "</span></button></div>
\t\t\t\t\t\t\t\t\t\t";
}
// line 358
echo "\t\t\t\t\t\t\t\t\t";
}
// line 359
echo "\t\t\t\t\t\t\t\t</div><!-- image -->
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div><!-- product-thumb -->
\t\t\t\t\t\t";
// line 363
if (($this->getAttribute($context["product"], "date_end", array()) && $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array()))) {
// line 364
echo "\t\t\t\t\t\t<script >
\t\t\t\t\t\t\$(document).ready(function () {
\t\t\t\t\t\t\$('#Countdown";
// line 366
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "').countdown({
\t\t\t\t\t\tuntil: new Date(";
// line 367
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "Y");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "m");
echo "-1, ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "d");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "H");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "i");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "s");
echo "),
\t\t\t\t\t\tlabels: ['";
// line 368
echo (isset($context["text_years"]) ? $context["text_years"] : null);
echo "', '";
echo (isset($context["text_months"]) ? $context["text_months"] : null);
echo " ', '";
echo (isset($context["text_weeks"]) ? $context["text_weeks"] : null);
echo "', '";
echo (isset($context["text_days"]) ? $context["text_days"] : null);
echo "', '";
echo (isset($context["text_hrs"]) ? $context["text_hrs"] : null);
echo "', '";
echo (isset($context["text_mins"]) ? $context["text_mins"] : null);
echo "', '";
echo (isset($context["text_secs"]) ? $context["text_secs"] : null);
echo "'],
\t\t\t\t\t\tlabels1: ['";
// line 369
echo (isset($context["text_year"]) ? $context["text_year"] : null);
echo "', '";
echo (isset($context["text_month"]) ? $context["text_month"] : null);
echo " ', '";
echo (isset($context["text_week"]) ? $context["text_week"] : null);
echo "', '";
echo (isset($context["text_day"]) ? $context["text_day"] : null);
echo "', '";
echo (isset($context["text_hr"]) ? $context["text_hr"] : null);
echo "', '";
echo (isset($context["text_min"]) ? $context["text_min"] : null);
echo "', '";
echo (isset($context["text_sec"]) ? $context["text_sec"] : null);
echo "'],
\t\t\t\t\t\t});
\t\t\t\t\t\t// \$('#Countdown";
// line 371
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "').countdown('pause');
\t\t\t\t\t\t});
\t\t\t\t\t\t</script>
\t\t\t\t\t\t";
}
// line 375
echo "\t\t\t\t</div><!-- product-layout -->
\t\t\t\t";
// line 376
if (((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0) || ((isset($context["count"]) ? $context["count"] : null) == twig_length_filter($this->env, $this->getAttribute($context["octab"], "products", array()))))) {
// line 377
echo "\t\t\t\t</div>
\t\t\t\t";
}
// line 379
echo " ";
} else {
// line 380
echo " <!-- other type -->
\t\t\t";
// line 381
if ((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0)) {
// line 382
echo "\t\t\t<div class=\"row_items \">
\t\t\t";
}
// line 384
echo "\t\t\t";
$context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1);
// line 385
echo "\t\t\t\t<div class=\"product-layout product-customize grid-style\">
\t\t\t\t\t<div class=\"product-thumb transition \">
\t\t\t\t\t\t<div class=\"item\">
\t\t\t\t\t\t\t<div class=\"item-inner\">
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"image images-container\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 391
echo $this->getAttribute($context["product"], "href", array());
echo "\" class=\"product-image\">
\t\t\t\t\t\t\t\t\t\t";
// line 392
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "rotator", array()) && $this->getAttribute($context["product"], "rotator_image", array()))) {
echo "<img class=\"img-r\" src=\"";
echo $this->getAttribute($context["product"], "rotator_image", array());
echo "\" alt=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" />";
}
// line 393
echo "\t\t\t\t\t\t\t\t\t\t<img src=\"";
echo $this->getAttribute($context["product"], "thumb", array());
echo "\" alt=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" title=\"";
echo $this->getAttribute($context["product"], "name", array());
echo "\" class=\"img-responsive ";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "rotator", array()) && $this->getAttribute($context["product"], "rotator_image", array()))) {
echo "has-rotator";
}
echo "\" />
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<div class=\"box-label\">\t
\t\t\t\t\t\t\t\t\t\t";
// line 396
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "newlabel", array())) {
// line 397
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "is_new", array())) {
// line 398
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_new\"><span>";
echo (isset($context["text_label_new"]) ? $context["text_label_new"] : null);
echo "</span></div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 400
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 401
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "salelabel", array())) {
// line 402
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "special", array())) {
// line 403
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_sale\"><span>";
echo ((("-" . $this->getAttribute($context["product"], "rate_special", array())) . "% ") . (isset($context["text_label_sale"]) ? $context["text_label_sale"] : null));
echo "</span></div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 405
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 406
echo "\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
// line 408
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array())) {
echo "<div class=\"text-hurryup\"><p>";
echo (isset($context["text_hurryup"]) ? $context["text_hurryup"] : null);
echo "</p></div><div id=\"Countdown";
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "\" class=\"box-timer\"></div> ";
}
// line 409
echo "\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array()) || $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array()))) {
echo "\t
\t\t\t\t\t\t\t\t\t\t<div class=\"action-links\">
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 412
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array())) {
// line 413
echo "\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-wishlist\" type=\"button\" title=\"";
echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
echo "\" onclick=\"wishlist.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 415
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array())) {
// line 416
echo "\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-compare\" type=\"button\" title=\"";
echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
echo "\" onclick=\"compare.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 418
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 420
echo "\t\t\t\t\t\t\t\t\t";
if ((isset($context["use_quickview"]) ? $context["use_quickview"] : null)) {
// line 421
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showquickview", array())) {
// line 422
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"quickview\"><button class=\"button btn-quickview\" type=\"button\" title=\"";
echo (isset($context["button_quickview"]) ? $context["button_quickview"] : null);
echo "\" onclick=\"ocquickview.ajaxView('";
echo $this->getAttribute($context["product"], "href", array());
echo "')\"><span>";
echo (isset($context["button_quickview"]) ? $context["button_quickview"] : null);
echo "</span></button></div>
\t\t\t\t\t\t\t\t\t\t";
}
// line 424
echo "\t\t\t\t\t\t\t\t\t";
}
// line 425
echo "\t\t\t\t\t\t\t\t</div><!-- image -->
\t\t\t\t\t\t\t\t<div class=\"caption\">
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 428
if ($this->getAttribute($context["product"], "manufacturer", array())) {
// line 429
echo "\t\t\t\t\t\t\t\t\t<p class=\"manufacture-product\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 430
echo $this->getAttribute($context["product"], "manufacturers", array());
echo "\">";
echo $this->getAttribute($context["product"], "manufacturer", array());
echo "</a>
\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t\t";
}
// line 433
echo "\t\t\t\t\t\t\t\t\t<h4 class=\"product-name\"><a href=\"";
echo $this->getAttribute($context["product"], "href", array());
echo "\">";
echo $this->getAttribute($context["product"], "name", array());
echo "</a></h4>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t<div class=\"ratings\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"rating-box\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 437
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 438
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) {
// line 439
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["class_r"] = ("rating" . $context["i"]);
// line 440
echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"";
echo (isset($context["class_r"]) ? $context["class_r"] : null);
echo "\">rating</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 442
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 443
echo "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 446
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 447
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "price", array())) {
// line 448
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">
\t\t\t\t\t\t\t\t\t\t<label>";
// line 449
echo (isset($context["price_label"]) ? $context["price_label"] : null);
echo "</label>
\t\t\t\t\t\t\t\t\t\t";
// line 450
if ( !$this->getAttribute($context["product"], "special", array())) {
// line 451
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"regular-price\"><span class=\"price\">";
echo $this->getAttribute($context["product"], "price", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 453
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"special-price\"><span class=\"price\">";
echo $this->getAttribute($context["product"], "special", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t\t<p class=\"old-price\"><span class=\"price\">";
// line 454
echo $this->getAttribute($context["product"], "price", array());
echo "</span></p>\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
}
// line 456
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "tax", array())) {
// line 457
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"price-tax\"><span class=\"price\">";
echo (isset($context["text_tax"]) ? $context["text_tax"] : null);
echo " ";
echo $this->getAttribute($context["product"], "tax", array());
echo "</span></p>
\t\t\t\t\t\t\t\t\t\t";
}
// line 459
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 461
echo "\t\t\t\t\t\t\t\t\t";
}
// line 462
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "description", array())) {
// line 463
echo "\t\t\t\t\t\t\t\t\t\t<p class=\"product-des\">";
echo $this->getAttribute($context["product"], "description", array());
echo "</p>
\t\t\t\t\t\t\t\t\t";
}
// line 465
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 466
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 467
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcart", array())) {
// line 468
echo "\t\t\t\t\t\t\t\t\t\t\t<button class=\"button btn-cart\" type=\"button\" title=\"";
echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
echo "\" onclick=\"cart.add('";
echo $this->getAttribute($context["product"], "product_id", array());
echo "');\"><span>";
echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
echo "</span></button>
\t\t\t\t\t\t\t\t\t\t";
}
// line 470
echo "\t\t\t\t\t\t\t\t\t";
}
// line 471
echo "\t\t\t\t\t\t\t\t</div><!-- caption -->
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t
\t\t\t\t\t</div><!-- product-thumb -->
\t\t\t\t\t\t";
// line 476
if (($this->getAttribute($context["product"], "date_end", array()) && $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array()))) {
// line 477
echo "\t\t\t\t\t\t<script >
\t\t\t\t\t\t\$(document).ready(function () {
\t\t\t\t\t\t\$('#Countdown";
// line 479
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "').countdown({
\t\t\t\t\t\tuntil: new Date(";
// line 480
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "Y");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "m");
echo "-1, ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "d");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "H");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "i");
echo ", ";
echo twig_date_format_filter($this->env, $this->getAttribute($context["product"], "date_end", array()), "s");
echo "),
\t\t\t\t\t\tlabels: ['";
// line 481
echo (isset($context["text_years"]) ? $context["text_years"] : null);
echo "', '";
echo (isset($context["text_months"]) ? $context["text_months"] : null);
echo " ', '";
echo (isset($context["text_weeks"]) ? $context["text_weeks"] : null);
echo "', '";
echo (isset($context["text_days"]) ? $context["text_days"] : null);
echo "', '";
echo (isset($context["text_hrs"]) ? $context["text_hrs"] : null);
echo "', '";
echo (isset($context["text_mins"]) ? $context["text_mins"] : null);
echo "', '";
echo (isset($context["text_secs"]) ? $context["text_secs"] : null);
echo "'],
\t\t\t\t\t\tlabels1: ['";
// line 482
echo (isset($context["text_year"]) ? $context["text_year"] : null);
echo "', '";
echo (isset($context["text_month"]) ? $context["text_month"] : null);
echo " ', '";
echo (isset($context["text_week"]) ? $context["text_week"] : null);
echo "', '";
echo (isset($context["text_day"]) ? $context["text_day"] : null);
echo "', '";
echo (isset($context["text_hr"]) ? $context["text_hr"] : null);
echo "', '";
echo (isset($context["text_min"]) ? $context["text_min"] : null);
echo "', '";
echo (isset($context["text_sec"]) ? $context["text_sec"] : null);
echo "'],
\t\t\t\t\t\t});
\t\t\t\t\t\t// \$('#Countdown";
// line 484
echo $this->getAttribute($context["product"], "product_id", array());
echo "-";
echo (isset($context["i"]) ? $context["i"] : null);
echo "').countdown('pause');
\t\t\t\t\t\t});
\t\t\t\t\t\t</script>
\t\t\t\t\t\t";
}
// line 488
echo "\t\t\t\t</div><!-- product-layout -->
\t\t\t";
// line 489
if (((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0) || ((isset($context["count"]) ? $context["count"] : null) == twig_length_filter($this->env, $this->getAttribute($context["octab"], "products", array()))))) {
// line 490
echo "\t\t\t\t</div>
\t\t\t";
}
// line 492
echo "\t\t\t";
}
// line 493
echo "\t\t\t\t
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 494
echo "\t\t \t\t
\t\t";
} else {
// line 496
echo "\t\t\t<p class=\"text_empty\">";
echo (isset($context["text_empty"]) ? $context["text_empty"] : null);
echo "</p>
\t\t";
}
// line 498
echo "\t\t";
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 499
echo " </div>
\t\t";
}
// line 501
echo "\t\t</div>
\t\t";
// line 502
$context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1);
echo "\t\t
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['octab'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 503
echo "\t\t
</div>
</div>
</div>
</div>
<div class=\"clearfix\"></div>
</div>
<script >
\$(document).ready(function() {
\$('a[href=\"#tab-";
// line 513
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo "0\"]').trigger( \"click\" );
\t ";
// line 514
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 515
echo " \$(\".tab-container-";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo "\").owlCarousel({
\t\titems: ";
// line 516
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "items", array());
echo ",
loop: ";
// line 517
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "loop", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
margin: ";
// line 518
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "margin", array(), "any", true, true)) {
echo " ";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "margin", array());
echo " ";
} else {
echo " 20 ";
}
echo ",
nav: ";
// line 519
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "navigation", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
dots: ";
// line 520
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "pagination", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
autoplay: ";
// line 521
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "auto", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
autoplayTimeout: ";
// line 522
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "time", array())) {
echo " ";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "time", array());
echo " ";
} else {
echo " 2000 ";
}
echo ",
autoplayHoverPause: true,
autoplaySpeed: ";
// line 524
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "speed", array())) {
echo " ";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "speed", array());
echo " ";
} else {
echo " 3000 ";
}
echo ",
navSpeed: ";
// line 525
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "speed", array())) {
echo " ";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "speed", array());
echo " ";
} else {
echo " 3000 ";
}
echo ",
dotsSpeed: ";
// line 526
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "speed", array())) {
echo " ";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "speed", array());
echo " ";
} else {
echo " 3000 ";
}
echo ",
\t\tlazyLoad: true,
responsive:{
\t\t\t0:{
\t\t\t\titems: 1,
\t\t\t\tnav: false
\t\t\t},
\t\t\t480:{
\t\t\t\titems: ";
// line 534
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "smobile", array());
echo ",
\t\t\t\tnav: false
\t\t\t},
\t\t\t768:{
\t\t\t\titems: ";
// line 538
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "mobile", array());
echo "
\t\t\t},
\t\t\t992:{
\t\t\t\titems: ";
// line 541
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "tablet", array());
echo "
\t\t\t},
\t\t\t1200:{
\t\t\t\titems: ";
// line 544
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "desktop", array());
echo "
\t\t\t},
\t\t\t1600:{
\t\t\t\titems: ";
// line 547
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "items", array());
echo "
\t\t\t}
\t\t},
\t\tonInitialized: function() {
\t\t\tvar count = \$(\".tab-container-";
// line 551
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item.active\").length;
\t\t\tif(count == 1) {
\t\t\t\t\$(\".tab-container-";
// line 553
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item\").removeClass('first');
\t\t\t\t\$(\".tab-container-";
// line 554
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item.active\").addClass('first');
\t\t\t} else {
\t\t\t\t\$(\".tab-container-";
// line 556
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item\").removeClass('first');
\t\t\t\t\$(\".tab-container-";
// line 557
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item.active:first\").addClass('first');
\t\t\t}
\t\t},
\t\tonTranslated: function() {
\t\t\tvar count = \$(\".tab-container-";
// line 561
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item.active\").length;
\t\t\tif(count == 1) {
\t\t\t\t\$(\".tab-container-";
// line 563
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item\").removeClass('first');
\t\t\t\t\$(\".tab-container-";
// line 564
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item.active\").addClass('first');
\t\t\t} else {
\t\t\t\t\$(\".tab-container-";
// line 566
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item\").removeClass('first');
\t\t\t\t\$(\".tab-container-";
// line 567
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .owl-item.active:first\").addClass('first');
\t\t\t}
\t\t}
});
\t";
}
// line 572
echo "\t";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 2)) {
// line 573
echo "\t
\t\$(\"#product_module";
// line 574
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tabs-categorys\").owlCarousel({\t
\t\tnav:false,
\t\tdots: false,
\t\tmargin: 10,
\t\tnavSpeed: 1000,
\t\tdotsSpeed: 1000,
\t\tautoplay: false,
\t\tloop : false,
\t\tresponsiveClass: true,
\t\tresponsive:{
\t\t\t0:{
\t\t\t\titems: 2
\t\t\t},
\t\t\t480:{
\t\t\t\titems: 3
\t\t\t},
\t\t\t768:{
\t\t\t\titems: 4
\t\t\t},
\t\t\t992:{
\t\t\t\titems: 5
\t\t\t},
\t\t\t1200:{
\t\t\t\titems: 6
\t\t\t},
\t\t\t1600:{
\t\t\t\titems: 6
\t\t\t}
\t\t}
\t\t
\t});
\t
\t\$('#product_module";
// line 606
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tabs-categorys .owl-item').first().find('li').addClass('active');
\t\$('#product_module";
// line 607
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " #tab-";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo "0').show();
\t
\t\$('#product_module";
// line 609
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .a-tabs').on('click',function(){
\t\tvar tab = \$(this).data('tab');
\t\t\$('#product_module";
// line 611
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tab-product-container').hide();
\t\t\$(tab).show();
\t\t
\t\t\$('#product_module";
// line 614
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .li-tabs').removeClass('active');
\t\t\$(this).closest('li').addClass('active');
\t});
\t
\t";
}
// line 619
echo "
\t
});
</script>
";
}
public function getTemplateName()
{
return "tt_madison1/template/extension/module/octabproducts.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1835 => 619, 1827 => 614, 1821 => 611, 1816 => 609, 1809 => 607, 1805 => 606, 1770 => 574, 1767 => 573, 1764 => 572, 1756 => 567, 1752 => 566, 1747 => 564, 1743 => 563, 1738 => 561, 1731 => 557, 1727 => 556, 1722 => 554, 1718 => 553, 1713 => 551, 1706 => 547, 1700 => 544, 1694 => 541, 1688 => 538, 1681 => 534, 1664 => 526, 1654 => 525, 1644 => 524, 1633 => 522, 1625 => 521, 1617 => 520, 1609 => 519, 1599 => 518, 1591 => 517, 1587 => 516, 1582 => 515, 1580 => 514, 1576 => 513, 1564 => 503, 1556 => 502, 1553 => 501, 1549 => 499, 1546 => 498, 1540 => 496, 1536 => 494, 1529 => 493, 1526 => 492, 1522 => 490, 1520 => 489, 1517 => 488, 1508 => 484, 1491 => 482, 1475 => 481, 1461 => 480, 1455 => 479, 1451 => 477, 1449 => 476, 1442 => 471, 1439 => 470, 1429 => 468, 1426 => 467, 1424 => 466, 1421 => 465, 1415 => 463, 1412 => 462, 1409 => 461, 1405 => 459, 1397 => 457, 1394 => 456, 1389 => 454, 1384 => 453, 1378 => 451, 1376 => 450, 1372 => 449, 1369 => 448, 1366 => 447, 1364 => 446, 1359 => 443, 1353 => 442, 1347 => 440, 1344 => 439, 1341 => 438, 1337 => 437, 1327 => 433, 1319 => 430, 1316 => 429, 1314 => 428, 1309 => 425, 1306 => 424, 1296 => 422, 1293 => 421, 1290 => 420, 1286 => 418, 1276 => 416, 1273 => 415, 1263 => 413, 1261 => 412, 1254 => 409, 1244 => 408, 1240 => 406, 1237 => 405, 1231 => 403, 1228 => 402, 1225 => 401, 1222 => 400, 1216 => 398, 1213 => 397, 1211 => 396, 1196 => 393, 1188 => 392, 1184 => 391, 1176 => 385, 1173 => 384, 1169 => 382, 1167 => 381, 1164 => 380, 1161 => 379, 1157 => 377, 1155 => 376, 1152 => 375, 1143 => 371, 1126 => 369, 1110 => 368, 1096 => 367, 1090 => 366, 1086 => 364, 1084 => 363, 1078 => 359, 1075 => 358, 1065 => 356, 1062 => 355, 1060 => 354, 1056 => 352, 1053 => 351, 1047 => 349, 1044 => 348, 1041 => 347, 1038 => 346, 1032 => 344, 1029 => 343, 1027 => 342, 1016 => 339, 1008 => 338, 1004 => 337, 1000 => 335, 996 => 333, 986 => 331, 983 => 330, 973 => 328, 970 => 327, 967 => 326, 957 => 324, 954 => 323, 952 => 322, 946 => 320, 935 => 319, 929 => 317, 927 => 316, 922 => 313, 919 => 312, 915 => 310, 907 => 308, 904 => 307, 899 => 305, 894 => 304, 888 => 302, 886 => 301, 882 => 300, 879 => 299, 876 => 298, 874 => 297, 870 => 295, 864 => 294, 858 => 292, 855 => 291, 852 => 290, 848 => 289, 839 => 286, 831 => 283, 828 => 282, 826 => 281, 818 => 275, 815 => 274, 811 => 272, 809 => 271, 806 => 270, 803 => 269, 799 => 267, 797 => 266, 794 => 265, 785 => 261, 768 => 259, 752 => 258, 738 => 257, 732 => 256, 728 => 254, 726 => 253, 719 => 248, 716 => 247, 706 => 245, 703 => 244, 700 => 243, 694 => 241, 691 => 240, 688 => 239, 684 => 237, 676 => 235, 673 => 234, 668 => 232, 663 => 231, 657 => 229, 655 => 228, 651 => 227, 648 => 226, 645 => 225, 643 => 224, 634 => 220, 630 => 218, 624 => 217, 618 => 215, 615 => 214, 612 => 213, 608 => 212, 604 => 210, 596 => 207, 593 => 206, 591 => 205, 585 => 201, 581 => 199, 571 => 197, 568 => 196, 565 => 195, 555 => 193, 552 => 192, 549 => 191, 539 => 189, 537 => 188, 530 => 185, 520 => 184, 516 => 182, 513 => 181, 507 => 179, 504 => 178, 501 => 177, 498 => 176, 492 => 174, 489 => 173, 487 => 172, 472 => 169, 464 => 168, 460 => 167, 451 => 160, 448 => 159, 444 => 157, 442 => 156, 438 => 155, 435 => 154, 430 => 153, 425 => 152, 422 => 151, 418 => 149, 412 => 147, 404 => 142, 400 => 141, 396 => 139, 393 => 138, 387 => 136, 379 => 131, 375 => 130, 371 => 128, 369 => 127, 365 => 125, 362 => 124, 360 => 123, 357 => 122, 354 => 121, 344 => 119, 342 => 118, 328 => 117, 325 => 116, 322 => 115, 318 => 114, 313 => 113, 310 => 112, 307 => 111, 304 => 110, 302 => 109, 298 => 108, 293 => 105, 290 => 104, 285 => 101, 279 => 99, 271 => 94, 267 => 93, 263 => 91, 260 => 90, 254 => 88, 246 => 83, 242 => 82, 238 => 80, 236 => 79, 232 => 77, 229 => 76, 227 => 75, 224 => 74, 221 => 73, 218 => 72, 215 => 71, 212 => 70, 209 => 69, 206 => 68, 203 => 67, 200 => 66, 198 => 65, 193 => 64, 190 => 63, 187 => 62, 184 => 61, 181 => 60, 178 => 59, 176 => 58, 171 => 55, 165 => 52, 159 => 51, 157 => 50, 151 => 47, 148 => 46, 140 => 44, 138 => 43, 130 => 41, 127 => 40, 122 => 39, 120 => 38, 116 => 36, 114 => 35, 109 => 32, 104 => 29, 98 => 28, 96 => 27, 90 => 24, 85 => 23, 82 => 22, 77 => 21, 75 => 20, 71 => 18, 68 => 17, 62 => 14, 59 => 13, 56 => 12, 50 => 10, 44 => 8, 42 => 7, 39 => 6, 33 => 4, 31 => 3, 19 => 1,);
}
}
/* <div class="tt_tabsproduct_module{% if config_module.row >=2 %}{{' multi-rows'}}{% endif %} {{ config_module.class }}" id="product_module{{ config_module.module_id }}">*/
/* <div class="module-title">*/
/* {% if config_module.subtitle_lang[code].subtitle %}*/
/* <p class="sub-title">{{ config_module.subtitle_lang[code].subtitle }}</p>*/
/* {% endif %}*/
/* */
/* {% if config_module.title_lang[code].title %}*/
/* <h2>{{ config_module.title_lang[code].title }}</h2>*/
/* {% else %}*/
/* <h2>{{ heading_title }}</h2>*/
/* {% endif %}*/
/* {% if config_module.showdescription %}*/
/* <div class="module-description">*/
/* {{ module_description }}*/
/* </div>*/
/* {% endif %}*/
/* {% if config_module.type != 2 %}*/
/* <div class="box-tab"> */
/* <ul class="tab-heading tabs-categorys">*/
/* {% set i= 0 %}*/
/* {% for octab in octabs %}*/
/* <li>*/
/* <a data-toggle="pill" href="#tab-{{ config_module.module_id }}{{ i }}">*/
/* <span>{{ octab.title }}</span>*/
/* </a>*/
/* </li>*/
/* {% set i= i +1 %}*/
/* {% endfor %}*/
/* </ul>*/
/* </div>*/
/* {% endif %}*/
/* <div class="clearfix"></div>*/
/* */
/* </div>*/
/* {% if config_module.type == 2 %}*/
/* <div class="box-tab">*/
/* <ul class="tab-heading tabs-categorys owl-carousel owl-theme">*/
/* {% set i= 0 %}*/
/* {% for octab in octabs %}*/
/* <li class="li-tabs">*/
/* <a href="javascript:void(0);" data-tab="#tab-{{ config_module.module_id }}{{ i }}" class="a-tabs" title="{{ octab.title }}">*/
/* */
/* {% if octab.thumbnail_image %}*/
/* <span class="wrapper-thumb"><img class="thumb-img" src="{{ octab.thumbnail_image }}" alt="{{ octab.title }}" /></span>*/
/* {% endif %}*/
/* */
/* <span class="tab-name">{{ octab.title }}</span>*/
/* </a>*/
/* </li>*/
/* {% set i= i +1 %}*/
/* {% endfor %}*/
/* */
/* </ul>*/
/* </div>*/
/* {% endif %} */
/* */
/* */
/* {% if config_module.slider %}*/
/* {% set class_slider = ' owl-carousel owl-theme '%}*/
/* {% else %}*/
/* {% set class_slider = ''%}*/
/* {% endif %}*/
/* {% if config_module.nrow == 0 %}*/
/* {% set class = 'two_items col-lg-6 col-md-6 col-sm-6 col-xs-12' %} */
/* {% elseif config_module.nrow == 1 %}*/
/* {% set class = 'three_items col-lg-4 col-md-4 col-sm-4 col-xs-12' %}*/
/* {% elseif config_module.nrow == 2 %}*/
/* {% set class = 'four_items col-lg-3 col-md-3 col-sm-3 col-xs-12' %}*/
/* {% elseif config_module.nrow == 3 %}*/
/* {% set class = 'six_items col-lg-2 col-md-2 col-sm-2 col-xs-12' %}*/
/* {% else %}*/
/* {% set class = 'auto auto auto auto auto auto auto' %}*/
/* {% endif %}*/
/* <div class="box-style">*/
/* {% if config_module.slider %}*/
/* {% if module_image or module_image2 %}*/
/* <div class="col-image">*/
/* */
/* {% if module_image_link %}*/
/* <div class="banner-static">*/
/* <div class="image">*/
/* <a href="{{ module_image_link }}">*/
/* <img src="{{ module_image }}" alt="image" />*/
/* </a>*/
/* </div>*/
/* </div>*/
/* {% else %}*/
/* <img src="{{ module_image }}" alt="image" />*/
/* {% endif %}*/
/* {% if module_image_link2 %}*/
/* <div class="banner-static">*/
/* <div class="image">*/
/* <a href="{{ module_image_link2 }}">*/
/* <img src="{{ module_image2 }}" alt="image" />*/
/* </a>*/
/* </div>*/
/* </div>*/
/* {% else %}*/
/* <img src="{{ module_image2 }}" alt="image" />*/
/* {% endif %}*/
/* */
/* </div>*/
/* {% endif %}*/
/* {% endif %}*/
/* <div class="owl-container">*/
/* <div class="tt-product ">*/
/* <div class="tab-content">*/
/* {% set i= 0 %} */
/* {% if config_module.row %}*/
/* {% set rows = config_module.row %}*/
/* {% else %}*/
/* {% set rows = 1 %}*/
/* {% endif %} */
/* {% for octab in octabs %}*/
/* {% set count, count_i = 0, 0 %}*/
/* {% set items_numb, items_gnumb = 3, 6 %}*/
/* <div class="tab-container-{{ config_module.module_id }} {{ class_slider }} tab-pane tab-product-container {% if config_module.type != 2 %} fade {% endif %}" id="tab-{{ config_module.module_id }}{{ i }}"> */
/* {% if not config_module.slider %}*/
/* <div class="module-not-slider" style="{% if not config_module.slider %}grid-template-columns:{{ class }};display: grid;grid-gap: 30px;padding: 0 15px;{% endif %}">*/
/* {% endif %}*/
/* {% if octab.products|length > 0 %}*/
/* */
/* {% if not config_module.slider %}*/
/* {% if module_image or module_image2 %}*/
/* <div class="col-image" style="grid-column: 1 / 3;">*/
/* */
/* {% if module_image_link %}*/
/* <div class="banner-static">*/
/* <div class="image">*/
/* <a href="{{ module_image_link }}">*/
/* <img src="{{ module_image }}" alt="image" />*/
/* </a>*/
/* </div>*/
/* </div>*/
/* {% else %}*/
/* <img src="{{ module_image }}" alt="image" />*/
/* {% endif %}*/
/* {% if module_image_link2 %}*/
/* <div class="banner-static">*/
/* <div class="image">*/
/* <a href="{{ module_image_link2 }}">*/
/* <img src="{{ module_image2 }}" alt="image" />*/
/* </a>*/
/* </div>*/
/* </div>*/
/* {% else %}*/
/* <img src="{{ module_image2 }}" alt="image" />*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% for product in octab.products %}*/
/* {% if not config_module.slider %}{% set rows = 1 %}{% endif %}*/
/* <!-- Grid -->*/
/* {% if config_module.type == 0 %} */
/* {% if count % rows == 0 %}*/
/* <div class="row_items ">*/
/* {% endif %}*/
/* {% set count = count + 1 %}*/
/* */
/* <div class="product-layout grid-style ">*/
/* <div class="product-thumb transition">*/
/* <div class="item">*/
/* <div class="item-inner">*/
/* */
/* <div class="image images-container">*/
/* <a href="{{ product.href }}" class="product-image">*/
/* {% if config_module.rotator and product.rotator_image %}<img class="img-r" src="{{ product.rotator_image }}" alt="{{ product.name }}" />{% endif %}*/
/* <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive {% if config_module.rotator and product.rotator_image %}{{ 'has-rotator' }}{% endif %}" />*/
/* </a>*/
/* <div class="box-label"> */
/* {% if config_module.newlabel %}*/
/* {% if product.is_new %}*/
/* <div class="label-product label_new"><span>{{ text_label_new }}</span></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.salelabel %}*/
/* {% if product.special %}*/
/* <div class="label-product label_sale"><span>{{ '-' ~ product.rate_special ~ '% ' ~ text_label_sale }}</span></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* </div>*/
/* {% if config_module.countdown %}<div class="text-hurryup"><p>{{ text_hurryup }}</p></div><div id="Countdown{{ product.product_id }}-{{ i }}" class="box-timer"></div> {% endif %}*/
/* {% if config_module.showquickview or config_module.showwishlist or config_module.showcompare %} */
/* <div class="action-links">*/
/* */
/* {% if config_module.showwishlist %}*/
/* <button class="button btn-wishlist" type="button" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><span>{{ button_wishlist }}</span></button>*/
/* {% endif %}*/
/* {% if use_quickview %}*/
/* {% if config_module.showquickview %}*/
/* <button class="button btn-quickview" type="button" title="{{ button_quickview }}" onclick="ocquickview.ajaxView('{{ product.href }}')"><span>{{ button_quickview }}</span></button>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.showcompare %}*/
/* <button class="button btn-compare" type="button" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><span>{{ button_compare }}</span></button>*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* */
/* </div><!-- image -->*/
/* <div class="caption">*/
/* */
/* {% if product.manufacturer %}*/
/* <p class="manufacture-product">*/
/* <a href="{{ product.manufacturers }}">{{ product.manufacturer }}</a>*/
/* </p>*/
/* {% endif %}*/
/* <div class="ratings">*/
/* <div class="rating-box">*/
/* {% for i in 0..5 %}*/
/* {% if product.rating == i %}*/
/* {% set class_r = "rating"~i %}*/
/* <div class="{{ class_r }}">rating</div>*/
/* {% endif %}*/
/* {% endfor %}*/
/* </div>*/
/* </div> */
/* <h4 class="product-name"><a href="{{ product.href }}">{{ product.name }}</a></h4>*/
/* */
/* */
/* */
/* {% if use_catalog %}*/
/* {% if product.price %}*/
/* <div class="price-box">*/
/* <label>{{ price_label }}</label>*/
/* {% if not product.special %}*/
/* <p class="regular-price"><span class="price">{{ product.price }}</span></p>*/
/* {% else %}*/
/* <p class="special-price"><span class="price">{{ product.special }}</span></p>*/
/* <p class="old-price"><span class="price">{{ product.price }}</span></p> */
/* {% endif %}*/
/* {% if product.tax %}*/
/* <p class="price-tax"><span class="price">{{ text_tax }} {{ product.tax }}</span></p>*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.description %}*/
/* <p class="product-des">{{ product.description }}</p>*/
/* {% endif %}*/
/* {% if use_catalog %}*/
/* {% if config_module.showcart %}*/
/* <button class="button btn-cart" type="button" title="{{ button_cart }}" onclick="cart.add('{{ product.product_id }}');"><span>{{ button_cart }}</span></button>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* </div><!-- caption -->*/
/* </div>*/
/* </div>*/
/* </div><!-- product-thumb -->*/
/* {% if product.date_end and config_module.countdown %}*/
/* <script >*/
/* $(document).ready(function () {*/
/* $('#Countdown{{ product.product_id }}-{{ i }}').countdown({*/
/* until: new Date({{ product.date_end|date("Y") }}, {{ product.date_end|date("m") }}-1, {{ product.date_end|date("d") }}, {{ product.date_end|date("H") }}, {{ product.date_end|date("i") }}, {{ product.date_end|date("s") }}),*/
/* labels: ['{{ text_years }}', '{{ text_months }} ', '{{ text_weeks }}', '{{ text_days }}', '{{ text_hrs }}', '{{ text_mins }}', '{{ text_secs }}'],*/
/* labels1: ['{{ text_year }}', '{{ text_month }} ', '{{ text_week }}', '{{ text_day }}', '{{ text_hr }}', '{{ text_min }}', '{{ text_sec }}'],*/
/* });*/
/* //$('#Countdown{{ product.product_id }}-{{ i }}').countdown('pause');*/
/* });*/
/* </script>*/
/* {% endif %}*/
/* </div><!-- product-layout -->*/
/* {% if (count % rows == 0) or (count == octab.products|length) %}*/
/* </div>*/
/* {% endif %}*/
/* {% elseif config_module.type == 1 %}*/
/* <!-- List -->*/
/* {% if count % rows == 0 %}*/
/* <div class="row_items ">*/
/* {% endif %}*/
/* {% set count = count + 1 %}*/
/* <div class="product-layout list-style ">*/
/* <div class="product-thumb transition">*/
/* <div class="item">*/
/* <div class="item-inner">*/
/* */
/* <div class="caption">*/
/* {% if product.manufacturer %}*/
/* <p class="manufacture-product">*/
/* <a href="{{ product.manufacturers }}">{{ product.manufacturer }}</a>*/
/* </p>*/
/* {% endif %}*/
/* <h4 class="product-name"><a href="{{ product.href }}">{{ product.name }}</a></h4> */
/* <div class="ratings">*/
/* <div class="rating-box">*/
/* {% for i in 0..5 %}*/
/* {% if product.rating == i %}*/
/* {% set class_r = "rating"~i %}*/
/* <div class="{{ class_r }}">rating</div>*/
/* {% endif %}*/
/* {% endfor %}*/
/* </div>*/
/* </div> */
/* {% if use_catalog %}*/
/* {% if product.price %}*/
/* <div class="price-box">*/
/* <label>{{ price_label }}</label>*/
/* {% if not product.special %}*/
/* <p class="regular-price"><span class="price">{{ product.price }}</span></p>*/
/* {% else %}*/
/* <p class="special-price"><span class="price">{{ product.special }}</span></p>*/
/* <p class="old-price"><span class="price">{{ product.price }}</span></p> */
/* {% endif %}*/
/* {% if product.tax %}*/
/* <p class="price-tax"><span class="price">{{ text_tax }} {{ product.tax }}</span></p>*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* */
/* */
/* {% if config_module.description %}*/
/* <p class="product-des">{{ product.description }}</p>*/
/* {% endif %}*/
/* {% if config_module.countdown %}<div class="text-hurryup"><p>{{ text_hurryup }}</p></div><div id="Countdown{{ product.product_id }}-{{ i }}" class="box-timer"></div> {% endif %}*/
/* {% if config_module.showcart or config_module.showwishlist or config_module.showcompare %} */
/* <div class="action-links">*/
/* {% if use_catalog %}*/
/* {% if config_module.showcart %}*/
/* <button class="button btn-cart" type="button" title="{{ button_cart }}" onclick="cart.add('{{ product.product_id }}');"><span>{{ button_cart }}</span></button>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.showwishlist %}*/
/* <button class="button btn-wishlist" type="button" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><span>{{ button_wishlist }}</span></button>*/
/* {% endif %}*/
/* {% if config_module.showcompare %}*/
/* <button class="button btn-compare" type="button" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><span>{{ button_compare }}</span></button>*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* </div><!-- caption -->*/
/* <div class="image images-container">*/
/* <a href="{{ product.href }}" class="product-image">*/
/* {% if config_module.rotator and product.rotator_image %}<img class="img-r" src="{{ product.rotator_image }}" alt="{{ product.name }}" />{% endif %}*/
/* <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" />*/
/* </a>*/
/* <div class="box-label"> */
/* {% if config_module.newlabel %}*/
/* {% if product.is_new %}*/
/* <div class="label-product label_new"><span>{{ text_label_new }}</span></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.salelabel %}*/
/* {% if product.special %}*/
/* <div class="label-product label_sale"><span>{{ '-' ~ product.rate_special ~ '% ' ~ text_label_sale }}</span></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* </div>*/
/* {% if use_quickview %}*/
/* {% if config_module.showquickview %}*/
/* <div class="quick-view"><button class="button btn-quickview" type="button" title="{{ button_quickview }}" onclick="ocquickview.ajaxView('{{ product.href }}')"><span>{{ button_quickview }}</span></button></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* </div><!-- image -->*/
/* </div>*/
/* </div>*/
/* </div><!-- product-thumb -->*/
/* {% if product.date_end and config_module.countdown %}*/
/* <script >*/
/* $(document).ready(function () {*/
/* $('#Countdown{{ product.product_id }}-{{ i }}').countdown({*/
/* until: new Date({{ product.date_end|date("Y") }}, {{ product.date_end|date("m") }}-1, {{ product.date_end|date("d") }}, {{ product.date_end|date("H") }}, {{ product.date_end|date("i") }}, {{ product.date_end|date("s") }}),*/
/* labels: ['{{ text_years }}', '{{ text_months }} ', '{{ text_weeks }}', '{{ text_days }}', '{{ text_hrs }}', '{{ text_mins }}', '{{ text_secs }}'],*/
/* labels1: ['{{ text_year }}', '{{ text_month }} ', '{{ text_week }}', '{{ text_day }}', '{{ text_hr }}', '{{ text_min }}', '{{ text_sec }}'],*/
/* });*/
/* // $('#Countdown{{ product.product_id }}-{{ i }}').countdown('pause');*/
/* });*/
/* </script>*/
/* {% endif %}*/
/* </div><!-- product-layout -->*/
/* {% if (count % rows == 0) or (count == octab.products|length) %}*/
/* </div>*/
/* {% endif %}*/
/* {% else %}*/
/* <!-- other type -->*/
/* {% if count % rows == 0 %}*/
/* <div class="row_items ">*/
/* {% endif %}*/
/* {% set count = count + 1 %}*/
/* <div class="product-layout product-customize grid-style">*/
/* <div class="product-thumb transition ">*/
/* <div class="item">*/
/* <div class="item-inner">*/
/* */
/* <div class="image images-container">*/
/* <a href="{{ product.href }}" class="product-image">*/
/* {% if config_module.rotator and product.rotator_image %}<img class="img-r" src="{{ product.rotator_image }}" alt="{{ product.name }}" />{% endif %}*/
/* <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive {% if config_module.rotator and product.rotator_image %}{{ 'has-rotator' }}{% endif %}" />*/
/* </a>*/
/* <div class="box-label"> */
/* {% if config_module.newlabel %}*/
/* {% if product.is_new %}*/
/* <div class="label-product label_new"><span>{{ text_label_new }}</span></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.salelabel %}*/
/* {% if product.special %}*/
/* <div class="label-product label_sale"><span>{{ '-' ~ product.rate_special ~ '% ' ~ text_label_sale }}</span></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* </div>*/
/* {% if config_module.countdown %}<div class="text-hurryup"><p>{{ text_hurryup }}</p></div><div id="Countdown{{ product.product_id }}-{{ i }}" class="box-timer"></div> {% endif %}*/
/* {% if config_module.showwishlist or config_module.showcompare %} */
/* <div class="action-links">*/
/* */
/* {% if config_module.showwishlist %}*/
/* <button class="button btn-wishlist" type="button" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><span>{{ button_wishlist }}</span></button>*/
/* {% endif %}*/
/* {% if config_module.showcompare %}*/
/* <button class="button btn-compare" type="button" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><span>{{ button_compare }}</span></button>*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* {% if use_quickview %}*/
/* {% if config_module.showquickview %}*/
/* <div class="quickview"><button class="button btn-quickview" type="button" title="{{ button_quickview }}" onclick="ocquickview.ajaxView('{{ product.href }}')"><span>{{ button_quickview }}</span></button></div>*/
/* {% endif %}*/
/* {% endif %}*/
/* </div><!-- image -->*/
/* <div class="caption">*/
/* */
/* {% if product.manufacturer %}*/
/* <p class="manufacture-product">*/
/* <a href="{{ product.manufacturers }}">{{ product.manufacturer }}</a>*/
/* </p>*/
/* {% endif %}*/
/* <h4 class="product-name"><a href="{{ product.href }}">{{ product.name }}</a></h4>*/
/* */
/* <div class="ratings">*/
/* <div class="rating-box">*/
/* {% for i in 0..5 %}*/
/* {% if product.rating == i %}*/
/* {% set class_r = "rating"~i %}*/
/* <div class="{{ class_r }}">rating</div>*/
/* {% endif %}*/
/* {% endfor %}*/
/* </div>*/
/* </div> */
/* */
/* {% if use_catalog %}*/
/* {% if product.price %}*/
/* <div class="price-box">*/
/* <label>{{ price_label }}</label>*/
/* {% if not product.special %}*/
/* <p class="regular-price"><span class="price">{{ product.price }}</span></p>*/
/* {% else %}*/
/* <p class="special-price"><span class="price">{{ product.special }}</span></p>*/
/* <p class="old-price"><span class="price">{{ product.price }}</span></p> */
/* {% endif %}*/
/* {% if product.tax %}*/
/* <p class="price-tax"><span class="price">{{ text_tax }} {{ product.tax }}</span></p>*/
/* {% endif %}*/
/* </div>*/
/* {% endif %}*/
/* {% endif %}*/
/* {% if config_module.description %}*/
/* <p class="product-des">{{ product.description }}</p>*/
/* {% endif %}*/
/* */
/* {% if use_catalog %}*/
/* {% if config_module.showcart %}*/
/* <button class="button btn-cart" type="button" title="{{ button_cart }}" onclick="cart.add('{{ product.product_id }}');"><span>{{ button_cart }}</span></button>*/
/* {% endif %}*/
/* {% endif %}*/
/* </div><!-- caption -->*/
/* </div>*/
/* </div>*/
/* */
/* </div><!-- product-thumb -->*/
/* {% if product.date_end and config_module.countdown %}*/
/* <script >*/
/* $(document).ready(function () {*/
/* $('#Countdown{{ product.product_id }}-{{ i }}').countdown({*/
/* until: new Date({{ product.date_end|date("Y") }}, {{ product.date_end|date("m") }}-1, {{ product.date_end|date("d") }}, {{ product.date_end|date("H") }}, {{ product.date_end|date("i") }}, {{ product.date_end|date("s") }}),*/
/* labels: ['{{ text_years }}', '{{ text_months }} ', '{{ text_weeks }}', '{{ text_days }}', '{{ text_hrs }}', '{{ text_mins }}', '{{ text_secs }}'],*/
/* labels1: ['{{ text_year }}', '{{ text_month }} ', '{{ text_week }}', '{{ text_day }}', '{{ text_hr }}', '{{ text_min }}', '{{ text_sec }}'],*/
/* });*/
/* // $('#Countdown{{ product.product_id }}-{{ i }}').countdown('pause');*/
/* });*/
/* </script>*/
/* {% endif %}*/
/* </div><!-- product-layout -->*/
/* {% if (count % rows == 0) or (count == octab.products|length) %}*/
/* </div>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* {% endfor %} */
/* {% else %}*/
/* <p class="text_empty">{{ text_empty }}</p>*/
/* {% endif %}*/
/* {% if not config_module.slider %}*/
/* </div>*/
/* {% endif %}*/
/* </div>*/
/* {% set i= i+1 %} */
/* {% endfor %} */
/* </div>*/
/* </div>*/
/* </div>*/
/* </div>*/
/* <div class="clearfix"></div>*/
/* </div>*/
/* */
/* <script >*/
/* $(document).ready(function() {*/
/* $('a[href="#tab-{{ config_module.module_id }}0"]').trigger( "click" );*/
/* {% if config_module.slider %}*/
/* $(".tab-container-{{ config_module.module_id }}").owlCarousel({*/
/* items: {{ config_module.items }},*/
/* loop: {% if config_module.loop %} true {% else %} false {% endif %},*/
/* margin: {% if config_module.margin is defined %} {{ config_module.margin }} {% else %} 20 {% endif %},*/
/* nav: {% if config_module.navigation %} true {% else %} false {% endif %},*/
/* dots: {% if config_module.pagination %} true {% else %} false {% endif %},*/
/* autoplay: {% if config_module.auto %} true {% else %} false {% endif %},*/
/* autoplayTimeout: {% if config_module.time %} {{ config_module.time }} {% else %} 2000 {% endif %},*/
/* autoplayHoverPause: true,*/
/* autoplaySpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 3000 {% endif %},*/
/* navSpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 3000 {% endif %},*/
/* dotsSpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 3000 {% endif %},*/
/* lazyLoad: true,*/
/* responsive:{*/
/* 0:{*/
/* items: 1,*/
/* nav: false*/
/* },*/
/* 480:{*/
/* items: {{ config_module.smobile }},*/
/* nav: false*/
/* },*/
/* 768:{*/
/* items: {{ config_module.mobile }}*/
/* },*/
/* 992:{*/
/* items: {{ config_module.tablet }}*/
/* },*/
/* 1200:{*/
/* items: {{ config_module.desktop }}*/
/* },*/
/* 1600:{*/
/* items: {{ config_module.items }}*/
/* }*/
/* },*/
/* onInitialized: function() {*/
/* var count = $(".tab-container-{{ config_module.module_id }} .owl-item.active").length;*/
/* if(count == 1) {*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item").removeClass('first');*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item.active").addClass('first');*/
/* } else {*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item").removeClass('first');*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item.active:first").addClass('first');*/
/* }*/
/* },*/
/* onTranslated: function() {*/
/* var count = $(".tab-container-{{ config_module.module_id }} .owl-item.active").length;*/
/* if(count == 1) {*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item").removeClass('first');*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item.active").addClass('first');*/
/* } else {*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item").removeClass('first');*/
/* $(".tab-container-{{ config_module.module_id }} .owl-item.active:first").addClass('first');*/
/* }*/
/* }*/
/* });*/
/* {% endif %}*/
/* {% if config_module.type == 2 %}*/
/* */
/* $("#product_module{{ config_module.module_id }} .tabs-categorys").owlCarousel({ */
/* nav:false,*/
/* dots: false,*/
/* margin: 10,*/
/* navSpeed: 1000,*/
/* dotsSpeed: 1000,*/
/* autoplay: false,*/
/* loop : false,*/
/* responsiveClass: true,*/
/* responsive:{*/
/* 0:{*/
/* items: 2*/
/* },*/
/* 480:{*/
/* items: 3*/
/* },*/
/* 768:{*/
/* items: 4*/
/* },*/
/* 992:{*/
/* items: 5*/
/* },*/
/* 1200:{*/
/* items: 6*/
/* },*/
/* 1600:{*/
/* items: 6*/
/* }*/
/* }*/
/* */
/* });*/
/* */
/* $('#product_module{{ config_module.module_id }} .tabs-categorys .owl-item').first().find('li').addClass('active');*/
/* $('#product_module{{ config_module.module_id }} #tab-{{ config_module.module_id }}0').show();*/
/* */
/* $('#product_module{{ config_module.module_id }} .a-tabs').on('click',function(){*/
/* var tab = $(this).data('tab');*/
/* $('#product_module{{ config_module.module_id }} .tab-product-container').hide();*/
/* $(tab).show();*/
/* */
/* $('#product_module{{ config_module.module_id }} .li-tabs').removeClass('active');*/
/* $(this).closest('li').addClass('active');*/
/* });*/
/* */
/* {% endif %}*/
/* */
/* */
/* });*/
/* </script>*/
/* */
/* */