Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
system
/
storage
/
cache
/
cd
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /* tt_madison1/template/product/special.twig */ class __TwigTemplate_69fc68c7fabde53e1f1f88447a9a0fcd10d643b02dafd630b64eee8a4df0c65b 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 (isset($context["header"]) ? $context["header"] : null); echo " <div id=\"product-search\" class=\"container\"> <ul class=\"breadcrumb\"> "; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) { // line 5 echo " <li><a href=\""; echo $this->getAttribute($context["breadcrumb"], "href", array()); echo "\">"; echo $this->getAttribute($context["breadcrumb"], "text", array()); echo "</a></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo " </ul> <div class=\"row\"><div class=\"col-order\">"; // line 8 echo (isset($context["column_left"]) ? $context["column_left"] : null); echo " "; // line 9 if (((isset($context["column_left"]) ? $context["column_left"] : null) && (isset($context["column_right"]) ? $context["column_right"] : null))) { // line 10 echo " "; $context["class"] = "col-sm-6"; // line 11 echo " "; } elseif (((isset($context["column_left"]) ? $context["column_left"] : null) || (isset($context["column_right"]) ? $context["column_right"] : null))) { // line 12 echo " "; $context["class"] = "col-md-9 col-sm-12"; // line 13 echo " "; } else { // line 14 echo " "; $context["class"] = "col-sm-12"; // line 15 echo " "; } // line 16 echo " <div id=\"content\" class=\""; echo (isset($context["class"]) ? $context["class"] : null); echo "\">"; echo (isset($context["content_top"]) ? $context["content_top"] : null); echo " <h2>"; // line 17 echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "</h2> <div class=\"custom-category\"> \t\t\t"; // line 19 if ((isset($context["products"]) ? $context["products"] : null)) { // line 20 echo "\t\t\t\t \t\t\t\t<div><a href=\""; // line 21 echo (isset($context["compare"]) ? $context["compare"] : null); echo "\" id=\"compare-total\" >"; echo (isset($context["text_compare"]) ? $context["text_compare"] : null); echo "</a></div> \t\t\t\t \t\t\t\t<div class=\"toolbar toolbar-products\"> \t\t\t\t\t<div class=\"modes\"> \t\t\t\t\t\t"; // line 25 if ((isset($context["use_custom_view"]) ? $context["use_custom_view"] : null)) { // line 26 echo "\t\t\t\t\t\t\t<button type=\"button\" onclick=\"category_view.changeView('grid', 2, 'btn-grid-2')\" class=\"btn btn-default btn-custom-view btn-grid btn-grid-2\" data-toggle=\"tooltip\" title=\"2\">2</button> \t\t\t\t\t\t\t<button type=\"button\" onclick=\"category_view.changeView('grid', 3, 'btn-grid-3')\" class=\"btn btn-default btn-custom-view btn-grid btn-grid-3\" data-toggle=\"tooltip\" title=\"3\">3</button> \t\t\t\t\t\t\t<button type=\"button\" onclick=\"category_view.changeView('grid', 4, 'btn-grid-4')\" class=\"btn btn-default btn-custom-view btn-grid btn-grid-4\" data-toggle=\"tooltip\" title=\"4\">4</button> \t\t\t\t\t\t\t<button type=\"button\" onclick=\"category_view.changeView('grid', 5, 'btn-grid-5')\" class=\"btn btn-default btn-custom-view btn-grid btn-grid-5\" data-toggle=\"tooltip\" title=\"5\">5</button> \t\t\t\t\t\t\t<button type=\"button\" onclick=\"category_view.changeView('list', 0, 'btn-list')\" class=\"btn btn-default btn-custom-view btn-list\" data-toggle=\"tooltip\" title=\""; // line 30 echo (isset($context["button_list"]) ? $context["button_list"] : null); echo "\">"; echo (isset($context["button_list"]) ? $context["button_list"] : null); echo "</button> \t\t\t\t\t\t\t<input type=\"hidden\" id=\"category-view-type\" value=\""; // line 31 echo (isset($context["category_view"]) ? $context["category_view"] : null); echo "\" /> \t\t\t\t\t\t\t<input type=\"hidden\" id=\"category-grid-cols\" value=\""; // line 32 echo (isset($context["grid_columns"]) ? $context["grid_columns"] : null); echo "\" /> \t\t\t\t\t\t"; } else { // line 34 echo "\t\t\t\t\t\t\t<button type=\"button\" id=\"grid-view\" class=\"btn btn-default btn-grid\" title=\""; echo (isset($context["button_grid"]) ? $context["button_grid"] : null); echo "\">"; echo (isset($context["button_grid"]) ? $context["button_grid"] : null); echo "</button> \t\t\t\t\t\t\t<button type=\"button\" id=\"list-view\" class=\"btn btn-default btn-list\" title=\""; // line 35 echo (isset($context["button_list"]) ? $context["button_list"] : null); echo "\">"; echo (isset($context["button_list"]) ? $context["button_list"] : null); echo "</button> \t\t\t\t\t\t"; } // line 37 echo "\t\t\t\t\t </div> \t\t\t\t\t<div class=\"toolbar-amount\"> \t\t\t\t\t\t<span>"; // line 39 echo (isset($context["results"]) ? $context["results"] : null); echo "</span> \t\t\t\t\t</div> \t\t\t\t\t<div class=\"sorter\"> \t\t\t\t\t\t"; // line 42 if ((isset($context["use_layered"]) ? $context["use_layered"] : null)) { // line 43 echo "\t\t\t\t\t\t\t<label for=\"input-sort\">"; echo (isset($context["text_sort"]) ? $context["text_sort"] : null); echo "</label> \t\t\t\t\t\t\t<select id=\"input-sort\" class=\"form-control\" onchange=\"ocfilter.filter(this.value);\"> \t\t\t\t\t\t\t\t"; // line 45 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["ajax_sorts"]) ? $context["ajax_sorts"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["sorts"]) { // line 46 echo "\t\t\t\t\t\t\t\t\t"; if (($this->getAttribute($context["sorts"], "value", array()) == sprintf("%s-%s", (isset($context["sort"]) ? $context["sort"] : null), (isset($context["order"]) ? $context["order"] : null)))) { // line 47 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["sorts"], "href", array()); echo "\" selected=\"selected\">"; echo $this->getAttribute($context["sorts"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } else { // line 49 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["sorts"], "href", array()); echo "\">"; echo $this->getAttribute($context["sorts"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } // line 51 echo "\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sorts'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 52 echo "\t\t\t\t\t\t\t</select> \t\t\t\t\t\t"; } else { // line 54 echo "\t\t\t\t\t\t\t<label for=\"input-sort\">"; echo (isset($context["text_sort"]) ? $context["text_sort"] : null); echo "</label> \t\t\t\t\t\t\t<select id=\"input-sort\" class=\"form-control\" onchange=\"location = this.value;\"> \t\t\t\t\t\t\t\t"; // line 56 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["sorts"]); foreach ($context['_seq'] as $context["_key"] => $context["sorts"]) { // line 57 echo "\t\t\t\t\t\t\t\t\t"; if (($this->getAttribute($context["sorts"], "value", array()) == sprintf("%s-%s", (isset($context["sort"]) ? $context["sort"] : null), (isset($context["order"]) ? $context["order"] : null)))) { // line 58 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["sorts"], "href", array()); echo "\" selected=\"selected\">"; echo $this->getAttribute($context["sorts"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } else { // line 60 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["sorts"], "href", array()); echo "\">"; echo $this->getAttribute($context["sorts"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } // line 62 echo "\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sorts'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 63 echo "\t\t\t\t\t\t\t</select> \t\t\t\t\t\t"; } // line 65 echo "\t\t\t\t\t</div> \t\t\t\t\t<div class=\"limiter\"> \t\t\t\t\t\t"; // line 67 if ((isset($context["use_layered"]) ? $context["use_layered"] : null)) { // line 68 echo "\t\t\t\t\t\t\t<label for=\"input-limit\">"; echo (isset($context["text_limit"]) ? $context["text_limit"] : null); echo "</label> \t\t\t\t\t\t\t<select id=\"input-limit\" class=\"form-control\" onchange=\"ocfilter.filter(this.value);\"> \t\t\t\t\t\t\t\t"; // line 70 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["ajax_limits"]) ? $context["ajax_limits"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["limits"]) { // line 71 echo "\t\t\t\t\t\t\t\t\t"; if (($this->getAttribute($context["limits"], "value", array()) == (isset($context["limit"]) ? $context["limit"] : null))) { // line 72 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["limits"], "href", array()); echo "\" selected=\"selected\">"; echo $this->getAttribute($context["limits"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } else { // line 74 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["limits"], "href", array()); echo "\">"; echo $this->getAttribute($context["limits"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } // line 76 echo "\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limits'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 77 echo "\t\t\t\t\t\t\t</select> \t\t\t\t\t\t"; } else { // line 79 echo "\t\t\t\t\t\t\t<label for=\"input-limit\">"; echo (isset($context["text_limit"]) ? $context["text_limit"] : null); echo "</label> \t\t\t\t\t\t\t<select id=\"input-limit\" class=\"form-control\" onchange=\"location = this.value;\"> \t\t\t\t\t\t\t\t"; // line 81 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["limits"]); foreach ($context['_seq'] as $context["_key"] => $context["limits"]) { // line 82 echo "\t\t\t\t\t\t\t\t\t"; if (($this->getAttribute($context["limits"], "value", array()) == (isset($context["limit"]) ? $context["limit"] : null))) { // line 83 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["limits"], "href", array()); echo "\" selected=\"selected\">"; echo $this->getAttribute($context["limits"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } else { // line 85 echo "\t\t\t\t\t\t\t\t\t\t<option value=\""; echo $this->getAttribute($context["limits"], "href", array()); echo "\">"; echo $this->getAttribute($context["limits"], "text", array()); echo "</option> \t\t\t\t\t\t\t\t\t"; } // line 87 echo "\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limits'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 88 echo "\t\t\t\t\t\t\t</select> \t\t\t\t\t\t"; } // line 90 echo "\t\t\t\t\t</div> \t\t\t\t</div> \t\t\t\t<div class=\"row\"> \t\t\t\t\t"; // line 93 $context["count"] = 1; // line 94 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 95 echo "\t\t\t\t\t\t<div class=\"product-layout product-list col-xs-12 product-item\"> \t\t\t\t\t\t\t<div class=\"product-thumb\"> \t\t\t\t\t\t\t\t<div class=\"item "; // line 97 echo ("item" . (isset($context["count"]) ? $context["count"] : null)); echo "\"> \t\t\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<div class=\"caption\"> \t\t\t\t\t\t\t\t\t\t\t<div class=\"inner\"> \t\t\t\t\t\t\t\t\t\t\t"; // line 102 if ($this->getAttribute($context["product"], "manufacturer", array())) { // line 103 echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"manufacture-product "; if (((isset($context["image_effect"]) ? $context["image_effect"] : null) == "swatches")) { if ($this->getAttribute($context["product"], "options", array())) { echo "hide-hover"; } } echo "\"> \t\t\t\t\t\t\t\t\t\t\t\t<a href=\""; // line 104 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 107 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"; // line 109 if (((isset($context["image_effect"]) ? $context["image_effect"] : null) == "swatches")) { echo "\t \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"category-options\"> \t\t\t\t\t\t\t\t\t\t\t\t\t"; // line 111 if ($this->getAttribute($context["product"], "options", array())) { // line 112 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "options", array())); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 113 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"ul-swatches-colors\"> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; // line 114 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["option"], "product_option_value", array())); foreach ($context['_seq'] as $context["_key"] => $context["option_value"]) { // line 115 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"swatches-options\"> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\" onclick=\"swatches.changeSwatchInCategory(\$(this));\" title=\""; // line 116 echo $this->getAttribute($context["option_value"], "name", array()); echo "\" \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t style=\""; // line 117 if ($this->getAttribute($context["option_value"], "image", array())) { echo " width: "; echo (isset($context["icon_swatches_width"]) ? $context["icon_swatches_width"] : null); echo "px; height: "; echo (isset($context["icon_swatches_height"]) ? $context["icon_swatches_height"] : null); echo "px; \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-image: url('"; // line 118 echo $this->getAttribute($context["option_value"], "image", array()); echo "') "; } echo "\" \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t data-product-id=\""; // line 119 echo $this->getAttribute($context["product"], "product_id", array()); echo "\" \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t data-product-option-value-id=\""; // line 120 echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\">"; if ( !$this->getAttribute($context["option_value"], "image", array())) { echo " "; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; } echo "</a> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option_value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 123 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 125 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t"; } // line 126 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 128 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 131 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, 5)); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 132 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t"; if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) { // line 133 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t"; $context["class_r"] = ("rating" . $context["i"]); // line 134 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 136 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 137 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\t\t\t<h4 class=\"product-name\"><a href=\""; // line 140 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<p class=\"product-des\">"; // line 142 echo $this->getAttribute($context["product"], "description", array()); echo "</p> \t\t\t\t\t\t\t\t\t\t\t"; // line 143 if ($this->getAttribute($context["product"], "price", array())) { // line 144 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"; // line 145 if ( !$this->getAttribute($context["product"], "special", array())) { // line 146 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 148 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 149 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 151 echo "\t\t\t\t\t\t\t\t\t\t\t\t"; if ($this->getAttribute($context["product"], "tax", array())) { // line 152 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 154 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 156 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=\"button-group 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<button type=\"button\" class=\"button btn-cart\" title=\""; // line 159 echo (isset($context["button_cart"]) ? $context["button_cart"] : null); echo "\" onclick=\"cart.add('"; echo $this->getAttribute($context["product"], "product_id", array()); echo "', '"; echo $this->getAttribute($context["product"], "minimum", 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<button type=\"button\" class=\"button btn-wishlist\" title=\""; // line 160 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\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"button btn-compare\" title=\""; // line 162 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</div> \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<div class=\"image images-container\"> \t\t\t\t\t\t\t\t\t\t\t<div class=\"inner\"> \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 169 if ($this->getAttribute($context["product"], "is_new", array())) { // line 170 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"; } // line 172 echo "\t\t\t\t\t\t\t\t\t\t\t\t"; if ($this->getAttribute($context["product"], "special", array())) { // line 173 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"; } // line 175 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 177 if (((isset($context["image_effect"]) ? $context["image_effect"] : null) == "swatches")) { // line 178 echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"image swatches-image-container\"> \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\""; // line 179 echo $this->getAttribute($context["product"], "href", array()); echo "\"> \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\""; // line 180 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\t\t\t\t\t\t\t\t class=\"img-responsive img-cate-"; // line 181 echo $this->getAttribute($context["product"], "product_id", array()); echo "\" /> \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" value=\""; // line 182 echo $this->getAttribute($context["product"], "thumb", array()); echo "\" class=\"img-default-"; echo $this->getAttribute($context["product"], "product_id", array()); echo "\" /> \t\t\t\t\t\t\t\t\t\t\t\t\t\t"; // line 183 if ($this->getAttribute($context["product"], "swatches_images", array())) { // line 184 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["product"], "swatches_images", array())); foreach ($context['_seq'] as $context["_key"] => $context["s_image"]) { // line 185 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" value=\""; echo $this->getAttribute($context["s_image"], "image", array()); echo "\" class=\"img-swatch-"; echo $this->getAttribute($context["product"], "product_id", array()); echo "-"; echo $this->getAttribute($context["s_image"], "product_option_value_id", array()); echo "\" /> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['s_image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 187 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; } // line 188 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</a> \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\t\t\t\t"; } else { // line 192 echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"image rotate-image-container\"> \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\""; // line 193 echo $this->getAttribute($context["product"], "href", array()); echo "\"> \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\""; // line 194 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 img-default-image\" /> \t\t\t\t\t\t\t\t\t\t\t\t\t\t"; // line 195 if ($this->getAttribute($context["product"], "rotate_image", array())) { // line 196 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\""; echo $this->getAttribute($context["product"], "rotate_image", array()); echo "\" alt=\""; echo $this->getAttribute($context["product"], "name", array()); echo "\" title=\""; echo $this->getAttribute($context["product"], "name", array()); echo "\" class=\"img-responsive img-r\" /> \t\t\t\t\t\t\t\t\t\t\t\t\t\t"; } // line 198 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</a> \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 202 echo "\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"button btn-quickview\" title=\""; // line 203 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\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</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t"; // line 212 $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); echo "\t \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 213 echo " \t\t\t\t</div> \t\t\t\t<div class=\"toolbar toolbar-products toolbar-bottom\"> \t\t\t\t\t"; // line 216 if ((isset($context["use_layered"]) ? $context["use_layered"] : null)) { // line 217 echo "\t\t\t\t\t\t<div class=\"pages ajax_pagination\">"; echo (isset($context["ajax_pagination"]) ? $context["ajax_pagination"] : null); echo "</div> \t\t\t\t\t"; } else { // line 219 echo "\t\t\t\t\t\t<div class=\"pages\">"; echo (isset($context["pagination"]) ? $context["pagination"] : null); echo "</div> \t\t\t\t\t"; } // line 221 echo "\t\t\t\t\t<div class=\"toolbar-amount\"><span>"; echo (isset($context["results"]) ? $context["results"] : null); echo "</span></div> \t\t\t\t</div> \t\t\t"; } // line 224 echo "\t\t\t"; if (( !(isset($context["categories"]) ? $context["categories"] : null) && !(isset($context["products"]) ? $context["products"] : null))) { // line 225 echo "\t\t\t\t<p>"; echo (isset($context["text_empty"]) ? $context["text_empty"] : null); echo "</p> \t\t\t\t<div class=\"buttons\"> \t\t\t\t\t<div class=\"pull-right\"><a href=\""; // line 227 echo (isset($context["continue"]) ? $context["continue"] : null); echo "\" class=\"btn btn-primary\">"; echo (isset($context["button_continue"]) ? $context["button_continue"] : null); echo "</a></div> \t\t\t\t</div> \t\t\t"; } // line 230 echo "\t\t</div> "; // line 231 echo (isset($context["content_bottom"]) ? $context["content_bottom"] : null); echo "</div> "; // line 232 echo (isset($context["column_right"]) ? $context["column_right"] : null); echo "</div></div> </div> "; // line 234 echo (isset($context["footer"]) ? $context["footer"] : null); } public function getTemplateName() { return "tt_madison1/template/product/special.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 735 => 234, 730 => 232, 726 => 231, 723 => 230, 715 => 227, 709 => 225, 706 => 224, 699 => 221, 693 => 219, 687 => 217, 685 => 216, 680 => 213, 672 => 212, 656 => 203, 653 => 202, 647 => 198, 637 => 196, 635 => 195, 627 => 194, 623 => 193, 620 => 192, 614 => 188, 611 => 187, 598 => 185, 593 => 184, 591 => 183, 585 => 182, 581 => 181, 573 => 180, 569 => 179, 566 => 178, 564 => 177, 560 => 175, 554 => 173, 551 => 172, 545 => 170, 543 => 169, 529 => 162, 520 => 160, 510 => 159, 505 => 156, 501 => 154, 493 => 152, 490 => 151, 485 => 149, 480 => 148, 474 => 146, 472 => 145, 469 => 144, 467 => 143, 463 => 142, 456 => 140, 451 => 137, 445 => 136, 439 => 134, 436 => 133, 433 => 132, 429 => 131, 424 => 128, 420 => 126, 417 => 125, 410 => 123, 395 => 120, 391 => 119, 385 => 118, 377 => 117, 373 => 116, 370 => 115, 366 => 114, 363 => 113, 358 => 112, 356 => 111, 351 => 109, 347 => 107, 339 => 104, 330 => 103, 328 => 102, 320 => 97, 316 => 95, 311 => 94, 309 => 93, 304 => 90, 300 => 88, 294 => 87, 286 => 85, 278 => 83, 275 => 82, 271 => 81, 265 => 79, 261 => 77, 255 => 76, 247 => 74, 239 => 72, 236 => 71, 232 => 70, 226 => 68, 224 => 67, 220 => 65, 216 => 63, 210 => 62, 202 => 60, 194 => 58, 191 => 57, 187 => 56, 181 => 54, 177 => 52, 171 => 51, 163 => 49, 155 => 47, 152 => 46, 148 => 45, 142 => 43, 140 => 42, 134 => 39, 130 => 37, 123 => 35, 116 => 34, 111 => 32, 107 => 31, 101 => 30, 95 => 26, 93 => 25, 84 => 21, 81 => 20, 79 => 19, 74 => 17, 67 => 16, 64 => 15, 61 => 14, 58 => 13, 55 => 12, 52 => 11, 49 => 10, 47 => 9, 43 => 8, 40 => 7, 29 => 5, 25 => 4, 19 => 1,); } } /* {{ header }}*/ /* <div id="product-search" class="container">*/ /* <ul class="breadcrumb">*/ /* {% for breadcrumb in breadcrumbs %}*/ /* <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/ /* {% endfor %}*/ /* </ul>*/ /* <div class="row"><div class="col-order">{{ column_left }}*/ /* {% if column_left and column_right %}*/ /* {% set class = 'col-sm-6' %}*/ /* {% elseif column_left or column_right %}*/ /* {% set class = 'col-md-9 col-sm-12' %}*/ /* {% else %}*/ /* {% set class = 'col-sm-12' %}*/ /* {% endif %}*/ /* <div id="content" class="{{ class }}">{{ content_top }}*/ /* <h2>{{ heading_title }}</h2>*/ /* <div class="custom-category">*/ /* {% if products %}*/ /* */ /* <div><a href="{{ compare }}" id="compare-total" >{{ text_compare }}</a></div>*/ /* */ /* <div class="toolbar toolbar-products">*/ /* <div class="modes">*/ /* {% if use_custom_view %}*/ /* <button type="button" onclick="category_view.changeView('grid', 2, 'btn-grid-2')" class="btn btn-default btn-custom-view btn-grid btn-grid-2" data-toggle="tooltip" title="2">2</button>*/ /* <button type="button" onclick="category_view.changeView('grid', 3, 'btn-grid-3')" class="btn btn-default btn-custom-view btn-grid btn-grid-3" data-toggle="tooltip" title="3">3</button>*/ /* <button type="button" onclick="category_view.changeView('grid', 4, 'btn-grid-4')" class="btn btn-default btn-custom-view btn-grid btn-grid-4" data-toggle="tooltip" title="4">4</button>*/ /* <button type="button" onclick="category_view.changeView('grid', 5, 'btn-grid-5')" class="btn btn-default btn-custom-view btn-grid btn-grid-5" data-toggle="tooltip" title="5">5</button>*/ /* <button type="button" onclick="category_view.changeView('list', 0, 'btn-list')" class="btn btn-default btn-custom-view btn-list" data-toggle="tooltip" title="{{ button_list }}">{{ button_list }}</button>*/ /* <input type="hidden" id="category-view-type" value="{{ category_view }}" />*/ /* <input type="hidden" id="category-grid-cols" value="{{ grid_columns }}" />*/ /* {% else %}*/ /* <button type="button" id="grid-view" class="btn btn-default btn-grid" title="{{ button_grid }}">{{ button_grid }}</button>*/ /* <button type="button" id="list-view" class="btn btn-default btn-list" title="{{ button_list }}">{{ button_list }}</button>*/ /* {% endif %}*/ /* </div>*/ /* <div class="toolbar-amount">*/ /* <span>{{ results }}</span>*/ /* </div>*/ /* <div class="sorter">*/ /* {% if use_layered %}*/ /* <label for="input-sort">{{ text_sort }}</label>*/ /* <select id="input-sort" class="form-control" onchange="ocfilter.filter(this.value);">*/ /* {% for sorts in ajax_sorts %}*/ /* {% if sorts.value == '%s-%s'|format(sort, order) %}*/ /* <option value="{{ sorts.href }}" selected="selected">{{ sorts.text }}</option>*/ /* {% else %}*/ /* <option value="{{ sorts.href }}">{{ sorts.text }}</option>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </select>*/ /* {% else %}*/ /* <label for="input-sort">{{ text_sort }}</label>*/ /* <select id="input-sort" class="form-control" onchange="location = this.value;">*/ /* {% for sorts in sorts %}*/ /* {% if sorts.value == '%s-%s'|format(sort, order) %}*/ /* <option value="{{ sorts.href }}" selected="selected">{{ sorts.text }}</option>*/ /* {% else %}*/ /* <option value="{{ sorts.href }}">{{ sorts.text }}</option>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </select>*/ /* {% endif %}*/ /* </div>*/ /* <div class="limiter">*/ /* {% if use_layered %}*/ /* <label for="input-limit">{{ text_limit }}</label>*/ /* <select id="input-limit" class="form-control" onchange="ocfilter.filter(this.value);">*/ /* {% for limits in ajax_limits %}*/ /* {% if limits.value == limit %}*/ /* <option value="{{ limits.href }}" selected="selected">{{ limits.text }}</option>*/ /* {% else %}*/ /* <option value="{{ limits.href }}">{{ limits.text }}</option>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </select>*/ /* {% else %}*/ /* <label for="input-limit">{{ text_limit }}</label>*/ /* <select id="input-limit" class="form-control" onchange="location = this.value;">*/ /* {% for limits in limits %}*/ /* {% if limits.value == limit %}*/ /* <option value="{{ limits.href }}" selected="selected">{{ limits.text }}</option>*/ /* {% else %}*/ /* <option value="{{ limits.href }}">{{ limits.text }}</option>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </select>*/ /* {% endif %}*/ /* </div>*/ /* </div>*/ /* <div class="row">*/ /* {% set count = 1 %}*/ /* {% for product in products %}*/ /* <div class="product-layout product-list col-xs-12 product-item">*/ /* <div class="product-thumb">*/ /* <div class="item {{ 'item' ~ count }}">*/ /* <div class="item-inner">*/ /* */ /* <div class="caption">*/ /* <div class="inner">*/ /* {% if product.manufacturer %}*/ /* <p class="manufacture-product {% if image_effect == 'swatches' %}{% if product.options %}{{ 'hide-hover' }}{% endif %}{% endif %}">*/ /* <a href="{{ product.manufacturers }}">{{ product.manufacturer }}</a>*/ /* </p>*/ /* {% endif %}*/ /* */ /* */ /* {% if image_effect == 'swatches' %} */ /* <div class="category-options">*/ /* {% if product.options %}*/ /* {% for option in product.options %}*/ /* <ul class="ul-swatches-colors">*/ /* {% for option_value in option.product_option_value %}*/ /* <li class="swatches-options">*/ /* <a href="javascript:void(0);" onclick="swatches.changeSwatchInCategory($(this));" title="{{ option_value.name }}"*/ /* style="{% if option_value.image %} width: {{ icon_swatches_width }}px; height: {{ icon_swatches_height }}px;*/ /* background-image: url('{{ option_value.image }}') {% endif %}"*/ /* data-product-id="{{ product.product_id }}"*/ /* data-product-option-value-id="{{ option_value.product_option_value_id }}">{% if not option_value.image %} {{ option_value.name }} {% endif %}</a>*/ /* </li>*/ /* {% endfor %}*/ /* </ul>*/ /* {% endfor %}*/ /* {% endif %}*/ /* </div>*/ /* {% 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>*/ /* */ /* <p class="product-des">{{ product.description }}</p>*/ /* {% if product.price %}*/ /* <div class="price-box">*/ /* {% 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 %}*/ /* */ /* <div class="button-group action-links">*/ /* */ /* <button type="button" class="button btn-cart" title="{{ button_cart }}" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><span>{{ button_cart }}</span></button>*/ /* <button type="button" class="button btn-wishlist" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><span>{{ button_wishlist }}</span></button>*/ /* */ /* <button type="button" class="button btn-compare" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><span>{{ button_compare }}</span></button>*/ /* </div>*/ /* </div>*/ /* </div>*/ /* <div class="image images-container">*/ /* <div class="inner">*/ /* <div class="box-label"> */ /* {% if product.is_new %}*/ /* <div class="label-product label_new"><span>{{ text_label_new }}</span></div>*/ /* {% endif %}*/ /* {% if product.special %}*/ /* <div class="label-product label_sale"><span>{{ '-' ~ product.rate_special ~ '% ' ~ text_label_sale }}</span></div>*/ /* {% endif %}*/ /* */ /* </div>*/ /* {% if image_effect == 'swatches' %}*/ /* <div class="image swatches-image-container">*/ /* <a href="{{ product.href }}">*/ /* <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}"*/ /* class="img-responsive img-cate-{{ product.product_id }}" />*/ /* <input type="hidden" value="{{ product.thumb }}" class="img-default-{{ product.product_id }}" />*/ /* {% if product.swatches_images %}*/ /* {% for s_image in product.swatches_images %}*/ /* <input type="hidden" value="{{ s_image.image }}" class="img-swatch-{{ product.product_id }}-{{ s_image.product_option_value_id }}" />*/ /* {% endfor %}*/ /* {% endif %}*/ /* </a>*/ /* </div>*/ /* */ /* {% else %}*/ /* <div class="image rotate-image-container">*/ /* <a href="{{ product.href }}">*/ /* <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive img-default-image" />*/ /* {% if product.rotate_image %}*/ /* <img src="{{ product.rotate_image }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive img-r" />*/ /* {% endif %}*/ /* </a>*/ /* */ /* </div>*/ /* {% endif %}*/ /* */ /* <button type="button" class="button btn-quickview" title="{{ button_quickview }}" onclick="ocquickview.ajaxView('{{ product.href }}')"><span>{{ button_quickview }}</span></button>*/ /* */ /* */ /* </div> */ /* </div>*/ /* </div>*/ /* </div>*/ /* </div>*/ /* </div>*/ /* {% set count = count + 1 %} */ /* {% endfor %} */ /* </div>*/ /* <div class="toolbar toolbar-products toolbar-bottom">*/ /* {% if use_layered %}*/ /* <div class="pages ajax_pagination">{{ ajax_pagination }}</div>*/ /* {% else %}*/ /* <div class="pages">{{ pagination }}</div>*/ /* {% endif %}*/ /* <div class="toolbar-amount"><span>{{ results }}</span></div>*/ /* </div>*/ /* {% endif %}*/ /* {% if not categories and not products %}*/ /* <p>{{ text_empty }}</p>*/ /* <div class="buttons">*/ /* <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>*/ /* </div>*/ /* {% endif %}*/ /* </div>*/ /* {{ content_bottom }}</div>*/ /* {{ column_right }}</div></div>*/ /* </div>*/ /* {{ footer }}*/