File "16999118d302928a7ad8aea5e8613984b2c159c84a24ca237c9f0aee4da7c946.php"
Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/cache/16/16999118d302928a7ad8aea5e8613984b2c159c84a24ca237c9f0aee4da7c946.php
File
size: 111.07 B (111.07 KB bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
/* tt_madison1/template/extension/module/ocproduct.twig */
class __TwigTemplate_5f6b7e1becb436c263364e90a18af0f4afd0a2d96b8b559900b077d46ccfd18e 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_product_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 "\">
<div class=\"module-title\">
\t\t";
// line 3
if ($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "sub_title_lang", array()), (isset($context["code"]) ? $context["code"] : null), array(), "array"), "sub_title", 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), "sub_title_lang", array()), (isset($context["code"]) ? $context["code"] : null), array(), "array"), "sub_title", array());
echo "</p>
\t\t";
}
// line 5
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<div class=\"module-description\">
\t\t ";
// line 14
echo (isset($context["module_description"]) ? $context["module_description"] : null);
echo "
\t\t
\t\t</div>
\t ";
}
// line 18
echo "\t
\t</div>
\t
\t
\t";
// line 22
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 23
echo "\t\t";
$context["class_slider"] = " owl-carousel owl-theme ";
// line 24
echo "\t";
} else {
// line 25
echo "\t\t";
$context["class_slider"] = "";
// line 26
echo "\t";
}
// line 27
echo "\t";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 0)) {
// line 28
echo "\t\t";
$context["class"] = "two_items col-lg-6 col-md-6 col-sm-6 col-xs-12";
// line 29
echo "\t";
} elseif (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 1)) {
// line 30
echo "\t\t";
$context["class"] = "three_items col-lg-4 col-md-4 col-sm-4 col-xs-12";
// line 31
echo "\t";
} elseif (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "nrow", array()) == 2)) {
// line 32
echo "\t\t";
$context["class"] = "four_items col-lg-3 col-md-3 col-sm-3 col-xs-12";
// line 33
echo "\t";
} else {
echo "\t\t
\t\t";
// line 34
$context["class"] = "six_items col-lg-2 col-md-2 col-sm-2 col-xs-12";
// line 35
echo "\t";
}
// line 36
echo "\t";
if ((twig_length_filter($this->env, (isset($context["products"]) ? $context["products"] : null)) > 0)) {
// line 37
echo "\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "row", array())) {
// line 38
echo "\t\t\t";
$context["rows"] = $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "row", array());
// line 39
echo "\t\t";
} else {
// line 40
echo "\t\t\t";
$context["rows"] = 1;
// line 41
echo "\t\t";
}
// line 42
echo "\t\t";
$context["count"] = 0;
// line 43
echo "\t\t";
$context["i"] = 0;
// line 44
echo " <div class=\"owl-container\">
\t<div class=\"tt-product ";
// line 45
echo (isset($context["class_slider"]) ? $context["class_slider"] : null);
echo "\">\t
";
// line 46
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["products"]) ? $context["products"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 47
echo "\t\t\t";
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
$context["rows"] = 1;
}
// line 48
echo " <!-- Grid -->
\t\t\t";
// line 49
if ((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0)) {
// line 50
echo "\t\t\t";
$context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1);
// line 51
echo "\t\t\t<div class=\"row_items ";
if ( !$this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
echo (isset($context["class"]) ? $context["class"] : null);
}
echo " ";
if ((((isset($context["i"]) ? $context["i"] : null) % 2) == 0)) {
echo "even";
} else {
echo "odd";
}
echo "\">
\t\t\t";
}
// line 53
echo "\t\t\t";
$context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1);
// line 54
echo " ";
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 0)) {
// line 55
echo "\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<div class=\"caption\">
\t\t\t\t\t\t\t\t\t<div class=\"inner\">
\t\t\t\t\t\t\t\t\t";
// line 61
if ($this->getAttribute($context["product"], "manufacturer", array())) {
// line 62
echo "\t\t\t\t\t\t\t\t\t<p class=\"manufacture-product\">
\t\t\t\t\t\t\t\t\t\t<span>";
// line 63
echo ((isset($context["text_manufacturer"]) ? $context["text_manufacturer"] : null) . " ");
echo "</span><a href=\"";
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 66
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 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 69
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) {
// line 70
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["class_r"] = ("rating" . $context["i"]);
// line 71
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 73
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 74
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\t\t\t\t<h4 class=\"product-name\"><a href=\"";
// line 76
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";
// line 77
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "description", array())) {
// line 78
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"product-des\">";
echo $this->getAttribute($context["product"], "description", array());
echo "</div>
\t\t\t\t\t\t\t\t\t";
}
// line 80
echo "\t\t\t\t\t\t\t\t\t";
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 81
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "price", array())) {
// line 82
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 83
echo (isset($context["price_label"]) ? $context["price_label"] : null);
echo "</label>
\t\t\t\t\t\t\t\t\t\t";
// line 84
if ( !$this->getAttribute($context["product"], "special", array())) {
// line 85
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 87
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 88
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 90
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "tax", array())) {
// line 91
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 93
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 95
echo "\t\t\t\t\t\t\t\t\t";
}
// line 96
echo "\t\t\t\t\t\t\t\t\t<p class=\"available\">";
echo (isset($context["text_stock"]) ? $context["text_stock"] : null);
echo "<span class=\"ex-text\">";
echo $this->getAttribute($context["product"], "stock", array());
echo "</span></p>
\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 99
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 100
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<div class=\"action-links\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 102
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 103
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 104
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 106
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
echo "\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 107
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array())) {
// line 108
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 110
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 111
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showcompare", array())) {
// line 112
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 113
echo "\t
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 116
echo "\t\t\t\t\t\t\t\t\t</div>
\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 119
echo $this->getAttribute($context["product"], "href", array());
echo "\" class=\"product-image\">
\t\t\t\t\t\t\t\t\t\t";
// line 120
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 121
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\t\t\t\t<div class=\"box-label\">\t
\t\t\t\t\t\t\t\t\t\t";
// line 124
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "newlabel", array())) {
// line 125
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "is_new", array())) {
// line 126
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 128
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 129
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 130
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "special", array())) {
// line 131
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 132
echo "
\t\t\t\t\t\t\t\t\t\t";
}
// line 134
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 136
if ((isset($context["use_quickview"]) ? $context["use_quickview"] : null)) {
// line 137
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 138
echo "\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";
}
// line 140
echo "\t\t\t\t\t\t\t\t\t";
}
// line 141
echo "\t\t\t\t\t\t\t\t</div><!-- image -->
\t\t\t\t\t\t\t\t
\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 146
if (($this->getAttribute($context["product"], "date_end", array()) && $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array()))) {
// line 147
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 149
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 150
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 151
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 152
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 154
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 158
echo "\t\t\t\t</div><!-- product-layout -->
";
} elseif (($this->getAttribute( // line 159
(isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 1)) {
// line 160
echo " <!-- List -->
<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<div class=\"image images-container\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 166
echo $this->getAttribute($context["product"], "href", array());
echo "\" class=\"product-image\">
\t\t\t\t\t\t\t\t\t\t";
// line 167
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 168
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\t\t\t\t<div class=\"box-label\">
\t\t\t\t\t\t\t\t\t\t";
// line 171
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "newlabel", array())) {
// line 172
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "is_new", array())) {
// line 173
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 175
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 176
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 177
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "special", array())) {
// line 178
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 180
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 181
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
\t\t\t\t\t\t\t\t\t";
// line 184
if ((($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showwishlist", array()) || $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "showquickview", 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\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\t\t";
// line 188
if ((isset($context["use_quickview"]) ? $context["use_quickview"] : null)) {
// line 189
echo "\t\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 190
echo "\t\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\t";
}
// line 192
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 193
echo "\t\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 194
echo "\t\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\t";
}
// line 196
echo "\t\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\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\t";
}
// line 199
echo "\t\t\t\t\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\t
\t\t\t\t\t\t\t\t\t";
}
// line 203
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";
// 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
\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 213
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 214
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) {
// line 215
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["class_r"] = ("rating" . $context["i"]);
// line 216
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 218
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 219
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\t\t\t\t
\t\t\t\t\t\t\t\t\t<h4 class=\"product-name\"><a href=\"";
// line 222
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";
// line 223
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "description", array())) {
// line 224
echo "\t\t\t\t\t\t\t\t\t<div class=\"product-des\">";
echo $this->getAttribute($context["product"], "description", array());
echo "</div>
\t\t\t\t\t\t\t\t\t";
}
// line 226
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 227
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 228
echo "\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "price", array())) {
// line 229
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 230
echo (isset($context["price_label"]) ? $context["price_label"] : null);
echo "</label>
\t\t\t\t\t\t\t\t\t\t";
// line 231
if ( !$this->getAttribute($context["product"], "special", array())) {
// line 232
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 234
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 235
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 237
echo "\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "tax", array())) {
// line 238
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 240
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t";
}
// line 242
echo "\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\t
\t\t\t\t\t\t\t\t\t";
// line 250
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 251
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 256
if (($this->getAttribute($context["product"], "date_end", array()) && $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array()))) {
// line 257
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 259
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 260
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 261
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 262
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 264
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 268
echo "\t\t\t\t</div><!-- product-layout -->
";
} else {
// line 270
echo " <!-- other type -->
<div class=\"product-layout product-customize \">
\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\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\t\t<a href=\"";
// line 278
echo $this->getAttribute($context["product"], "href", array());
echo "\" class=\"product-image\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 279
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 280
echo "\t\t\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\t\t</a>
\t\t\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 283
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "newlabel", array())) {
// line 284
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "is_new", array())) {
// line 285
echo "\t\t\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\t\t";
}
// line 287
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 288
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "salelabel", array())) {
// line 289
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "special", array())) {
// line 290
echo "\t\t\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\t\t";
}
// line 291
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 293
echo "\t\t\t\t\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\t\t";
// line 295
if ((isset($context["use_quickview"]) ? $context["use_quickview"] : null)) {
// line 296
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 297
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 299
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 300
echo "\t\t\t\t\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\t
\t\t\t\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\t\t";
// line 305
if ($this->getAttribute($context["product"], "manufacturer", array())) {
// line 306
echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"manufacture-product\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 307
echo (isset($context["text_manufacture"]) ? $context["text_manufacture"] : null);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 308
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\t\t</p>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 311
echo "\t\t\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\t\t\t";
// line 313
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "description", array())) {
// line 314
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"product-des\">";
echo $this->getAttribute($context["product"], "description", array());
echo "</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 316
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 317
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "price", array())) {
// line 318
echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">
\t\t\t\t\t\t\t\t\t\t\t\t<label>";
// line 319
echo (isset($context["price_label"]) ? $context["price_label"] : null);
echo "</label>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 320
if ( !$this->getAttribute($context["product"], "special", array())) {
// line 321
echo "\t\t\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\t\t";
} else {
// line 323
echo "\t\t\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\t\t<p class=\"old-price\"><span class=\"price\">";
// line 324
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\t\t";
}
// line 326
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ($this->getAttribute($context["product"], "tax", array())) {
// line 327
echo "\t\t\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\t\t";
}
// line 329
echo "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 331
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 332
echo "\t\t\t\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\t<div class=\"rating-box\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 335
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 336
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) {
// line 337
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["class_r"] = ("rating" . $context["i"]);
// line 338
echo "\t\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\t";
}
// line 340
echo "\t\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 341
echo "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\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\t\t\t\t";
// line 344
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\t<div class=\"action-links\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 346
if ((isset($context["use_catalog"]) ? $context["use_catalog"] : null)) {
// line 347
echo "\t\t\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 348
echo "\t\t\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\t\t";
}
// line 350
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 351
echo "\t\t\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 352
echo "\t\t\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\t\t";
}
// line 354
echo "\t\t\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 355
echo "\t\t\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\t\t";
}
// line 357
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\t\t\t\t\t\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\t\t";
}
// line 363
echo "\t\t\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 364
echo "\t\t\t\t\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\t\t
\t\t\t\t\t\t\t\t
\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 371
if (($this->getAttribute($context["product"], "date_end", array()) && $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "countdown", array()))) {
// line 372
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 374
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 375
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 376
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 377
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 379
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 383
echo "\t\t\t\t</div><!-- product-layout -->
";
}
// line 385
echo "\t\t\t\t";
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, (isset($context["products"]) ? $context["products"] : null))))) {
// line 386
echo "\t\t\t\t</div>
\t\t\t\t";
}
// line 388
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "\t
</div>
\t</div>
\t";
// line 391
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 2)) {
// line 392
echo "\t\t";
list($context["count"], $context["rows"]) = array(0, 2);
// line 393
echo "\t\t<div class=\"list-thumb\">\t
\t\t\t<div class=\"owl-container\">\t
\t\t\t\t<div class=\"thumb owl-carousel owl-theme\">
\t\t\t\t\t";
// line 396
$context["i"] = 0;
// line 397
echo "\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["products"]) ? $context["products"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 398
echo "\t\t\t\t\t\t";
if ((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0)) {
// line 399
echo "\t\t\t\t\t\t<div class=\"row_thumb\">
\t\t\t\t\t\t";
}
// line 401
echo "\t\t\t\t\t\t";
$context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1);
// line 402
echo "\t\t\t\t\t\t\t<div class=\"thumbinner";
echo (isset($context["i"]) ? $context["i"] : null);
echo " ";
echo ((((isset($context["i"]) ? $context["i"] : null) == 0)) ? (" active") : (""));
echo "\" onclick=\"timerslider(";
echo (isset($context["i"]) ? $context["i"] : null);
echo ")\">
\t\t\t\t\t\t\t\t<img src=\"";
// line 403
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 "\" />
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 405
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, (isset($context["products"]) ? $context["products"] : null))))) {
// line 406
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 408
echo "\t\t\t\t\t\t";
$context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1);
// line 409
echo "\t\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 410
echo "\t\t\t\t</div><!-- list-thumb -->
\t\t\t</div>
\t\t</div>
\t";
}
// line 414
echo "\t";
} else {
// line 415
echo "\t\t<p class=\"text_empty\">";
echo (isset($context["text_empty"]) ? $context["text_empty"] : null);
echo "</p>
\t";
}
// line 417
echo "\t<div class=\"clearfix\"></div>
</div>
";
// line 419
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "slider", array())) {
// line 420
echo " <script >
\t\t\tvar product_owlCarousel = \$(\"#product_module";
// line 421
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product\");
product_owlCarousel.owlCarousel({
loop: ";
// line 423
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "loop", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
margin: ";
// line 424
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 425
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "navigation", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
dots: ";
// line 426
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "pagination", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
autoplay: ";
// line 427
if ($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "auto", array())) {
echo " true ";
} else {
echo " false ";
}
echo ",
autoplayTimeout: ";
// line 428
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 " 1000 ";
}
echo ",
autoplayHoverPause: true,
autoplaySpeed: ";
// line 430
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 " 1000 ";
}
echo ",
navSpeed: ";
// line 431
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 " 1000 ";
}
echo ",
dotsSpeed: ";
// line 432
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 " 1000 ";
}
echo ",
\t\t\t\tlazyLoad: true,
responsive:{
\t\t\t\t\t0:{
\t\t\t\t\t\titems: 1,
\t\t\t\t\t\tnav: false
\t\t\t\t\t},
\t\t\t\t\t480:{
\t\t\t\t\t\titems: ";
// line 440
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "smobile", array());
echo ",
\t\t\t\t\t\tnav: false
\t\t\t\t\t},
\t\t\t\t\t768:{
\t\t\t\t\t\titems: ";
// line 444
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "mobile", array());
echo "
\t\t\t\t\t},
\t\t\t\t\t992:{
\t\t\t\t\t\titems: ";
// line 447
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "tablet", array());
echo "
\t\t\t\t\t},
\t\t\t\t\t1200:{
\t\t\t\t\t\titems: ";
// line 450
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "desktop", array());
echo "
\t\t\t\t\t},
\t\t\t\t\t1600:{
\t\t\t\t\t\titems: ";
// line 453
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "items", array());
echo "
\t\t\t\t\t}
},
\t\t\t\tonInitialized: function() {
\t\t\t\t\towlAction();
\t\t\t\t\tvar i = 0;
\t\t\t\t\t\$('.owl-dots > .owl-dot').each(function() {
\t\t\t\t\t\t\$(this).addClass('clk-' + i);
\t\t\t\t\t\ti++;
\t\t\t\t\t});
\t\t\t\t},
\t\t\t\tonTranslated: function() {
\t\t\t\t\towlAction();
\t\t\t\t\t
\t\t\t\t}
});
\t\t\tfunction owlAction() {
\t\t\t\t\$(\"#product_module";
// line 470
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product .owl-item\").removeClass('first');
\t\t\t\t\$(\"#product_module";
// line 471
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product .owl-item\").removeClass('last');
\t\t\t\t\$(\"#product_module";
// line 472
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product .owl-item\").removeClass('before-active');
\t\t\t\t\$(\"#product_module";
// line 473
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product .owl-item.active:first\").addClass('first');
\t\t\t\t\$(\"#product_module";
// line 474
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product .owl-item.active:last\").addClass('last');
\t\t\t\t\$('#product_module";
// line 475
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .tt-product .owl-item.active:first').prev().addClass('before-active');
\t\t\t}
\t\t\t
\t\t\t
\t\t\t
\t\t\t";
// line 480
if (($this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "type", array()) == 2)) {
// line 481
echo "\t\t\t\t\$('#product_module";
echo $this->getAttribute((isset($context["config_module"]) ? $context["config_module"] : null), "module_id", array());
echo " .list-thumb .thumb').owlCarousel({
\t\t\t\t\tloop: false,
\t\t\t\t\tmargin: 0,
\t\t\t\t\tnav: false,
\t\t\t\t\tdots: false,
\t\t\t\t\tautoplay: false,
\t\t\t\t\tautoplayTimeout: ";
// line 487
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 " 1000 ";
}
echo ",
\t\t\t\t\tautoplayHoverPause: true,
\t\t\t\t\tautoplaySpeed: ";
// line 489
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 " 1000 ";
}
echo ",
\t\t\t\t\tnavSpeed: ";
// line 490
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 " 1000 ";
}
echo ",
\t\t\t\t\tdotsSpeed: ";
// line 491
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 " 1000 ";
}
echo ",
\t\t\t\t\tlazyLoad: true,
\t\t\t\t\tresponsive:{
\t\t\t\t\t\t0:{
\t\t\t\t\t\t\titems: 5,
\t\t\t\t\t\t\t
\t\t\t\t\t\t},
\t\t\t\t\t\t480:{
\t\t\t\t\t\t\titems: 5,
\t\t\t\t\t\t\t
\t\t\t\t\t\t},
\t\t\t\t\t\t768:{
\t\t\t\t\t\t\titems: 5
\t\t\t\t\t\t},
\t\t\t\t\t\t992:{
\t\t\t\t\t\t\titems: 5
\t\t\t\t\t\t},
\t\t\t\t\t\t1200:{
\t\t\t\t\t\t\titems: 5
\t\t\t\t\t\t},
\t\t\t\t\t\t1600:{
\t\t\t\t\t\t\titems: 5
\t\t\t\t\t\t}
\t\t\t\t\t},
\t\t\t\t\tonInitialized: function() {
\t\t\t\t\t\t
\t\t\t\t\t},
\t\t\t\t\tonTranslated: function() {
\t\t\t\t\t\t
\t\t\t\t\t}
\t\t\t\t});
\t\t\t
\t\t\t";
}
// line 524
echo "\t\t\tfunction timerslider(x){
\t\t\t\t\$(\".list-thumb .thumb .row_thumb div\").removeClass('active');
\t\t\t\t\$('.thumbinner' + x).addClass('active');
\t\t\t\t\$('.clk-' + x).trigger('click');
\t\t\t}
</script>
";
}
}
public function getTemplateName()
{
return "tt_madison1/template/extension/module/ocproduct.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1600 => 524, 1558 => 491, 1548 => 490, 1538 => 489, 1527 => 487, 1517 => 481, 1515 => 480, 1507 => 475, 1503 => 474, 1499 => 473, 1495 => 472, 1491 => 471, 1487 => 470, 1467 => 453, 1461 => 450, 1455 => 447, 1449 => 444, 1442 => 440, 1425 => 432, 1415 => 431, 1405 => 430, 1394 => 428, 1386 => 427, 1378 => 426, 1370 => 425, 1360 => 424, 1352 => 423, 1347 => 421, 1344 => 420, 1342 => 419, 1338 => 417, 1332 => 415, 1329 => 414, 1323 => 410, 1317 => 409, 1314 => 408, 1310 => 406, 1308 => 405, 1299 => 403, 1290 => 402, 1287 => 401, 1283 => 399, 1280 => 398, 1275 => 397, 1273 => 396, 1268 => 393, 1265 => 392, 1263 => 391, 1253 => 388, 1249 => 386, 1246 => 385, 1242 => 383, 1233 => 379, 1216 => 377, 1200 => 376, 1186 => 375, 1180 => 374, 1176 => 372, 1174 => 371, 1165 => 364, 1154 => 363, 1146 => 357, 1136 => 355, 1133 => 354, 1123 => 352, 1120 => 351, 1117 => 350, 1107 => 348, 1104 => 347, 1102 => 346, 1097 => 344, 1092 => 341, 1086 => 340, 1080 => 338, 1077 => 337, 1074 => 336, 1070 => 335, 1065 => 332, 1062 => 331, 1058 => 329, 1050 => 327, 1047 => 326, 1042 => 324, 1037 => 323, 1031 => 321, 1029 => 320, 1025 => 319, 1022 => 318, 1019 => 317, 1016 => 316, 1010 => 314, 1008 => 313, 1000 => 311, 992 => 308, 988 => 307, 985 => 306, 983 => 305, 976 => 300, 973 => 299, 963 => 297, 960 => 296, 958 => 295, 954 => 293, 950 => 291, 944 => 290, 941 => 289, 938 => 288, 935 => 287, 929 => 285, 926 => 284, 924 => 283, 913 => 280, 905 => 279, 901 => 278, 891 => 270, 887 => 268, 878 => 264, 861 => 262, 845 => 261, 831 => 260, 825 => 259, 821 => 257, 819 => 256, 812 => 251, 802 => 250, 798 => 248, 795 => 247, 785 => 245, 782 => 244, 779 => 243, 776 => 242, 772 => 240, 764 => 238, 761 => 237, 756 => 235, 751 => 234, 745 => 232, 743 => 231, 739 => 230, 736 => 229, 733 => 228, 731 => 227, 728 => 226, 722 => 224, 720 => 223, 714 => 222, 709 => 219, 703 => 218, 697 => 216, 694 => 215, 691 => 214, 687 => 213, 682 => 210, 674 => 207, 671 => 206, 669 => 205, 665 => 203, 659 => 199, 649 => 197, 646 => 196, 636 => 194, 633 => 193, 630 => 192, 620 => 190, 617 => 189, 615 => 188, 608 => 184, 603 => 181, 600 => 180, 594 => 178, 591 => 177, 588 => 176, 585 => 175, 579 => 173, 576 => 172, 574 => 171, 563 => 168, 555 => 167, 551 => 166, 543 => 160, 541 => 159, 538 => 158, 529 => 154, 512 => 152, 496 => 151, 482 => 150, 476 => 149, 472 => 147, 470 => 146, 463 => 141, 460 => 140, 450 => 138, 447 => 137, 445 => 136, 441 => 134, 437 => 132, 431 => 131, 428 => 130, 425 => 129, 422 => 128, 416 => 126, 413 => 125, 411 => 124, 396 => 121, 388 => 120, 384 => 119, 379 => 116, 374 => 113, 364 => 112, 362 => 111, 359 => 110, 349 => 108, 347 => 107, 342 => 106, 332 => 104, 329 => 103, 327 => 102, 321 => 100, 311 => 99, 302 => 96, 299 => 95, 295 => 93, 287 => 91, 284 => 90, 279 => 88, 274 => 87, 268 => 85, 266 => 84, 262 => 83, 259 => 82, 256 => 81, 253 => 80, 247 => 78, 245 => 77, 239 => 76, 235 => 74, 229 => 73, 223 => 71, 220 => 70, 217 => 69, 213 => 68, 209 => 66, 199 => 63, 196 => 62, 194 => 61, 186 => 55, 183 => 54, 180 => 53, 166 => 51, 163 => 50, 161 => 49, 158 => 48, 153 => 47, 149 => 46, 145 => 45, 142 => 44, 139 => 43, 136 => 42, 133 => 41, 130 => 40, 127 => 39, 124 => 38, 121 => 37, 118 => 36, 115 => 35, 113 => 34, 108 => 33, 105 => 32, 102 => 31, 99 => 30, 96 => 29, 93 => 28, 90 => 27, 87 => 26, 84 => 25, 81 => 24, 78 => 23, 76 => 22, 70 => 18, 63 => 14, 60 => 13, 57 => 12, 51 => 10, 45 => 8, 43 => 7, 39 => 5, 33 => 4, 31 => 3, 19 => 1,);
}
}
/* <div class="tt_product_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.sub_title_lang[code].sub_title %}*/
/* <p class="sub-title">{{ config_module.sub_title_lang[code].sub_title }}</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 %}*/
/* */
/* </div>*/
/* */
/* */
/* {% 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' %}*/
/* {% else %} */
/* {% set class = 'six_items col-lg-2 col-md-2 col-sm-2 col-xs-12' %}*/
/* {% endif %}*/
/* {% if products|length > 0 %}*/
/* {% if config_module.row %}*/
/* {% set rows = config_module.row %}*/
/* {% else %}*/
/* {% set rows = 1 %}*/
/* {% endif %}*/
/* {% set count = 0 %}*/
/* {% set i = 0 %}*/
/* <div class="owl-container">*/
/* <div class="tt-product {{ class_slider }}"> */
/* {% for product in products %}*/
/* {% if not config_module.slider %}{% set rows = 1 %}{% endif %}*/
/* <!-- Grid -->*/
/* {% if count % rows == 0 %}*/
/* {% set i = i + 1 %}*/
/* <div class="row_items {% if not config_module.slider %}{{ class }}{% endif %} {% if i % 2 == 0 %}even{% else %}odd{% endif %}">*/
/* {% endif %}*/
/* {% set count = count + 1 %}*/
/* {% if config_module.type == 0 %}*/
/* <div class="product-layout grid-style ">*/
/* <div class="product-thumb transition">*/
/* <div class="item">*/
/* <div class="item-inner">*/
/* <div class="caption">*/
/* <div class="inner">*/
/* {% if product.manufacturer %}*/
/* <p class="manufacture-product">*/
/* <span>{{ text_manufacturer ~ ' ' }}</span><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 config_module.description %}*/
/* <div class="product-des">{{ product.description }}</div>*/
/* {% endif %}*/
/* {% 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 %}*/
/* <p class="available">{{ text_stock }}<span class="ex-text">{{ product.stock }}</span></p>*/
/* */
/* */
/* {% 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>*/
/* </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 {% 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 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 %}*/
/* </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 -->*/
/* {% elseif config_module.type == 1 %}*/
/* <!-- List -->*/
/* <div class="product-layout list-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" />*/
/* </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.showwishlist or config_module.showquickview or config_module.showcompare %} */
/* */
/* <div class="action-links">*/
/* */
/* {% 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.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><!-- 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 config_module.description %}*/
/* <div class="product-des">{{ product.description }}</div>*/
/* {% endif %}*/
/* */
/* {% 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 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.countdown %}<div class="text-hurryup"><p>{{ text_hurryup }}</p></div><div id="Countdown{{ product.product_id }}-{{ i }}" class="box-timer"></div> {% 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 -->*/
/* {% else %}*/
/* <!-- other type -->*/
/* <div class="product-layout product-customize ">*/
/* <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" />*/
/* </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 %}*/
/* <button class="button btn-quickview" type="button" title="{{ button_quickview }}" onclick="ocquickview.ajaxView('{{ product.href }}')"><span>{{ button_quickview }}</span></button>*/
/* {% endif %}*/
/* {% endif %}*/
/* */
/* </div><!-- image -->*/
/* */
/* */
/* <div class="caption">*/
/* {% if product.manufacturer %}*/
/* <p class="manufacture-product">*/
/* {{ text_manufacture }}*/
/* <a href="{{ product.manufacturers }}">{{ product.manufacturer }}</a>*/
/* </p>*/
/* {% endif %}*/
/* <h4 class="product-name"><a href="{{ product.href }}">{{ product.name }}</a></h4>*/
/* */
/* {% if config_module.description %}*/
/* <div class="product-des">{{ product.description }}</div>*/
/* {% endif %}*/
/* {% 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 %}*/
/* */
/* <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 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 %}*/
/* {% 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 %}*/
/* */
/* </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 -->*/
/* {% endif %}*/
/* {% if (count % rows == 0) or (count == products|length ) %}*/
/* </div>*/
/* {% endif %}*/
/* {% endfor %} */
/* </div>*/
/* </div>*/
/* {% if config_module.type == 2 %}*/
/* {% set count,rows = 0,2 %}*/
/* <div class="list-thumb"> */
/* <div class="owl-container"> */
/* <div class="thumb owl-carousel owl-theme">*/
/* {% set i = 0 %}*/
/* {% for product in products %}*/
/* {% if count % rows == 0 %}*/
/* <div class="row_thumb">*/
/* {% endif %}*/
/* {% set count = count + 1 %}*/
/* <div class="thumbinner{{ i }} {{ (i==0) ? ' active' : '' }}" onclick="timerslider({{ i }})">*/
/* <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" />*/
/* </div>*/
/* {% if (count % rows == 0) or (count == products|length) %}*/
/* </div>*/
/* {% endif %}*/
/* {% set i = i + 1 %}*/
/* {% endfor %}*/
/* </div><!-- list-thumb -->*/
/* </div>*/
/* </div>*/
/* {% endif %}*/
/* {% else %}*/
/* <p class="text_empty">{{ text_empty }}</p>*/
/* {% endif %}*/
/* <div class="clearfix"></div>*/
/* </div>*/
/* {% if config_module.slider %}*/
/* <script >*/
/* var product_owlCarousel = $("#product_module{{ config_module.module_id }} .tt-product");*/
/* product_owlCarousel.owlCarousel({*/
/* 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 %} 1000 {% endif %},*/
/* autoplayHoverPause: true,*/
/* autoplaySpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 1000 {% endif %},*/
/* navSpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 1000 {% endif %},*/
/* dotsSpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 1000 {% 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() {*/
/* owlAction();*/
/* var i = 0;*/
/* $('.owl-dots > .owl-dot').each(function() {*/
/* $(this).addClass('clk-' + i);*/
/* i++;*/
/* });*/
/* },*/
/* onTranslated: function() {*/
/* owlAction();*/
/* */
/* }*/
/* });*/
/* function owlAction() {*/
/* $("#product_module{{ config_module.module_id }} .tt-product .owl-item").removeClass('first');*/
/* $("#product_module{{ config_module.module_id }} .tt-product .owl-item").removeClass('last');*/
/* $("#product_module{{ config_module.module_id }} .tt-product .owl-item").removeClass('before-active');*/
/* $("#product_module{{ config_module.module_id }} .tt-product .owl-item.active:first").addClass('first');*/
/* $("#product_module{{ config_module.module_id }} .tt-product .owl-item.active:last").addClass('last');*/
/* $('#product_module{{ config_module.module_id }} .tt-product .owl-item.active:first').prev().addClass('before-active');*/
/* }*/
/* */
/* */
/* */
/* {% if config_module.type == 2 %}*/
/* $('#product_module{{ config_module.module_id }} .list-thumb .thumb').owlCarousel({*/
/* loop: false,*/
/* margin: 0,*/
/* nav: false,*/
/* dots: false,*/
/* autoplay: false,*/
/* autoplayTimeout: {% if config_module.time %} {{ config_module.time }} {% else %} 1000 {% endif %},*/
/* autoplayHoverPause: true,*/
/* autoplaySpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 1000 {% endif %},*/
/* navSpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 1000 {% endif %},*/
/* dotsSpeed: {% if config_module.speed %} {{ config_module.speed }} {% else %} 1000 {% endif %},*/
/* lazyLoad: true,*/
/* responsive:{*/
/* 0:{*/
/* items: 5,*/
/* */
/* },*/
/* 480:{*/
/* items: 5,*/
/* */
/* },*/
/* 768:{*/
/* items: 5*/
/* },*/
/* 992:{*/
/* items: 5*/
/* },*/
/* 1200:{*/
/* items: 5*/
/* },*/
/* 1600:{*/
/* items: 5*/
/* }*/
/* },*/
/* onInitialized: function() {*/
/* */
/* },*/
/* onTranslated: function() {*/
/* */
/* }*/
/* });*/
/* */
/* {% endif %}*/
/* function timerslider(x){*/
/* $(".list-thumb .thumb .row_thumb div").removeClass('active');*/
/* $('.thumbinner' + x).addClass('active');*/
/* $('.clk-' + x).trigger('click');*/
/* }*/
/* </script>*/
/* {% endif %}*/