Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
system
/
storage
/
cache
/
34
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /* tt_madison1/template/product/product.twig */ class __TwigTemplate_f83973384ea07a0fbab85cdb8cf64d27a7e19bad22e4645a92823a74a45f815b 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-product\" 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\">"; // 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 " \t\t\t<div class=\"row\"> "; // line 18 if (((isset($context["column_left"]) ? $context["column_left"] : null) || (isset($context["column_right"]) ? $context["column_right"] : null))) { // line 19 echo " "; $context["class"] = "col-sm-6"; // line 20 echo " "; } else { // line 21 echo " "; $context["class"] = "col-sm-5"; // line 22 echo " "; } // line 23 echo " <div class=\"product-image-main "; echo (isset($context["class"]) ? $context["class"] : null); echo "\"> "; // line 24 if ((isset($context["use_zoom"]) ? $context["use_zoom"] : null)) { // line 25 echo " <input type=\"hidden\" id=\"check-use-zoom\" value=\"1\" /> \t\t\t\t\t\t<input type=\"hidden\" id=\"light-box-position\" value=\"1\" /> \t\t\t\t\t\t<input type=\"hidden\" id=\"product-identify\" value=\""; // line 27 echo (isset($context["product_id"]) ? $context["product_id"] : null); echo "\" /> \t\t\t\t\t\t<div class=\"lightbox-container\"></div> "; // line 29 if ((isset($context["use_swatches"]) ? $context["use_swatches"] : null)) { // line 30 echo " <div class=\"product-zoom-image\"> "; // line 31 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { // line 32 echo " <a href=\""; echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" class=\"cloud-zoom main-image\" id=\"product-cloud-zoom\" style=\"width: "; echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "width", array()); echo "px; height: "; echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "height", array()); echo "px;\" rel=\""; // line 33 if ($this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "bg_status", array())) { echo " tint:'"; echo $this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "bg_color", array()); echo "',tintOpacity:"; echo $this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "bg_opacity", array()); echo ","; } // line 34 echo " "; if ($this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "title_status", array())) { echo " showTitle: true "; } else { echo " showTitle: false "; } echo ", zoomWidth:"; // line 35 echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "width", array()); echo ",zoomHeight:"; echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "height", array()); echo ", "; // line 36 if (($this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "position", array()) == "inside")) { echo " position:'inside', adjustX: 0 "; } else { echo " adjustX: "; echo $this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "space", array()); echo " "; } echo "\"> <img src=\""; // line 37 echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /> </a> "; } // line 40 echo " </div> <div class=\"additional-images owl-carousel owl-theme\"> <!-- "; // line 42 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { echo " --> <!-- <div class=\"item\"> --> <!-- <a class=\"cloud-zoom-gallery sub-image\" id=\"product-image-default\" href=\""; // line 44 echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" --> <!-- rel=\"useZoom: 'product-cloud-zoom', smallImage: '"; // line 45 echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "'\" data-pos=\"1\"> --> <!-- <img src=\""; // line 46 echo (isset($context["small_image"]) ? $context["small_image"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /> --> <!-- </a> --> <!-- </div> --> <!-- "; } // line 49 echo " --> "; // line 50 if ((isset($context["images"]) ? $context["images"] : null)) { // line 51 echo " "; $context["img_count"] = 2; // line 52 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["image"]) { // line 53 echo " <div class=\"item\"> <a class=\"cloud-zoom-gallery sub-image\" id=\"product-image-options-"; // line 54 echo $this->getAttribute($context["image"], "product_option_value_id", array()); echo "\" href=\""; echo $this->getAttribute($context["image"], "popup", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" rel=\"useZoom: 'product-cloud-zoom', smallImage: '"; // line 55 echo $this->getAttribute($context["image"], "product_image_option", array()); echo "'\" data-pos=\""; echo (isset($context["img_count"]) ? $context["img_count"] : null); echo "\"> <img src=\""; // line 56 echo $this->getAttribute($context["image"], "thumb", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /> </a> </div> "; // line 59 $context["img_count"] = ((isset($context["img_count"]) ? $context["img_count"] : null) + 1); // line 60 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 61 echo " "; } // line 62 echo " </div> "; } else { // line 65 echo " <div class=\"product-zoom-image\"> "; // line 66 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { // line 67 echo " <a href=\""; echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" class=\"cloud-zoom main-image\" id=\"product-cloud-zoom\" style=\"width: "; echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "width", array()); echo "px; height: "; echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "height", array()); echo "px;\" rel=\""; // line 68 if ($this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "bg_status", array())) { echo " tint:'"; echo $this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "bg_color", array()); echo "',tintOpacity:"; echo $this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "bg_opacity", array()); echo ","; } // line 69 echo " "; if ($this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "title_status", array())) { echo " showTitle: true "; } else { echo " showTitle: false "; } echo ", zoomWidth:"; // line 70 echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "width", array()); echo ",zoomHeight:"; echo $this->getAttribute((isset($context["thumb_dimension"]) ? $context["thumb_dimension"] : null), "height", array()); echo ", "; // line 71 if (($this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "position", array()) == "inside")) { echo " position:'inside', adjustX: 0 "; } else { echo " adjustX: "; echo $this->getAttribute((isset($context["zoom_config"]) ? $context["zoom_config"] : null), "space", array()); echo " "; } echo "\"> <img src=\""; // line 72 echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /> </a> "; } // line 75 echo " </div> <div class=\"additional-images owl-carousel owl-theme\"> "; // line 77 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { // line 78 echo " <div class=\"item\"> <a class=\"cloud-zoom-gallery sub-image\" href=\""; // line 79 echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" rel=\"useZoom: 'product-cloud-zoom', smallImage: '"; // line 80 echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "'\" data-pos=\"1\"> <img src=\""; // line 81 echo (isset($context["small_image"]) ? $context["small_image"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /> </a> </div> "; } // line 85 echo " "; if ((isset($context["images"]) ? $context["images"] : null)) { // line 86 echo " "; $context["img_count"] = 2; // line 87 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["image"]) { // line 88 echo " <div class=\"item\"> <a class=\"cloud-zoom-gallery sub-image\" href=\""; // line 89 echo $this->getAttribute($context["image"], "popup", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" rel=\"useZoom: 'product-cloud-zoom', smallImage: '"; // line 90 echo $this->getAttribute($context["image"], "product_image_option", array()); echo "'\" data-pos=\""; echo (isset($context["img_count"]) ? $context["img_count"] : null); echo "\"> <img src=\""; // line 91 echo $this->getAttribute($context["image"], "thumb", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /> </a> </div> "; // line 94 $context["img_count"] = ((isset($context["img_count"]) ? $context["img_count"] : null) + 1); // line 95 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 96 echo " "; } // line 97 echo " </div> "; } // line 99 echo " "; } else { // line 100 echo " <input type=\"hidden\" id=\"check-use-zoom\" value=\"0\" /> "; // line 101 if ((isset($context["use_swatches"]) ? $context["use_swatches"] : null)) { // line 102 echo " "; if (((isset($context["thumb"]) ? $context["thumb"] : null) || (isset($context["images"]) ? $context["images"] : null))) { // line 103 echo " <ul class=\"thumbnails\" id=\"swatches-image-container\"> "; // line 104 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { // line 105 echo " <li><a class=\"thumbnail swatches-image\" href=\""; echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\"><img src=\""; echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /></a></li> "; } // line 107 echo " "; if ((isset($context["images"]) ? $context["images"] : null)) { // line 108 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["image"]) { // line 109 echo " <li class=\"image-additional\"><a class=\"thumbnail\" href=\""; echo $this->getAttribute($context["image"], "popup", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\"> <img src=\""; echo $this->getAttribute($context["image"], "thumb", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /></a></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 111 echo " "; } // line 112 echo " </ul> "; // line 113 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { // line 114 echo " <input type=\"hidden\" id=\"product-image-default\" data-thumb=\""; echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "\" data-popup=\""; echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" /> "; } // line 116 echo " "; if ((isset($context["images"]) ? $context["images"] : null)) { // line 117 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["image"]) { // line 118 echo " <input type=\"hidden\" id=\"product-image-options-"; echo $this->getAttribute($context["image"], "product_option_value_id", array()); echo "\" data-thumb=\""; echo $this->getAttribute($context["image"], "product_image_option", array()); echo "\" data-popup=\""; echo $this->getAttribute($context["image"], "popup", array()); echo "\" /> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo " "; } // line 121 echo " "; } // line 122 echo " "; } else { // line 123 echo " "; if (((isset($context["thumb"]) ? $context["thumb"] : null) || (isset($context["images"]) ? $context["images"] : null))) { // line 124 echo " <ul class=\"thumbnails\"> "; // line 125 if ((isset($context["thumb"]) ? $context["thumb"] : null)) { // line 126 echo " <li><a class=\"thumbnail\" href=\""; echo (isset($context["popup"]) ? $context["popup"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\"><img src=\""; echo (isset($context["thumb"]) ? $context["thumb"] : null); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /></a></li> "; } // line 128 echo " "; if ((isset($context["images"]) ? $context["images"] : null)) { // line 129 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["image"]) { // line 130 echo " <li class=\"image-additional\"><a class=\"thumbnail\" href=\""; echo $this->getAttribute($context["image"], "popup", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\"> <img src=\""; echo $this->getAttribute($context["image"], "thumb", array()); echo "\" title=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" alt=\""; echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "\" /></a></li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 132 echo " "; } // line 133 echo " </ul> "; } // line 135 echo " "; } // line 136 echo " "; } // line 137 echo " </div> "; // line 139 if (((isset($context["column_left"]) ? $context["column_left"] : null) || (isset($context["column_right"]) ? $context["column_right"] : null))) { // line 140 echo " "; $context["class"] = "col-sm-6"; // line 141 echo " "; } else { // line 142 echo " "; $context["class"] = "col-sm-7"; // line 143 echo " "; } // line 144 echo " <div class=\""; echo (isset($context["class"]) ? $context["class"] : null); echo " product-info-main\"> \t\t\t\t\t<h1 class=\"product-name\">"; // line 146 echo (isset($context["heading_title"]) ? $context["heading_title"] : null); echo "</h1> \t\t\t\t\t<!-- AddThis Button BEGIN --> \t\t\t\t\t<div class=\"addthis_toolbox addthis_default_style\" data-url=\""; // line 148 echo (isset($context["share"]) ? $context["share"] : null); echo "\"><a class=\"addthis_button_facebook_like\" fb:like:layout=\"button_count\"></a> <a class=\"addthis_button_tweet\"></a> <a class=\"addthis_button_pinterest_pinit\"></a> <a class=\"addthis_counter addthis_pill_style\"></a></div> \t\t\t\t\t<script type=\"text/javascript\" src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e\"></script> \t\t\t\t\t<!-- AddThis Button END --> \t\t\t\t\t"; // line 152 if ((isset($context["review_status"]) ? $context["review_status"] : null)) { // line 153 echo " <div class=\"ratings\"> \t\t\t\t\t\t\t<div class=\"rating-box\"> \t\t\t\t\t\t\t"; // line 155 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, 5)); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 156 echo "\t\t\t\t\t\t\t\t"; if (((isset($context["rating"]) ? $context["rating"] : null) == $context["i"])) { // line 157 echo "\t\t\t\t\t\t\t\t"; $context["class_r"] = ("rating" . $context["i"]); // line 158 echo "\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"; } // line 160 echo "\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 161 echo "\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<a class=\"review-count\" href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); \$('body,html').animate({scrollTop: \$('ul.nav-tabs').offset().top}, 800); return false;\">"; // line 162 echo (isset($context["reviews"]) ? $context["reviews"] : null); echo "</a><a href=\"\" onclick=\"\$('a[href=\\'#tab-review\\']').trigger('click'); \$('body,html').animate({scrollTop: \$('ul.nav-tabs').offset().top}, 800); return false;\">"; echo (isset($context["text_write"]) ? $context["text_write"] : null); echo "</a> \t\t\t\t\t\t</div>\t "; } // line 165 echo "\t\t\t\t\t<ul class=\"list-unstyled\"> "; // line 166 if ((isset($context["price"]) ? $context["price"] : null)) { // line 167 echo "\t\t\t\t\t\t\t \t\t\t\t\t\t\t"; // line 168 if ((isset($context["tax"]) ? $context["tax"] : null)) { // line 169 echo "\t\t\t\t\t\t\t<li>"; echo (isset($context["text_tax"]) ? $context["text_tax"] : null); echo " <span class=\"ex-text\">"; echo (isset($context["tax"]) ? $context["tax"] : null); echo "</span></li> \t\t\t\t\t\t\t"; } // line 171 echo "\t\t\t\t\t\t\t"; if ((isset($context["points"]) ? $context["points"] : null)) { // line 172 echo "\t\t\t\t\t\t\t<li>"; echo (isset($context["text_points"]) ? $context["text_points"] : null); echo " <span>"; echo (isset($context["points"]) ? $context["points"] : null); echo "</span></li> \t\t\t\t\t\t\t"; } // line 174 echo "\t\t\t\t\t\t\t"; if ((isset($context["discounts"]) ? $context["discounts"] : null)) { // line 175 echo "\t\t\t\t\t\t\t<li> \t\t\t\t\t\t\t <hr> \t\t\t\t\t\t\t</li> \t\t\t\t\t\t\t"; // line 178 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["discounts"]) ? $context["discounts"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["discount"]) { // line 179 echo "\t\t\t\t\t\t\t<li>"; echo $this->getAttribute($context["discount"], "quantity", array()); echo (isset($context["text_discount"]) ? $context["text_discount"] : null); echo $this->getAttribute($context["discount"], "price", array()); echo "</li> \t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['discount'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 181 echo "\t\t\t\t\t\t\t"; } // line 182 echo "\t\t\t\t\t\t\t \t\t\t\t\t\t"; } // line 184 echo "\t\t\t\t\t\t"; if ((isset($context["manufacturer"]) ? $context["manufacturer"] : null)) { // line 185 echo " <li>"; echo (isset($context["text_manufacturer"]) ? $context["text_manufacturer"] : null); echo " <a href=\""; echo (isset($context["manufacturers"]) ? $context["manufacturers"] : null); echo "\">"; echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null); echo "</a></li> "; } // line 187 echo " <li>"; echo (isset($context["text_model"]) ? $context["text_model"] : null); echo " <span>"; echo (isset($context["model"]) ? $context["model"] : null); echo "</span></li> "; // line 188 if ((isset($context["reward"]) ? $context["reward"] : null)) { // line 189 echo " <li>"; echo (isset($context["text_reward"]) ? $context["text_reward"] : null); echo " <span>"; echo (isset($context["reward"]) ? $context["reward"] : null); echo "</span></li> "; } // line 191 echo " <li>"; echo (isset($context["text_stock"]) ? $context["text_stock"] : null); echo " <span>"; echo (isset($context["stock"]) ? $context["stock"] : null); echo "</span></li> \t\t\t\t\t\t </ul> \t\t\t\t\t<p class=\"short-des\">"; // line 194 echo (isset($context["short_description"]) ? $context["short_description"] : null); echo "</p> \t\t\t\t\t "; // line 195 if ((isset($context["price"]) ? $context["price"] : null)) { // line 196 echo "\t\t\t\t\t\t"; if ( !(isset($context["special"]) ? $context["special"] : null)) { // line 197 echo "\t\t\t\t\t\t<div class=\"price-box box-regular\"> \t\t\t\t\t\t\t<span class=\"regular-price\"> \t\t\t\t\t\t\t\t<span class=\"price\">"; // line 199 echo (isset($context["price"]) ? $context["price"] : null); echo "</span> \t\t\t\t\t\t\t</span> \t\t\t\t\t\t</div> \t\t\t\t\t\t"; } else { // line 203 echo "\t\t\t\t\t\t<div class=\"price-box box-special\"> \t\t\t\t\t\t\t<p class=\"special-price\"><span class=\"price\">"; // line 204 echo (isset($context["special"]) ? $context["special"] : null); echo "</span></p> \t\t\t\t\t\t\t<p class=\"old-price\"><span class=\"price\">"; // line 205 echo (isset($context["price"]) ? $context["price"] : null); echo "</span></p> \t\t\t\t\t\t</div> \t\t\t\t\t\t"; } // line 208 echo "\t\t\t\t\t"; } // line 209 echo "\t\t\t\t\t \t\t\t\t\t \t\t\t\t\t \t\t\t\t\t <div id=\"product\"> "; // line 215 if ((isset($context["options"]) ? $context["options"] : null)) { // line 216 echo " <h3>"; // line 217 echo (isset($context["text_option"]) ? $context["text_option"] : null); echo "</h3> "; // line 218 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["options"]) ? $context["options"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 219 echo " "; if ((isset($context["use_swatches"]) ? $context["use_swatches"] : null)) { // line 220 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "select")) { // line 221 echo " "; if (($this->getAttribute($context["option"], "option_id", array()) == (isset($context["swatches_option"]) ? $context["swatches_option"] : null))) { // line 222 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 223 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <ul class=\"ul-swatches-colors\" data-product-option=\""; // line 224 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" data-type=\"select\"> "; // line 225 $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 226 echo " <li class=\"swatches-options\"> <a href=\"javascript:void(0);\" onclick=\"swatches.changeOption(\$(this));\" title=\""; // line 227 echo $this->getAttribute($context["option_value"], "name", array()); echo " "; if ($this->getAttribute($context["option_value"], "price", array())) { echo "("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ")"; } echo "\" style=\""; // line 228 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; background-image: url('"; // line 229 echo $this->getAttribute($context["option_value"], "image", array()); echo "') "; } echo "\" data-product-option-value-id=\""; // line 230 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> </li> "; } $_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 233 echo " <li class=\"swatches-info\"></li> </ul> <select name=\"option["; // line 235 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control option-swatches\"> <option value=\"0\">"; // line 236 echo (isset($context["text_select"]) ? $context["text_select"] : null); echo "</option> "; // line 237 $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 238 echo " <option value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\">"; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 239 if ($this->getAttribute($context["option_value"], "price", array())) { // line 240 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 241 echo " </option> "; } $_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 243 echo " </select> </div> "; } else { // line 246 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 247 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <select name=\"option["; // line 248 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\"> <option value=\"\">"; // line 249 echo (isset($context["text_select"]) ? $context["text_select"] : null); echo "</option> "; // line 250 $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 251 echo " <option value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\">"; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 252 if ($this->getAttribute($context["option_value"], "price", array())) { // line 253 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 254 echo " </option> "; } $_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 256 echo " </select> </div> "; } // line 259 echo " "; } // line 260 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "radio")) { // line 261 echo " "; if (($this->getAttribute($context["option"], "option_id", array()) == (isset($context["swatches_option"]) ? $context["swatches_option"] : null))) { // line 262 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\">"; // line 263 echo $this->getAttribute($context["option"], "name", array()); echo "</label> <ul class=\"ul-swatches-colors\" data-product-option=\""; // line 264 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" data-type=\"radio\"> "; // line 265 $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 266 echo " <li class=\"swatches-options\"> <a href=\"javascript:void(0);\" onclick=\"swatches.changeOption(\$(this));\" title=\""; // line 267 echo $this->getAttribute($context["option_value"], "name", array()); echo " "; if ($this->getAttribute($context["option_value"], "price", array())) { echo "("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ")"; } echo "\" style=\""; // line 268 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; background-image: url('"; // line 269 echo $this->getAttribute($context["option_value"], "image", array()); echo "') "; } echo "\" data-product-option-value-id=\""; // line 270 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> </li> "; } $_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 273 echo " <li class=\"swatches-info\"></li> </ul> <div class=\"option-swatches\" id=\"input-option"; // line 275 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\"> "; $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 276 echo " <div class=\"radio\"> <label> <input type=\"radio\" class=\"radio-option-value\" id=\"radio-option-value-"; // line 278 echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\" name=\"option["; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\" /> "; // line 279 if ($this->getAttribute($context["option_value"], "image", array())) { echo " <img src=\""; echo $this->getAttribute($context["option_value"], "image", array()); echo "\" alt=\""; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; if ($this->getAttribute($context["option_value"], "price", array())) { echo " "; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo " "; echo $this->getAttribute($context["option_value"], "price", array()); echo " "; } echo "\" class=\"img-thumbnail\" /> "; } // line 280 echo " "; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 281 if ($this->getAttribute($context["option_value"], "price", array())) { // line 282 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 283 echo " </label> </div> "; } $_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 285 echo " </div> </div> "; } else { // line 288 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\">"; // line 289 echo $this->getAttribute($context["option"], "name", array()); echo "</label> <div id=\"input-option"; // line 290 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\"> "; $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 291 echo " <div class=\"radio\"> <label> <input type=\"radio\" name=\"option["; // line 293 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\" /> "; // line 294 if ($this->getAttribute($context["option_value"], "image", array())) { echo " <img src=\""; echo $this->getAttribute($context["option_value"], "image", array()); echo "\" alt=\""; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; if ($this->getAttribute($context["option_value"], "price", array())) { echo " "; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo " "; echo $this->getAttribute($context["option_value"], "price", array()); echo " "; } echo "\" class=\"img-thumbnail\" /> "; } // line 295 echo " "; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 296 if ($this->getAttribute($context["option_value"], "price", array())) { // line 297 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 298 echo " </label> </div> "; } $_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 300 echo " </div> </div> "; } // line 303 echo " "; } // line 304 echo " "; } else { // line 305 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "select")) { // line 306 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 307 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <select name=\"option["; // line 308 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\"> <option value=\"\">"; // line 309 echo (isset($context["text_select"]) ? $context["text_select"] : null); echo "</option> "; // line 310 $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 311 echo " <option value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\">"; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 312 if ($this->getAttribute($context["option_value"], "price", array())) { // line 313 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 314 echo " </option> "; } $_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 316 echo " </select> </div> "; } // line 319 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "radio")) { // line 320 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\">"; // line 321 echo $this->getAttribute($context["option"], "name", array()); echo "</label> <div id=\"input-option"; // line 322 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\"> "; $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 323 echo " <div class=\"radio\"> <label> <input type=\"radio\" name=\"option["; // line 325 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\" /> "; // line 326 if ($this->getAttribute($context["option_value"], "image", array())) { echo " <img src=\""; echo $this->getAttribute($context["option_value"], "image", array()); echo "\" alt=\""; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; if ($this->getAttribute($context["option_value"], "price", array())) { echo " "; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo " "; echo $this->getAttribute($context["option_value"], "price", array()); echo " "; } echo "\" class=\"img-thumbnail\" /> "; } // line 327 echo " "; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 328 if ($this->getAttribute($context["option_value"], "price", array())) { // line 329 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 330 echo " </label> </div> "; } $_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 332 echo " </div> </div> "; } // line 335 echo " "; } // line 336 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "checkbox")) { // line 337 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\">"; // line 338 echo $this->getAttribute($context["option"], "name", array()); echo "</label> <div id=\"input-option"; // line 339 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\"> "; $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 340 echo " <div class=\"checkbox\"> <label> <input type=\"checkbox\" name=\"option["; // line 342 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "][]\" value=\""; echo $this->getAttribute($context["option_value"], "product_option_value_id", array()); echo "\" /> "; // line 343 if ($this->getAttribute($context["option_value"], "image", array())) { echo " <img src=\""; echo $this->getAttribute($context["option_value"], "image", array()); echo "\" alt=\""; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; if ($this->getAttribute($context["option_value"], "price", array())) { echo " "; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo " "; echo $this->getAttribute($context["option_value"], "price", array()); echo " "; } echo "\" class=\"img-thumbnail\" /> "; } // line 344 echo " "; echo $this->getAttribute($context["option_value"], "name", array()); echo " "; // line 345 if ($this->getAttribute($context["option_value"], "price", array())) { // line 346 echo " ("; echo $this->getAttribute($context["option_value"], "price_prefix", array()); echo $this->getAttribute($context["option_value"], "price", array()); echo ") "; } // line 347 echo " </label> </div> "; } $_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 349 echo " </div> </div> "; } // line 352 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "text")) { // line 353 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 354 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <input type=\"text\" name=\"option["; // line 355 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option"], "value", array()); echo "\" placeholder=\""; echo $this->getAttribute($context["option"], "name", array()); echo "\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\" /> </div> "; } // line 358 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "textarea")) { // line 359 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 360 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <textarea name=\"option["; // line 361 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" rows=\"5\" placeholder=\""; echo $this->getAttribute($context["option"], "name", array()); echo "\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\">"; echo $this->getAttribute($context["option"], "value", array()); echo "</textarea> </div> "; } // line 364 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "file")) { // line 365 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\">"; // line 366 echo $this->getAttribute($context["option"], "name", array()); echo "</label> <button type=\"button\" id=\"button-upload"; // line 367 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" data-loading-text=\""; echo (isset($context["text_loading"]) ? $context["text_loading"] : null); echo "\" class=\"btn btn-default btn-block\"><i class=\"fa fa-upload\"></i> "; echo (isset($context["button_upload"]) ? $context["button_upload"] : null); echo "</button> <input type=\"hidden\" name=\"option["; // line 368 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\"\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" /> </div> "; } // line 371 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "date")) { // line 372 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 373 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <div class=\"input-group date\"> <input type=\"text\" name=\"option["; // line 375 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option"], "value", array()); echo "\" data-date-format=\"YYYY-MM-DD\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\" /> <span class=\"input-group-btn\"> <button class=\"btn btn-default\" type=\"button\"><i class=\"fa fa-calendar\"></i></button> </span></div> </div> "; } // line 381 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "datetime")) { // line 382 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 383 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <div class=\"input-group datetime\"> <input type=\"text\" name=\"option["; // line 385 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option"], "value", array()); echo "\" data-date-format=\"YYYY-MM-DD HH:mm\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\" /> <span class=\"input-group-btn\"> <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button> </span></div> </div> "; } // line 391 echo " "; if (($this->getAttribute($context["option"], "type", array()) == "time")) { // line 392 echo " <div class=\"form-group"; if ($this->getAttribute($context["option"], "required", array())) { echo " required "; } echo "\"> <label class=\"control-label\" for=\"input-option"; // line 393 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\">"; echo $this->getAttribute($context["option"], "name", array()); echo "</label> <div class=\"input-group time\"> <input type=\"text\" name=\"option["; // line 395 echo $this->getAttribute($context["option"], "product_option_id", array()); echo "]\" value=\""; echo $this->getAttribute($context["option"], "value", array()); echo "\" data-date-format=\"HH:mm\" id=\"input-option"; echo $this->getAttribute($context["option"], "product_option_id", array()); echo "\" class=\"form-control\" /> <span class=\"input-group-btn\"> <button type=\"button\" class=\"btn btn-default\"><i class=\"fa fa-calendar\"></i></button> </span></div> </div> "; } // line 401 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 402 echo " "; } // line 403 echo " "; if ((isset($context["recurrings"]) ? $context["recurrings"] : null)) { // line 404 echo " <hr> <h3>"; // line 405 echo (isset($context["text_payment_recurring"]) ? $context["text_payment_recurring"] : null); echo "</h3> <div class=\"form-group required\"> <select name=\"recurring_id\" class=\"form-control\"> <option value=\"\">"; // line 408 echo (isset($context["text_select"]) ? $context["text_select"] : null); echo "</option> "; // line 409 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["recurrings"]) ? $context["recurrings"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) { // line 410 echo " <option value=\""; echo $this->getAttribute($context["recurring"], "recurring_id", array()); echo "\">"; echo $this->getAttribute($context["recurring"], "name", array()); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recurring'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 412 echo " </select> <div class=\"help-block\" id=\"recurring-description\"></div> </div> "; } // line 416 echo " <div class=\"form-group\"> <label class=\"control-label\" for=\"input-quantity\">"; // line 417 echo (isset($context["entry_qty"]) ? $context["entry_qty"] : null); echo "</label> <input type=\"text\" name=\"quantity\" value=\""; // line 418 echo (isset($context["minimum"]) ? $context["minimum"] : null); echo "\" size=\"2\" id=\"input-quantity\" class=\"form-control\" /> <input type=\"hidden\" name=\"product_id\" value=\""; // line 419 echo (isset($context["product_id"]) ? $context["product_id"] : null); echo "\" /> <button type=\"button\" id=\"button-cart\" data-loading-text=\""; // line 421 echo (isset($context["text_loading"]) ? $context["text_loading"] : null); echo "\" class=\"btn button button-cart\" title=\""; echo (isset($context["button_cart"]) ? $context["button_cart"] : null); echo "\">"; echo (isset($context["button_cart"]) ? $context["button_cart"] : null); echo "</button> \t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default button btn-compare\" title=\""; // line 422 echo (isset($context["button_compare"]) ? $context["button_compare"] : null); echo "\" onclick=\"compare.add('"; echo (isset($context["product_id"]) ? $context["product_id"] : null); echo "');\">"; echo (isset($context["button_compare"]) ? $context["button_compare"] : null); echo "</button> \t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default button btn-wishlist\" title=\""; // line 423 echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null); echo "\" onclick=\"wishlist.add('"; echo (isset($context["product_id"]) ? $context["product_id"] : null); echo "');\">"; echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null); echo "</button> \t\t\t\t\t\t\t \t\t\t\t\t </div> "; // line 426 if (((isset($context["minimum"]) ? $context["minimum"] : null) > 1)) { // line 427 echo " <div class=\"alert alert-info\"><i class=\"fa fa-info-circle\"></i> "; echo (isset($context["text_minimum"]) ? $context["text_minimum"] : null); echo "</div> "; } // line 428 echo "</div> \t\t\t\t\t\t \t\t\t\t\t\t"; // line 430 if ((isset($context["tags"]) ? $context["tags"] : null)) { // line 431 echo "\t\t\t\t\t\t\t<p>"; echo (isset($context["text_tags"]) ? $context["text_tags"] : null); echo " \t\t\t\t\t\t\t\t"; // line 432 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, twig_length_filter($this->env, (isset($context["tags"]) ? $context["tags"] : null)))); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 433 echo "\t\t\t\t\t\t\t\t\t"; if (($context["i"] < (twig_length_filter($this->env, (isset($context["tags"]) ? $context["tags"] : null)) - 1))) { echo " <a href=\""; echo $this->getAttribute($this->getAttribute((isset($context["tags"]) ? $context["tags"] : null), $context["i"], array(), "array"), "href", array()); echo "\">"; echo $this->getAttribute($this->getAttribute((isset($context["tags"]) ? $context["tags"] : null), $context["i"], array(), "array"), "tag", array()); echo "</a>, \t\t\t\t\t\t\t\t\t"; } else { // line 434 echo " <a href=\""; echo $this->getAttribute($this->getAttribute((isset($context["tags"]) ? $context["tags"] : null), $context["i"], array(), "array"), "href", array()); echo "\">"; echo $this->getAttribute($this->getAttribute((isset($context["tags"]) ? $context["tags"] : null), $context["i"], array(), "array"), "tag", array()); echo "</a> "; } // line 435 echo "\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; echo " </p> \t\t\t\t\t\t"; } // line 437 echo "\t\t\t\t\t\t \t\t\t\t\t\t \t\t\t</div> </div> \t\t\t<div class=\"product-info-detailed\"> \t\t\t\t<ul class=\"nav nav-tabs\"> \t\t\t\t<li class=\"active\"><a href=\"#tab-description\" data-toggle=\"tab\">"; // line 443 echo (isset($context["tab_description"]) ? $context["tab_description"] : null); echo "</a></li> \t\t\t\t"; // line 444 if ((isset($context["attribute_groups"]) ? $context["attribute_groups"] : null)) { // line 445 echo "\t\t\t\t\t<li><a href=\"#tab-specification\" data-toggle=\"tab\">"; echo (isset($context["tab_attribute"]) ? $context["tab_attribute"] : null); echo "</a></li> \t\t\t\t"; } // line 447 echo "\t\t\t\t"; if ((isset($context["review_status"]) ? $context["review_status"] : null)) { // line 448 echo "\t\t\t\t\t<li><a href=\"#tab-review\" data-toggle=\"tab\">"; echo (isset($context["tab_review"]) ? $context["tab_review"] : null); echo "</a></li> \t\t\t\t"; } // line 450 echo "\t\t\t</ul> \t\t\t<div class=\"tab-content\"> \t\t\t\t<div class=\"tab-pane active\" id=\"tab-description\">"; // line 452 echo (isset($context["description"]) ? $context["description"] : null); echo "</div> \t\t\t\t"; // line 453 if ((isset($context["attribute_groups"]) ? $context["attribute_groups"] : null)) { // line 454 echo "\t\t\t\t\t<div class=\"tab-pane\" id=\"tab-specification\"> \t\t\t\t\t\t<table class=\"table table-bordered\"> \t\t\t\t\t\t\t"; // line 456 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["attribute_groups"]) ? $context["attribute_groups"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) { // line 457 echo "\t\t\t\t\t\t\t\t<thead> \t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t<td colspan=\"2\"><strong>"; // line 459 echo $this->getAttribute($context["attribute_group"], "name", array()); echo "</strong></td> \t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t</thead> \t\t\t\t\t\t\t\t<tbody> \t\t\t\t\t\t\t\t"; // line 463 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["attribute_group"], "attribute", array())); foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) { // line 464 echo "\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t<td>"; // line 465 echo $this->getAttribute($context["attribute"], "name", array()); echo "</td> \t\t\t\t\t\t\t\t\t\t<td>"; // line 466 echo $this->getAttribute($context["attribute"], "text", array()); echo "</td> \t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 469 echo "\t\t\t\t\t\t\t\t</tbody> \t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 471 echo "\t\t\t\t\t\t</table> \t\t\t\t\t</div> \t\t\t\t"; } // line 474 echo "\t\t\t\t"; if ((isset($context["review_status"]) ? $context["review_status"] : null)) { // line 475 echo "\t\t\t\t\t<div class=\"tab-pane\" id=\"tab-review\"> \t\t\t\t\t\t<form class=\"form-horizontal\" id=\"form-review\"> \t\t\t\t\t\t\t<div id=\"review\"></div> \t\t\t\t\t\t\t<h2>"; // line 478 echo (isset($context["text_write"]) ? $context["text_write"] : null); echo "</h2> \t\t\t\t\t\t\t"; // line 479 if ((isset($context["review_guest"]) ? $context["review_guest"] : null)) { // line 480 echo "\t\t\t\t\t\t\t\t<div class=\"form-group required\"> \t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\"> \t\t\t\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-name\">"; // line 482 echo (isset($context["entry_name"]) ? $context["entry_name"] : null); echo "</label> \t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"name\" value=\""; // line 483 echo (isset($context["customer_name"]) ? $context["customer_name"] : null); echo "\" id=\"input-name\" class=\"form-control\" /> \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\t<div class=\"form-group required\"> \t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\"> \t\t\t\t\t\t\t\t\t\t<label class=\"control-label\" for=\"input-review\">"; // line 488 echo (isset($context["entry_review"]) ? $context["entry_review"] : null); echo "</label> \t\t\t\t\t\t\t\t\t\t<textarea name=\"text\" rows=\"5\" id=\"input-review\" class=\"form-control\"></textarea> \t\t\t\t\t\t\t\t\t\t<div class=\"help-block\">"; // line 490 echo (isset($context["text_note"]) ? $context["text_note"] : null); echo "</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\t<div class=\"form-group required\"> \t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\"> \t\t\t\t\t\t\t\t\t\t<label class=\"control-label\">"; // line 495 echo (isset($context["entry_rating"]) ? $context["entry_rating"] : null); echo "</label> \t\t\t\t\t\t\t\t\t\t "; // line 496 echo (isset($context["entry_bad"]) ? $context["entry_bad"] : null); echo " \t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"rating\" value=\"1\" /> \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"rating\" value=\"2\" /> \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"rating\" value=\"3\" /> \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"rating\" value=\"4\" /> \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t<input type=\"radio\" name=\"rating\" value=\"5\" /> \t\t\t\t\t\t\t\t\t\t "; // line 506 echo (isset($context["entry_good"]) ? $context["entry_good"] : null); echo "</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t"; // line 508 echo (isset($context["captcha"]) ? $context["captcha"] : null); echo " \t\t\t\t\t\t\t\t<div class=\"buttons clearfix\"> \t\t\t\t\t\t\t\t\t<div class=\"pull-right\"> \t\t\t\t\t\t\t\t\t\t<button type=\"button\" id=\"button-review\" data-loading-text=\""; // line 511 echo (isset($context["text_loading"]) ? $context["text_loading"] : null); echo "\" class=\"btn btn-primary\">"; echo (isset($context["button_continue"]) ? $context["button_continue"] : null); echo "</button> \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"; } else { // line 515 echo "\t\t\t\t\t\t\t\t"; echo (isset($context["text_login"]) ? $context["text_login"] : null); echo " \t\t\t\t\t\t\t"; } // line 517 echo "\t\t\t\t\t\t</form> \t\t\t\t\t</div> \t\t\t\t"; } // line 519 echo "</div> \t\t\t</div> <div class=\"related-products module-grid module-nav2\"> \t\t\t\t<div class=\"module-title\"> \t\t\t\t\t<h2>"; // line 523 echo (isset($context["text_related"]) ? $context["text_related"] : null); echo "</h2> \t\t\t\t\t \t\t\t\t</div> \t\t\t\t \t\t\t\t<div class=\"owl-container\"> \t\t\t\t<div class=\"related-container tt-product owl-carousel owl-theme\"> \t\t\t\t"; // line 529 $context["rows"] = 1; // line 530 echo "\t\t\t\t"; $context["count"] = 0; // line 531 echo "\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 532 echo "\t\t\t\t\t"; if ((((isset($context["count"]) ? $context["count"] : null) % (isset($context["rows"]) ? $context["rows"] : null)) == 0)) { // line 533 echo "\t\t\t\t\t<div class=\"row_items\"> \t\t\t\t\t"; } // line 535 echo "\t\t\t\t\t"; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); // line 536 echo "\t\t\t\t\t<div class=\"product-layout grid-style\"> \t\t\t\t\t\t<div class=\"product-thumb transition\"> \t\t\t\t\t\t\t<div class=\"item\">\t\t \t\t\t\t\t\t\t\t<div class=\"item-inner\"> \t\t\t\t\t\t\t\t\t<div class=\"caption\"> \t\t\t\t\t\t\t\t\t\t<div class=\"inner\"> \t\t\t\t\t\t\t\t\t\t"; // line 542 if ($this->getAttribute($context["product"], "manufacturer", array())) { // line 543 echo "\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<a href=\""; // line 544 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</p> \t\t\t\t\t\t\t\t\t\t"; } // line 546 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<div class=\"rating-box\"> \t\t\t\t\t\t\t\t\t\t\t"; // line 550 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, 5)); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { // line 551 echo "\t\t\t\t\t\t\t\t\t\t\t\t"; if (($this->getAttribute($context["product"], "rating", array()) == $context["i"])) { // line 552 echo "\t\t\t\t\t\t\t\t\t\t\t\t"; $context["class_r"] = ("rating" . $context["i"]); // line 553 echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\""; echo (isset($context["class_r"]) ? $context["class_r"] : null); echo "\">rating</div> \t\t\t\t\t\t\t\t\t\t\t\t"; } // line 555 echo "\t\t\t\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 556 echo "\t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t</div>\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t<h4 class=\"product-name\"><a href=\""; // line 560 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 562 if ($this->getAttribute($context["product"], "price", array())) { // line 563 echo "\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<label>"; // line 564 echo (isset($context["price_label"]) ? $context["price_label"] : null); echo "</label> \t\t\t\t\t\t\t\t\t\t\t"; // line 565 if ( !$this->getAttribute($context["product"], "special", array())) { // line 566 echo "\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"; } else { // line 568 echo "\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<p class=\"old-price\"><span class=\"price\">"; // line 569 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"; } // line 571 echo "\t\t\t\t\t\t\t\t\t\t\t"; if ($this->getAttribute($context["product"], "tax", array())) { // line 572 echo "\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"; } // line 574 echo "\t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t"; } // line 576 echo "\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<button class=\"button btn-cart\" type=\"button\" title=\""; // line 577 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<button class=\"button btn-compare\" type=\"button\" title=\""; // line 578 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<button class=\"button btn-wishlist\" type=\"button\" title=\""; // line 579 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</div> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div><!-- caption --> \t\t\t\t\t\t\t\t\t<div class=\"image images-container\"> \t\t\t\t\t\t\t\t\t\t<a href=\""; // line 584 echo $this->getAttribute($context["product"], "href", array()); echo "\" class=\"product-image\"> \t\t\t\t\t\t\t\t\t\t\t"; // line 585 if ($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 586 echo "\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</a> \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\t\t\t\t\t\t\t\t"; // line 590 if ($this->getAttribute($context["product"], "is_new", array())) { // line 591 echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_new\">"; echo (isset($context["text_label_new"]) ? $context["text_label_new"] : null); echo "</div> \t\t\t\t\t\t\t\t\t\t"; } // line 593 echo "\t\t\t\t\t\t\t\t\t\t"; if ($this->getAttribute($context["product"], "special", array())) { // line 594 echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"label-product label_sale\">"; echo ((("-" . $this->getAttribute($context["product"], "rate_special", array())) . "% ") . (isset($context["text_label_sale"]) ? $context["text_label_sale"] : null)); echo "</div> \t\t\t\t\t\t\t\t\t\t"; } // line 596 echo "\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</div><!-- image --> \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</div> \t\t\t\t\t\t</div><!-- product-thumb -->\t\t\t\t\t\t \t\t\t\t\t</div><!-- product-layout --> \t\t\t\t\t"; // line 605 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 606 echo "\t\t\t\t\t</div> \t\t\t\t\t"; } // line 608 echo "\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 609 echo "\t\t\t\t</div> \t\t\t\t</div> \t\t\t \t\t\t</div> "; // line 614 echo (isset($context["content_bottom"]) ? $context["content_bottom"] : null); echo "</div> "; // line 615 echo (isset($context["column_right"]) ? $context["column_right"] : null); echo "</div> </div> <script type=\"text/javascript\"><!-- \$(document).ready(function() { \t\t\$('body').addClass('product-details'); \t\t\$('.related-container').owlCarousel({ \t\t\tnav: true, \t\t\tdots: false, \t\t\tnavSpeed: 1000, \t\t\tmargin: 0, \t\t\tresponsive:{ \t\t\t\t0:{ \t\t\t\t\titems: 1, \t\t\t\t\tnav: false \t\t\t\t}, \t\t\t\t480:{ \t\t\t\t\titems: 2, \t\t\t\t\tnav: false \t\t\t\t}, \t\t\t\t768:{ \t\t\t\t\titems: 2 \t\t\t\t}, \t\t\t\t992:{ \t\t\t\t\titems: 3 \t\t\t\t}, \t\t\t\t1200:{ \t\t\t\t\titems: 4 \t\t\t\t} \t\t\t\t \t\t\t}, \t\t\tonInitialized: function() { \t\t\t\towlAction(); \t\t\t}, \t\t\tonTranslated: function() { \t\t\t\towlAction(); \t\t\t}\t \t\t}); \t\tfunction owlAction() { \t\t\t\$(\".related-container .owl-item\").removeClass('first'); \t\t\t\$(\".related-container .owl-item\").removeClass('last'); \t\t\t\$(\".related-container .owl-item\").removeClass('before-active'); \t\t\t\$(\".related-container .owl-item.active:first\").addClass('first'); \t\t\t\$(\".related-container .owl-item.active:last\").addClass('last'); \t\t\t\$('.related-container .owl-item.active:first').prev().addClass('before-active'); \t\t} \t}); \t \t \t \t\$('select[name=\\'recurring_id\\'], input[name=\"quantity\"]').change(function(){ \$.ajax({ url: 'index.php?route=product/product/getRecurringDescription', type: 'post', data: \$('input[name=\\'product_id\\'], input[name=\\'quantity\\'], select[name=\\'recurring_id\\']'), dataType: 'json', beforeSend: function() { \$('#recurring-description').html(''); }, success: function(json) { \$('.alert-dismissible, .text-danger').remove(); if (json['success']) { \$('#recurring-description').html(json['success']); } } }); }); //--></script> <script type=\"text/javascript\"><!-- \$('#button-cart').on('click', function() { \$.ajax({ url: 'index.php?route=checkout/cart/add', type: 'post', data: \$('#product input[type=\\'text\\'], #product input[type=\\'hidden\\'], #product input[type=\\'radio\\']:checked, #product input[type=\\'checkbox\\']:checked, #product select, #product textarea'), dataType: 'json', beforeSend: function() { \$('#button-cart').button('loading'); }, complete: function() { \$('#button-cart').button('reset'); }, success: function(json) { \$('.alert-dismissible, .text-danger').remove(); \$('.form-group').removeClass('has-error'); if (json['error']) { if (json['error']['option']) { for (i in json['error']['option']) { var element = \$('#input-option' + i.replace('_', '-')); if (element.parent().hasClass('input-group')) { element.parent().after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>'); } else { element.after('<div class=\"text-danger\">' + json['error']['option'][i] + '</div>'); } } } if (json['error']['recurring']) { \$('select[name=\\'recurring_id\\']').after('<div class=\"text-danger\">' + json['error']['recurring'] + '</div>'); } // Highlight any found errors \$('.text-danger').parent().addClass('has-error'); } if (json['success']) { \$('.breadcrumb').after('<div class=\"alert alert-success alert-dismissible\">' + json['success'] + '<button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button></div>'); \$('#cart > button').html('<span id=\"cart-total\">' + json['total'] + '</span>'); \t\t\t\t\t \$('html, body').animate({ scrollTop: 0 }, 'slow'); \$('#cart > ul').load('index.php?route=common/cart/info ul li'); } }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); } }); }); //--></script> <script type=\"text/javascript\"><!-- \$('.date').datetimepicker({ language: '"; // line 739 echo (isset($context["datepicker"]) ? $context["datepicker"] : null); echo "', pickTime: false }); \$('.datetime').datetimepicker({ language: '"; // line 744 echo (isset($context["datepicker"]) ? $context["datepicker"] : null); echo "', pickDate: true, pickTime: true }); \$('.time').datetimepicker({ language: '"; // line 750 echo (isset($context["datepicker"]) ? $context["datepicker"] : null); echo "', pickDate: false }); \$('button[id^=\\'button-upload\\']').on('click', function() { var node = this; \$('#form-upload').remove(); \$('body').prepend('<form enctype=\"multipart/form-data\" id=\"form-upload\" style=\"display: none;\"><input type=\"file\" name=\"file\" /></form>'); \$('#form-upload input[name=\\'file\\']').trigger('click'); if (typeof timer != 'undefined') { clearInterval(timer); } timer = setInterval(function() { if (\$('#form-upload input[name=\\'file\\']').val() != '') { clearInterval(timer); \$.ajax({ url: 'index.php?route=tool/upload', type: 'post', dataType: 'json', data: new FormData(\$('#form-upload')[0]), cache: false, contentType: false, processData: false, beforeSend: function() { \$(node).button('loading'); }, complete: function() { \$(node).button('reset'); }, success: function(json) { \$('.text-danger').remove(); if (json['error']) { \$(node).parent().find('input').after('<div class=\"text-danger\">' + json['error'] + '</div>'); } if (json['success']) { alert(json['success']); \$(node).parent().find('input').val(json['code']); } }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText); } }); } }, 500); }); //--></script> <script type=\"text/javascript\"><!-- \$('#review').delegate('.pagination a', 'click', function(e) { e.preventDefault(); \$('#review').fadeOut('slow'); \$('#review').load(this.href); \$('#review').fadeIn('slow'); }); \$('#review').load('index.php?route=product/product/review&product_id="; // line 817 echo (isset($context["product_id"]) ? $context["product_id"] : null); echo "'); \$('#button-review').on('click', function() { \$.ajax({ url: 'index.php?route=product/product/write&product_id="; // line 821 echo (isset($context["product_id"]) ? $context["product_id"] : null); echo "', type: 'post', dataType: 'json', data: \$(\"#form-review\").serialize(), beforeSend: function() { \$('#button-review').button('loading'); }, complete: function() { \$('#button-review').button('reset'); }, success: function(json) { \$('.alert-dismissible').remove(); if (json['error']) { \$('#review').after('<div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ' + json['error'] + '</div>'); } if (json['success']) { \$('#review').after('<div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + '</div>'); \$('input[name=\\'name\\']').val(''); \$('textarea[name=\\'text\\']').val(''); \$('input[name=\\'rating\\']:checked').prop('checked', false); } } }); }); "; // line 849 if ( !(isset($context["use_zoom"]) ? $context["use_zoom"] : null)) { // line 850 echo " \$(document).ready(function() { \$('.thumbnails').magnificPopup({ type:'image', delegate: 'a', gallery: { enabled: true } }); }); "; } // line 860 echo " //--></script> "; // line 861 echo (isset($context["footer"]) ? $context["footer"] : null); echo " "; } public function getTemplateName() { return "tt_madison1/template/product/product.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 2380 => 861, 2377 => 860, 2365 => 850, 2363 => 849, 2332 => 821, 2325 => 817, 2255 => 750, 2246 => 744, 2238 => 739, 2111 => 615, 2107 => 614, 2100 => 609, 2094 => 608, 2090 => 606, 2088 => 605, 2077 => 596, 2071 => 594, 2068 => 593, 2062 => 591, 2060 => 590, 2048 => 586, 2040 => 585, 2036 => 584, 2024 => 579, 2016 => 578, 2008 => 577, 2005 => 576, 2001 => 574, 1993 => 572, 1990 => 571, 1985 => 569, 1980 => 568, 1974 => 566, 1972 => 565, 1968 => 564, 1965 => 563, 1963 => 562, 1956 => 560, 1950 => 556, 1944 => 555, 1938 => 553, 1935 => 552, 1932 => 551, 1928 => 550, 1922 => 546, 1914 => 544, 1911 => 543, 1909 => 542, 1901 => 536, 1898 => 535, 1894 => 533, 1891 => 532, 1886 => 531, 1883 => 530, 1881 => 529, 1872 => 523, 1866 => 519, 1861 => 517, 1855 => 515, 1846 => 511, 1840 => 508, 1835 => 506, 1822 => 496, 1818 => 495, 1810 => 490, 1805 => 488, 1797 => 483, 1793 => 482, 1789 => 480, 1787 => 479, 1783 => 478, 1778 => 475, 1775 => 474, 1770 => 471, 1763 => 469, 1754 => 466, 1750 => 465, 1747 => 464, 1743 => 463, 1736 => 459, 1732 => 457, 1728 => 456, 1724 => 454, 1722 => 453, 1718 => 452, 1714 => 450, 1708 => 448, 1705 => 447, 1699 => 445, 1697 => 444, 1693 => 443, 1685 => 437, 1676 => 435, 1669 => 434, 1659 => 433, 1655 => 432, 1650 => 431, 1648 => 430, 1644 => 428, 1638 => 427, 1636 => 426, 1626 => 423, 1618 => 422, 1610 => 421, 1605 => 419, 1601 => 418, 1597 => 417, 1594 => 416, 1588 => 412, 1577 => 410, 1573 => 409, 1569 => 408, 1563 => 405, 1560 => 404, 1557 => 403, 1554 => 402, 1548 => 401, 1535 => 395, 1528 => 393, 1521 => 392, 1518 => 391, 1505 => 385, 1498 => 383, 1491 => 382, 1488 => 381, 1475 => 375, 1468 => 373, 1461 => 372, 1458 => 371, 1450 => 368, 1442 => 367, 1438 => 366, 1431 => 365, 1428 => 364, 1416 => 361, 1410 => 360, 1403 => 359, 1400 => 358, 1388 => 355, 1382 => 354, 1375 => 353, 1372 => 352, 1367 => 349, 1359 => 347, 1352 => 346, 1350 => 345, 1345 => 344, 1329 => 343, 1323 => 342, 1319 => 340, 1313 => 339, 1309 => 338, 1302 => 337, 1299 => 336, 1296 => 335, 1291 => 332, 1283 => 330, 1276 => 329, 1274 => 328, 1269 => 327, 1253 => 326, 1247 => 325, 1243 => 323, 1237 => 322, 1233 => 321, 1226 => 320, 1223 => 319, 1218 => 316, 1211 => 314, 1204 => 313, 1202 => 312, 1195 => 311, 1191 => 310, 1187 => 309, 1181 => 308, 1175 => 307, 1168 => 306, 1165 => 305, 1162 => 304, 1159 => 303, 1154 => 300, 1146 => 298, 1139 => 297, 1137 => 296, 1132 => 295, 1116 => 294, 1110 => 293, 1106 => 291, 1100 => 290, 1096 => 289, 1089 => 288, 1084 => 285, 1076 => 283, 1069 => 282, 1067 => 281, 1062 => 280, 1046 => 279, 1038 => 278, 1034 => 276, 1028 => 275, 1024 => 273, 1009 => 270, 1003 => 269, 995 => 268, 984 => 267, 981 => 266, 977 => 265, 973 => 264, 969 => 263, 962 => 262, 959 => 261, 956 => 260, 953 => 259, 948 => 256, 941 => 254, 934 => 253, 932 => 252, 925 => 251, 921 => 250, 917 => 249, 911 => 248, 905 => 247, 898 => 246, 893 => 243, 886 => 241, 879 => 240, 877 => 239, 870 => 238, 866 => 237, 862 => 236, 856 => 235, 852 => 233, 837 => 230, 831 => 229, 823 => 228, 812 => 227, 809 => 226, 805 => 225, 801 => 224, 795 => 223, 788 => 222, 785 => 221, 782 => 220, 779 => 219, 775 => 218, 771 => 217, 768 => 216, 766 => 215, 758 => 209, 755 => 208, 749 => 205, 745 => 204, 742 => 203, 735 => 199, 731 => 197, 728 => 196, 726 => 195, 722 => 194, 713 => 191, 705 => 189, 703 => 188, 696 => 187, 686 => 185, 683 => 184, 679 => 182, 676 => 181, 665 => 179, 661 => 178, 656 => 175, 653 => 174, 645 => 172, 642 => 171, 634 => 169, 632 => 168, 629 => 167, 627 => 166, 624 => 165, 616 => 162, 613 => 161, 607 => 160, 601 => 158, 598 => 157, 595 => 156, 591 => 155, 587 => 153, 585 => 152, 578 => 148, 573 => 146, 567 => 144, 564 => 143, 561 => 142, 558 => 141, 555 => 140, 553 => 139, 549 => 137, 546 => 136, 543 => 135, 539 => 133, 536 => 132, 519 => 130, 514 => 129, 511 => 128, 497 => 126, 495 => 125, 492 => 124, 489 => 123, 486 => 122, 483 => 121, 480 => 120, 467 => 118, 462 => 117, 459 => 116, 451 => 114, 449 => 113, 446 => 112, 443 => 111, 426 => 109, 421 => 108, 418 => 107, 404 => 105, 402 => 104, 399 => 103, 396 => 102, 394 => 101, 391 => 100, 388 => 99, 384 => 97, 381 => 96, 375 => 95, 373 => 94, 363 => 91, 357 => 90, 351 => 89, 348 => 88, 343 => 87, 340 => 86, 337 => 85, 326 => 81, 322 => 80, 316 => 79, 313 => 78, 311 => 77, 307 => 75, 297 => 72, 287 => 71, 281 => 70, 272 => 69, 264 => 68, 255 => 67, 253 => 66, 250 => 65, 245 => 62, 242 => 61, 236 => 60, 234 => 59, 224 => 56, 218 => 55, 210 => 54, 207 => 53, 202 => 52, 199 => 51, 197 => 50, 194 => 49, 183 => 46, 179 => 45, 173 => 44, 168 => 42, 164 => 40, 154 => 37, 144 => 36, 138 => 35, 129 => 34, 121 => 33, 112 => 32, 110 => 31, 107 => 30, 105 => 29, 100 => 27, 96 => 25, 94 => 24, 89 => 23, 86 => 22, 83 => 21, 80 => 20, 77 => 19, 75 => 18, 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-product" class="container">*/ /* <ul class="breadcrumb">*/ /* {% for breadcrumb in breadcrumbs %}*/ /* <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/ /* {% endfor %}*/ /* </ul>*/ /* <div class="row">{{ 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 }}*/ /* */ /* <div class="row"> {% if column_left or column_right %}*/ /* {% set class = 'col-sm-6' %}*/ /* {% else %}*/ /* {% set class = 'col-sm-5' %}*/ /* {% endif %}*/ /* <div class="product-image-main {{ class }}">*/ /* {% if use_zoom %}*/ /* <input type="hidden" id="check-use-zoom" value="1" />*/ /* <input type="hidden" id="light-box-position" value="1" />*/ /* <input type="hidden" id="product-identify" value="{{ product_id }}" />*/ /* <div class="lightbox-container"></div>*/ /* {% if use_swatches %}*/ /* <div class="product-zoom-image">*/ /* {% if thumb %}*/ /* <a href="{{ popup }}" class="cloud-zoom main-image" id="product-cloud-zoom" style="width: {{ thumb_dimension.width }}px; height: {{ thumb_dimension.height }}px;"*/ /* rel="{% if zoom_config.bg_status %} tint:'{{ zoom_config.bg_color }}',tintOpacity:{{ zoom_config.bg_opacity }},{% endif %}*/ /* {% if zoom_config.title_status %} showTitle: true {% else %} showTitle: false {% endif %},*/ /* zoomWidth:{{ thumb_dimension.width }},zoomHeight:{{ thumb_dimension.height }},*/ /* {% if zoom_config.position == 'inside' %} position:'inside', adjustX: 0 {% else %} adjustX: {{ zoom_config.space }} {% endif %}">*/ /* <img src="{{ thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" />*/ /* </a>*/ /* {% endif %}*/ /* </div>*/ /* <div class="additional-images owl-carousel owl-theme">*/ /* <!-- {% if thumb %} -->*/ /* <!-- <div class="item"> -->*/ /* <!-- <a class="cloud-zoom-gallery sub-image" id="product-image-default" href="{{ popup }}" title="{{ heading_title }}" -->*/ /* <!-- rel="useZoom: 'product-cloud-zoom', smallImage: '{{ thumb }}'" data-pos="1"> -->*/ /* <!-- <img src="{{ small_image }}" title="{{ heading_title }}" alt="{{ heading_title }}" /> -->*/ /* <!-- </a> -->*/ /* <!-- </div> -->*/ /* <!-- {% endif %} -->*/ /* {% if images %}*/ /* {% set img_count = 2 %}*/ /* {% for image in images %}*/ /* <div class="item">*/ /* <a class="cloud-zoom-gallery sub-image" id="product-image-options-{{ image.product_option_value_id }}" href="{{ image.popup }}" title="{{ heading_title }}"*/ /* rel="useZoom: 'product-cloud-zoom', smallImage: '{{ image.product_image_option }}'" data-pos="{{ img_count }}">*/ /* <img src="{{ image.thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" />*/ /* </a>*/ /* </div>*/ /* {% set img_count = img_count + 1 %}*/ /* {% endfor %}*/ /* {% endif %}*/ /* </div>*/ /* */ /* {% else %}*/ /* <div class="product-zoom-image">*/ /* {% if thumb %}*/ /* <a href="{{ popup }}" class="cloud-zoom main-image" id="product-cloud-zoom" style="width: {{ thumb_dimension.width }}px; height: {{ thumb_dimension.height }}px;"*/ /* rel="{% if zoom_config.bg_status %} tint:'{{ zoom_config.bg_color }}',tintOpacity:{{ zoom_config.bg_opacity }},{% endif %}*/ /* {% if zoom_config.title_status %} showTitle: true {% else %} showTitle: false {% endif %},*/ /* zoomWidth:{{ thumb_dimension.width }},zoomHeight:{{ thumb_dimension.height }},*/ /* {% if zoom_config.position == 'inside' %} position:'inside', adjustX: 0 {% else %} adjustX: {{ zoom_config.space }} {% endif %}">*/ /* <img src="{{ thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" />*/ /* </a>*/ /* {% endif %}*/ /* </div>*/ /* <div class="additional-images owl-carousel owl-theme">*/ /* {% if thumb %}*/ /* <div class="item">*/ /* <a class="cloud-zoom-gallery sub-image" href="{{ popup }}" title="{{ heading_title }}"*/ /* rel="useZoom: 'product-cloud-zoom', smallImage: '{{ thumb }}'" data-pos="1">*/ /* <img src="{{ small_image }}" title="{{ heading_title }}" alt="{{ heading_title }}" />*/ /* </a>*/ /* </div>*/ /* {% endif %}*/ /* {% if images %}*/ /* {% set img_count = 2 %}*/ /* {% for image in images %}*/ /* <div class="item">*/ /* <a class="cloud-zoom-gallery sub-image" href="{{ image.popup }}" title="{{ heading_title }}"*/ /* rel="useZoom: 'product-cloud-zoom', smallImage: '{{ image.product_image_option }}'" data-pos="{{ img_count }}">*/ /* <img src="{{ image.thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" />*/ /* </a>*/ /* </div>*/ /* {% set img_count = img_count + 1 %}*/ /* {% endfor %}*/ /* {% endif %}*/ /* </div>*/ /* {% endif %}*/ /* {% else %}*/ /* <input type="hidden" id="check-use-zoom" value="0" />*/ /* {% if use_swatches %}*/ /* {% if thumb or images %}*/ /* <ul class="thumbnails" id="swatches-image-container">*/ /* {% if thumb %}*/ /* <li><a class="thumbnail swatches-image" href="{{ popup }}" title="{{ heading_title }}"><img src="{{ thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li>*/ /* {% endif %}*/ /* {% if images %}*/ /* {% for image in images %}*/ /* <li class="image-additional"><a class="thumbnail" href="{{ image.popup }}" title="{{ heading_title }}"> <img src="{{ image.thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li>*/ /* {% endfor %}*/ /* {% endif %}*/ /* </ul>*/ /* {% if thumb %}*/ /* <input type="hidden" id="product-image-default" data-thumb="{{ thumb }}" data-popup="{{ popup }}" />*/ /* {% endif %}*/ /* {% if images %}*/ /* {% for image in images %}*/ /* <input type="hidden" id="product-image-options-{{ image.product_option_value_id }}" data-thumb="{{ image.product_image_option }}" data-popup="{{ image.popup }}" />*/ /* {% endfor %}*/ /* {% endif %}*/ /* {% endif %}*/ /* {% else %}*/ /* {% if thumb or images %}*/ /* <ul class="thumbnails">*/ /* {% if thumb %}*/ /* <li><a class="thumbnail" href="{{ popup }}" title="{{ heading_title }}"><img src="{{ thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li>*/ /* {% endif %}*/ /* {% if images %}*/ /* {% for image in images %}*/ /* <li class="image-additional"><a class="thumbnail" href="{{ image.popup }}" title="{{ heading_title }}"> <img src="{{ image.thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li>*/ /* {% endfor %}*/ /* {% endif %}*/ /* </ul>*/ /* {% endif %}*/ /* {% endif %}*/ /* {% endif %}*/ /* */ /* </div>*/ /* {% if column_left or column_right %}*/ /* {% set class = 'col-sm-6' %}*/ /* {% else %}*/ /* {% set class = 'col-sm-7' %}*/ /* {% endif %}*/ /* <div class="{{ class }} product-info-main">*/ /* */ /* <h1 class="product-name">{{ heading_title }}</h1>*/ /* <!-- AddThis Button BEGIN -->*/ /* <div class="addthis_toolbox addthis_default_style" data-url="{{ share }}"><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a></div>*/ /* <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e"></script>*/ /* <!-- AddThis Button END --> */ /* */ /* {% if review_status %}*/ /* <div class="ratings">*/ /* <div class="rating-box">*/ /* {% for i in 0..5 %}*/ /* {% if rating == i %}*/ /* {% set class_r = "rating"~i %}*/ /* <div class="{{ class_r }}">rating</div>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </div>*/ /* <a class="review-count" href="" onclick="$('a[href=\'#tab-review\']').trigger('click'); $('body,html').animate({scrollTop: $('ul.nav-tabs').offset().top}, 800); return false;">{{ reviews }}</a><a href="" onclick="$('a[href=\'#tab-review\']').trigger('click'); $('body,html').animate({scrollTop: $('ul.nav-tabs').offset().top}, 800); return false;">{{ text_write }}</a>*/ /* </div> */ /* {% endif %}*/ /* <ul class="list-unstyled">*/ /* {% if price %}*/ /* */ /* {% if tax %}*/ /* <li>{{ text_tax }} <span class="ex-text">{{ tax }}</span></li>*/ /* {% endif %}*/ /* {% if points %}*/ /* <li>{{ text_points }} <span>{{ points }}</span></li>*/ /* {% endif %}*/ /* {% if discounts %}*/ /* <li>*/ /* <hr>*/ /* </li>*/ /* {% for discount in discounts %}*/ /* <li>{{ discount.quantity }}{{ text_discount }}{{ discount.price }}</li>*/ /* {% endfor %}*/ /* {% endif %}*/ /* */ /* {% endif %}*/ /* {% if manufacturer %}*/ /* <li>{{ text_manufacturer }} <a href="{{ manufacturers }}">{{ manufacturer }}</a></li>*/ /* {% endif %}*/ /* <li>{{ text_model }} <span>{{ model }}</span></li>*/ /* {% if reward %}*/ /* <li>{{ text_reward }} <span>{{ reward }}</span></li>*/ /* {% endif %}*/ /* <li>{{ text_stock }} <span>{{ stock }}</span></li>*/ /* */ /* </ul>*/ /* <p class="short-des">{{ short_description }}</p>*/ /* {% if price %}*/ /* {% if not special %}*/ /* <div class="price-box box-regular">*/ /* <span class="regular-price">*/ /* <span class="price">{{ price }}</span>*/ /* </span>*/ /* </div>*/ /* {% else %}*/ /* <div class="price-box box-special">*/ /* <p class="special-price"><span class="price">{{ special }}</span></p>*/ /* <p class="old-price"><span class="price">{{ price }}</span></p>*/ /* </div>*/ /* {% endif %}*/ /* {% endif %}*/ /* */ /* */ /* */ /* */ /* */ /* */ /* <div id="product"> {% if options %}*/ /* */ /* <h3>{{ text_option }}</h3>*/ /* {% for option in options %}*/ /* {% if use_swatches %}*/ /* {% if option.type == 'select' %}*/ /* {% if option.option_id == swatches_option %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <ul class="ul-swatches-colors" data-product-option="{{ option.product_option_id }}" data-type="select">*/ /* {% for option_value in option.product_option_value %}*/ /* <li class="swatches-options">*/ /* <a href="javascript:void(0);" onclick="swatches.changeOption($(this));" title="{{ option_value.name }} {% if option_value.price %}({{ option_value.price_prefix }}{{ option_value.price }}){% endif %}"*/ /* style="{% if option_value.image %} width: {{ icon_swatches_width }}px; height: {{ icon_swatches_height }}px;*/ /* background-image: url('{{ option_value.image }}') {% endif %}"*/ /* data-product-option-value-id="{{ option_value.product_option_value_id }}">{% if not option_value.image %} {{ option_value.name }} {% endif %}</a>*/ /* </li>*/ /* {% endfor %}*/ /* <li class="swatches-info"></li>*/ /* </ul>*/ /* <select name="option[{{ option.product_option_id }}]" id="input-option{{ option.product_option_id }}" class="form-control option-swatches">*/ /* <option value="0">{{ text_select }}</option>*/ /* {% for option_value in option.product_option_value %}*/ /* <option value="{{ option_value.product_option_value_id }}">{{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </option>*/ /* {% endfor %}*/ /* </select>*/ /* </div>*/ /* {% else %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <select name="option[{{ option.product_option_id }}]" id="input-option{{ option.product_option_id }}" class="form-control">*/ /* <option value="">{{ text_select }}</option>*/ /* {% for option_value in option.product_option_value %}*/ /* <option value="{{ option_value.product_option_value_id }}">{{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </option>*/ /* {% endfor %}*/ /* </select>*/ /* </div>*/ /* {% endif %}*/ /* {% endif %}*/ /* {% if option.type == 'radio' %}*/ /* {% if option.option_id == swatches_option %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label">{{ option.name }}</label>*/ /* <ul class="ul-swatches-colors" data-product-option="{{ option.product_option_id }}" data-type="radio">*/ /* {% for option_value in option.product_option_value %}*/ /* <li class="swatches-options">*/ /* <a href="javascript:void(0);" onclick="swatches.changeOption($(this));" title="{{ option_value.name }} {% if option_value.price %}({{ option_value.price_prefix }}{{ option_value.price }}){% endif %}"*/ /* style="{% if option_value.image %} width: {{ icon_swatches_width }}px; height: {{ icon_swatches_height }}px;*/ /* background-image: url('{{ option_value.image }}') {% endif %}"*/ /* data-product-option-value-id="{{ option_value.product_option_value_id }}">{% if not option_value.image %} {{ option_value.name }} {% endif %}</a>*/ /* </li>*/ /* {% endfor %}*/ /* <li class="swatches-info"></li>*/ /* </ul>*/ /* <div class="option-swatches" id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %}*/ /* <div class="radio">*/ /* <label>*/ /* <input type="radio" class="radio-option-value" id="radio-option-value-{{ option_value.product_option_value_id }}" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />*/ /* {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}*/ /* {{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </label>*/ /* </div>*/ /* {% endfor %} </div>*/ /* </div>*/ /* {% else %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label">{{ option.name }}</label>*/ /* <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %}*/ /* <div class="radio">*/ /* <label>*/ /* <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />*/ /* {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}*/ /* {{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </label>*/ /* </div>*/ /* {% endfor %} </div>*/ /* </div>*/ /* {% endif %}*/ /* {% endif %}*/ /* {% else %}*/ /* {% if option.type == 'select' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <select name="option[{{ option.product_option_id }}]" id="input-option{{ option.product_option_id }}" class="form-control">*/ /* <option value="">{{ text_select }}</option>*/ /* {% for option_value in option.product_option_value %}*/ /* <option value="{{ option_value.product_option_value_id }}">{{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </option>*/ /* {% endfor %}*/ /* </select>*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'radio' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label">{{ option.name }}</label>*/ /* <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %}*/ /* <div class="radio">*/ /* <label>*/ /* <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />*/ /* {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}*/ /* {{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </label>*/ /* </div>*/ /* {% endfor %} </div>*/ /* </div>*/ /* {% endif %}*/ /* {% endif %}*/ /* {% if option.type == 'checkbox' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label">{{ option.name }}</label>*/ /* <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %}*/ /* <div class="checkbox">*/ /* <label>*/ /* <input type="checkbox" name="option[{{ option.product_option_id }}][]" value="{{ option_value.product_option_value_id }}" />*/ /* {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}*/ /* {{ option_value.name }}*/ /* {% if option_value.price %}*/ /* ({{ option_value.price_prefix }}{{ option_value.price }})*/ /* {% endif %} </label>*/ /* </div>*/ /* {% endfor %} </div>*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'text' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" placeholder="{{ option.name }}" id="input-option{{ option.product_option_id }}" class="form-control" />*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'textarea' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <textarea name="option[{{ option.product_option_id }}]" rows="5" placeholder="{{ option.name }}" id="input-option{{ option.product_option_id }}" class="form-control">{{ option.value }}</textarea>*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'file' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label">{{ option.name }}</label>*/ /* <button type="button" id="button-upload{{ option.product_option_id }}" data-loading-text="{{ text_loading }}" class="btn btn-default btn-block"><i class="fa fa-upload"></i> {{ button_upload }}</button>*/ /* <input type="hidden" name="option[{{ option.product_option_id }}]" value="" id="input-option{{ option.product_option_id }}" />*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'date' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <div class="input-group date">*/ /* <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="YYYY-MM-DD" id="input-option{{ option.product_option_id }}" class="form-control" />*/ /* <span class="input-group-btn">*/ /* <button class="btn btn-default" type="button"><i class="fa fa-calendar"></i></button>*/ /* </span></div>*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'datetime' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <div class="input-group datetime">*/ /* <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="YYYY-MM-DD HH:mm" id="input-option{{ option.product_option_id }}" class="form-control" />*/ /* <span class="input-group-btn">*/ /* <button type="button" class="btn btn-default"><i class="fa fa-calendar"></i></button>*/ /* </span></div>*/ /* </div>*/ /* {% endif %}*/ /* {% if option.type == 'time' %}*/ /* <div class="form-group{% if option.required %} required {% endif %}">*/ /* <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/ /* <div class="input-group time">*/ /* <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="HH:mm" id="input-option{{ option.product_option_id }}" class="form-control" />*/ /* <span class="input-group-btn">*/ /* <button type="button" class="btn btn-default"><i class="fa fa-calendar"></i></button>*/ /* </span></div>*/ /* </div>*/ /* {% endif %}*/ /* {% endfor %}*/ /* {% endif %}*/ /* {% if recurrings %}*/ /* <hr>*/ /* <h3>{{ text_payment_recurring }}</h3>*/ /* <div class="form-group required">*/ /* <select name="recurring_id" class="form-control">*/ /* <option value="">{{ text_select }}</option>*/ /* {% for recurring in recurrings %}*/ /* <option value="{{ recurring.recurring_id }}">{{ recurring.name }}</option>*/ /* {% endfor %}*/ /* </select>*/ /* <div class="help-block" id="recurring-description"></div>*/ /* </div>*/ /* {% endif %}*/ /* <div class="form-group">*/ /* <label class="control-label" for="input-quantity">{{ entry_qty }}</label>*/ /* <input type="text" name="quantity" value="{{ minimum }}" size="2" id="input-quantity" class="form-control" />*/ /* <input type="hidden" name="product_id" value="{{ product_id }}" />*/ /* */ /* <button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn button button-cart" title="{{ button_cart }}">{{ button_cart }}</button>*/ /* <button type="button" class="btn btn-default button btn-compare" title="{{ button_compare }}" onclick="compare.add('{{ product_id }}');">{{ button_compare }}</button>*/ /* <button type="button" class="btn btn-default button btn-wishlist" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product_id }}');">{{ button_wishlist }}</button>*/ /* */ /* </div>*/ /* {% if minimum > 1 %}*/ /* <div class="alert alert-info"><i class="fa fa-info-circle"></i> {{ text_minimum }}</div>*/ /* {% endif %}</div>*/ /* */ /* {% if tags %}*/ /* <p>{{ text_tags }}*/ /* {% for i in 0..tags|length %}*/ /* {% if i < (tags|length - 1) %} <a href="{{ tags[i].href }}">{{ tags[i].tag }}</a>,*/ /* {% else %} <a href="{{ tags[i].href }}">{{ tags[i].tag }}</a> {% endif %}*/ /* {% endfor %} </p>*/ /* {% endif %}*/ /* */ /* */ /* </div>*/ /* </div>*/ /* <div class="product-info-detailed">*/ /* <ul class="nav nav-tabs">*/ /* <li class="active"><a href="#tab-description" data-toggle="tab">{{ tab_description }}</a></li>*/ /* {% if attribute_groups %}*/ /* <li><a href="#tab-specification" data-toggle="tab">{{ tab_attribute }}</a></li>*/ /* {% endif %}*/ /* {% if review_status %}*/ /* <li><a href="#tab-review" data-toggle="tab">{{ tab_review }}</a></li>*/ /* {% endif %}*/ /* </ul>*/ /* <div class="tab-content">*/ /* <div class="tab-pane active" id="tab-description">{{ description }}</div>*/ /* {% if attribute_groups %}*/ /* <div class="tab-pane" id="tab-specification">*/ /* <table class="table table-bordered">*/ /* {% for attribute_group in attribute_groups %}*/ /* <thead>*/ /* <tr>*/ /* <td colspan="2"><strong>{{ attribute_group.name }}</strong></td>*/ /* </tr>*/ /* </thead>*/ /* <tbody>*/ /* {% for attribute in attribute_group.attribute %}*/ /* <tr>*/ /* <td>{{ attribute.name }}</td>*/ /* <td>{{ attribute.text }}</td>*/ /* </tr>*/ /* {% endfor %}*/ /* </tbody>*/ /* {% endfor %}*/ /* </table>*/ /* </div>*/ /* {% endif %}*/ /* {% if review_status %}*/ /* <div class="tab-pane" id="tab-review">*/ /* <form class="form-horizontal" id="form-review">*/ /* <div id="review"></div>*/ /* <h2>{{ text_write }}</h2>*/ /* {% if review_guest %}*/ /* <div class="form-group required">*/ /* <div class="col-sm-12">*/ /* <label class="control-label" for="input-name">{{ entry_name }}</label>*/ /* <input type="text" name="name" value="{{ customer_name }}" id="input-name" class="form-control" />*/ /* </div>*/ /* </div>*/ /* <div class="form-group required">*/ /* <div class="col-sm-12">*/ /* <label class="control-label" for="input-review">{{ entry_review }}</label>*/ /* <textarea name="text" rows="5" id="input-review" class="form-control"></textarea>*/ /* <div class="help-block">{{ text_note }}</div>*/ /* </div>*/ /* </div>*/ /* <div class="form-group required">*/ /* <div class="col-sm-12">*/ /* <label class="control-label">{{ entry_rating }}</label>*/ /* {{ entry_bad }} */ /* <input type="radio" name="rating" value="1" />*/ /* */ /* <input type="radio" name="rating" value="2" />*/ /* */ /* <input type="radio" name="rating" value="3" />*/ /* */ /* <input type="radio" name="rating" value="4" />*/ /* */ /* <input type="radio" name="rating" value="5" />*/ /* {{ entry_good }}</div>*/ /* </div>*/ /* {{ captcha }}*/ /* <div class="buttons clearfix">*/ /* <div class="pull-right">*/ /* <button type="button" id="button-review" data-loading-text="{{ text_loading }}" class="btn btn-primary">{{ button_continue }}</button>*/ /* </div>*/ /* </div>*/ /* {% else %}*/ /* {{ text_login }}*/ /* {% endif %}*/ /* </form>*/ /* </div>*/ /* {% endif %}</div>*/ /* </div>*/ /* <div class="related-products module-grid module-nav2">*/ /* <div class="module-title">*/ /* <h2>{{ text_related }}</h2>*/ /* */ /* </div>*/ /* */ /* <div class="owl-container">*/ /* <div class="related-container tt-product owl-carousel owl-theme">*/ /* {% set rows = 1 %}*/ /* {% set count = 0 %}*/ /* {% for product in products %}*/ /* {% if count % rows == 0 %}*/ /* <div class="row_items">*/ /* {% endif %}*/ /* {% set count = count + 1 %}*/ /* <div class="product-layout grid-style">*/ /* <div class="product-thumb transition">*/ /* <div class="item"> */ /* <div class="item-inner">*/ /* <div class="caption">*/ /* <div class="inner">*/ /* {% 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 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 %}*/ /* <div class="action-links">*/ /* <button class="button btn-cart" type="button" title="{{ button_cart }}" onclick="cart.add('{{ product.product_id }}');"><span>{{ button_cart }}</span></button>*/ /* <button class="button btn-compare" type="button" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><span>{{ button_compare }}</span></button>*/ /* <button class="button btn-wishlist" type="button" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><span>{{ button_wishlist }}</span></button>*/ /* </div>*/ /* </div>*/ /* </div><!-- caption -->*/ /* <div class="image images-container">*/ /* <a href="{{ product.href }}" class="product-image">*/ /* {% if 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 product.is_new %}*/ /* <div class="label-product label_new">{{ text_label_new }}</div>*/ /* {% endif %}*/ /* {% if product.special %}*/ /* <div class="label-product label_sale">{{ '-' ~ product.rate_special ~ '% ' ~ text_label_sale }}</div>*/ /* {% endif %}*/ /* </div>*/ /* */ /* */ /* </div><!-- image -->*/ /* */ /* </div>*/ /* </div>*/ /* </div><!-- product-thumb --> */ /* </div><!-- product-layout --> */ /* {% if (count % rows == 0) or (count == products|length ) %}*/ /* </div>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </div>*/ /* </div>*/ /* */ /* </div>*/ /* */ /* {{ content_bottom }}</div>*/ /* {{ column_right }}</div>*/ /* </div>*/ /* <script type="text/javascript"><!--*/ /* $(document).ready(function() {*/ /* $('body').addClass('product-details');*/ /* $('.related-container').owlCarousel({*/ /* nav: true,*/ /* dots: false,*/ /* navSpeed: 1000,*/ /* margin: 0,*/ /* responsive:{*/ /* 0:{*/ /* items: 1,*/ /* nav: false*/ /* },*/ /* 480:{*/ /* items: 2,*/ /* nav: false*/ /* },*/ /* 768:{*/ /* items: 2*/ /* },*/ /* 992:{*/ /* items: 3*/ /* },*/ /* 1200:{*/ /* items: 4*/ /* }*/ /* */ /* },*/ /* onInitialized: function() {*/ /* owlAction();*/ /* },*/ /* onTranslated: function() {*/ /* owlAction();*/ /* } */ /* });*/ /* function owlAction() {*/ /* $(".related-container .owl-item").removeClass('first');*/ /* $(".related-container .owl-item").removeClass('last');*/ /* $(".related-container .owl-item").removeClass('before-active');*/ /* $(".related-container .owl-item.active:first").addClass('first');*/ /* $(".related-container .owl-item.active:last").addClass('last');*/ /* $('.related-container .owl-item.active:first').prev().addClass('before-active');*/ /* }*/ /* });*/ /* */ /* */ /* */ /* $('select[name=\'recurring_id\'], input[name="quantity"]').change(function(){*/ /* $.ajax({*/ /* url: 'index.php?route=product/product/getRecurringDescription',*/ /* type: 'post',*/ /* data: $('input[name=\'product_id\'], input[name=\'quantity\'], select[name=\'recurring_id\']'),*/ /* dataType: 'json',*/ /* beforeSend: function() {*/ /* $('#recurring-description').html('');*/ /* },*/ /* success: function(json) {*/ /* $('.alert-dismissible, .text-danger').remove();*/ /* */ /* if (json['success']) {*/ /* $('#recurring-description').html(json['success']);*/ /* }*/ /* }*/ /* });*/ /* });*/ /* //--></script>*/ /* <script type="text/javascript"><!--*/ /* $('#button-cart').on('click', function() {*/ /* $.ajax({*/ /* url: 'index.php?route=checkout/cart/add',*/ /* type: 'post',*/ /* data: $('#product input[type=\'text\'], #product input[type=\'hidden\'], #product input[type=\'radio\']:checked, #product input[type=\'checkbox\']:checked, #product select, #product textarea'),*/ /* dataType: 'json',*/ /* beforeSend: function() {*/ /* $('#button-cart').button('loading');*/ /* },*/ /* complete: function() {*/ /* $('#button-cart').button('reset');*/ /* },*/ /* success: function(json) {*/ /* $('.alert-dismissible, .text-danger').remove();*/ /* $('.form-group').removeClass('has-error');*/ /* */ /* if (json['error']) {*/ /* if (json['error']['option']) {*/ /* for (i in json['error']['option']) {*/ /* var element = $('#input-option' + i.replace('_', '-'));*/ /* */ /* if (element.parent().hasClass('input-group')) {*/ /* element.parent().after('<div class="text-danger">' + json['error']['option'][i] + '</div>');*/ /* } else {*/ /* element.after('<div class="text-danger">' + json['error']['option'][i] + '</div>');*/ /* }*/ /* }*/ /* }*/ /* */ /* if (json['error']['recurring']) {*/ /* $('select[name=\'recurring_id\']').after('<div class="text-danger">' + json['error']['recurring'] + '</div>');*/ /* }*/ /* */ /* // Highlight any found errors*/ /* $('.text-danger').parent().addClass('has-error');*/ /* }*/ /* */ /* if (json['success']) {*/ /* $('.breadcrumb').after('<div class="alert alert-success alert-dismissible">' + json['success'] + '<button type="button" class="close" data-dismiss="alert">×</button></div>');*/ /* */ /* $('#cart > button').html('<span id="cart-total">' + json['total'] + '</span>');*/ /* */ /* $('html, body').animate({ scrollTop: 0 }, 'slow');*/ /* */ /* $('#cart > ul').load('index.php?route=common/cart/info ul li');*/ /* }*/ /* },*/ /* error: function(xhr, ajaxOptions, thrownError) {*/ /* alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);*/ /* }*/ /* });*/ /* });*/ /* //--></script>*/ /* <script type="text/javascript"><!--*/ /* $('.date').datetimepicker({*/ /* language: '{{ datepicker }}',*/ /* pickTime: false*/ /* });*/ /* */ /* $('.datetime').datetimepicker({*/ /* language: '{{ datepicker }}',*/ /* pickDate: true,*/ /* pickTime: true*/ /* });*/ /* */ /* $('.time').datetimepicker({*/ /* language: '{{ datepicker }}',*/ /* pickDate: false*/ /* });*/ /* */ /* $('button[id^=\'button-upload\']').on('click', function() {*/ /* var node = this;*/ /* */ /* $('#form-upload').remove();*/ /* */ /* $('body').prepend('<form enctype="multipart/form-data" id="form-upload" style="display: none;"><input type="file" name="file" /></form>');*/ /* */ /* $('#form-upload input[name=\'file\']').trigger('click');*/ /* */ /* if (typeof timer != 'undefined') {*/ /* clearInterval(timer);*/ /* }*/ /* */ /* timer = setInterval(function() {*/ /* if ($('#form-upload input[name=\'file\']').val() != '') {*/ /* clearInterval(timer);*/ /* */ /* $.ajax({*/ /* url: 'index.php?route=tool/upload',*/ /* type: 'post',*/ /* dataType: 'json',*/ /* data: new FormData($('#form-upload')[0]),*/ /* cache: false,*/ /* contentType: false,*/ /* processData: false,*/ /* beforeSend: function() {*/ /* $(node).button('loading');*/ /* },*/ /* complete: function() {*/ /* $(node).button('reset');*/ /* },*/ /* success: function(json) {*/ /* $('.text-danger').remove();*/ /* */ /* if (json['error']) {*/ /* $(node).parent().find('input').after('<div class="text-danger">' + json['error'] + '</div>');*/ /* }*/ /* */ /* if (json['success']) {*/ /* alert(json['success']);*/ /* */ /* $(node).parent().find('input').val(json['code']);*/ /* }*/ /* },*/ /* error: function(xhr, ajaxOptions, thrownError) {*/ /* alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);*/ /* }*/ /* });*/ /* }*/ /* }, 500);*/ /* });*/ /* //--></script>*/ /* <script type="text/javascript"><!--*/ /* $('#review').delegate('.pagination a', 'click', function(e) {*/ /* e.preventDefault();*/ /* */ /* $('#review').fadeOut('slow');*/ /* */ /* $('#review').load(this.href);*/ /* */ /* $('#review').fadeIn('slow');*/ /* });*/ /* */ /* $('#review').load('index.php?route=product/product/review&product_id={{ product_id }}');*/ /* */ /* $('#button-review').on('click', function() {*/ /* $.ajax({*/ /* url: 'index.php?route=product/product/write&product_id={{ product_id }}',*/ /* type: 'post',*/ /* dataType: 'json',*/ /* data: $("#form-review").serialize(),*/ /* beforeSend: function() {*/ /* $('#button-review').button('loading');*/ /* },*/ /* complete: function() {*/ /* $('#button-review').button('reset');*/ /* },*/ /* success: function(json) {*/ /* $('.alert-dismissible').remove();*/ /* */ /* if (json['error']) {*/ /* $('#review').after('<div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> ' + json['error'] + '</div>');*/ /* }*/ /* */ /* if (json['success']) {*/ /* $('#review').after('<div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> ' + json['success'] + '</div>');*/ /* */ /* $('input[name=\'name\']').val('');*/ /* $('textarea[name=\'text\']').val('');*/ /* $('input[name=\'rating\']:checked').prop('checked', false);*/ /* }*/ /* }*/ /* });*/ /* });*/ /* */ /* {% if not use_zoom %}*/ /* $(document).ready(function() {*/ /* $('.thumbnails').magnificPopup({*/ /* type:'image',*/ /* delegate: 'a',*/ /* gallery: {*/ /* enabled: true*/ /* }*/ /* });*/ /* });*/ /* {% endif %}*/ /* //--></script>*/ /* {{ footer }} */ /* */