<?php

/* journal3/template/product/product.twig */
class __TwigTemplate_9490e20a2da4f09b027d1c3ee55dc4d1383f8e0bd938c588b9638806ea494daa 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
        $context["stylePrefix"] = (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method")) ? ("quickviewPageStyle") : ("productPageStyle"));
        // line 2
        $context["optionPrice"] = $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "OptionPrice")), "method");
        // line 3
        $context["direction"] = (((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesPosition")), "method") == "left") || ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesPosition")), "method") == "right"))) ? ("vertical") : ("horizontal"));
        // line 4
        $context["carousel"] = (((isset($context["direction"]) ? $context["direction"] : null) == "vertical") || $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesCarousel")), "method"));
        // line 5
        $context["carouselOptions"] = array("slidesPerView" => "auto", "spaceBetween" => (($this->getAttribute($this->getAttribute(        // line 7
(isset($context["j3"]) ? $context["j3"] : null), "settings", array(), "any", false, true), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesSpacing")), "method", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array(), "any", false, true), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesSpacing")), "method"), 0)) : (0)), "direction" =>         // line 8
(isset($context["direction"]) ? $context["direction"] : null));
        // line 10
        $context["galleryOptions"] = array("thumbWidth" => $this->getAttribute($this->getAttribute(        // line 11
(isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "image_dimensions_popup_thumb.width"), "method"), "thumbConHeight" => $this->getAttribute($this->getAttribute(        // line 12
(isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "image_dimensions_popup_thumb.height"), "method"), "addClass" => "lg-product-images", "mode" => $this->getAttribute($this->getAttribute(        // line 14
(isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "GalleryMode")), "method"), "download" => $this->getAttribute($this->getAttribute(        // line 15
(isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "GalleryDownload")), "method"), "fullScreen" => $this->getAttribute($this->getAttribute(        // line 16
(isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "GalleryFullScreen")), "method"));
        // line 18
        $context["quickviewExpand"] = ((( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewExpandButton"), "method") || ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "globalExpandCharactersLimit"), "method") > 0) && (isset($context["description"]) ? $context["description"] : null)) && (twig_length_filter($this->env, (isset($context["description"]) ? $context["description"] : null)) <= $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "globalExpandCharactersLimit"), "method"))))) ? ("no-expand") : (""));
        // line 19
        if ($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "isDescriptionEmpty", array(0 => (isset($context["description"]) ? $context["description"] : null)), "method")) {
            // line 20
            $context["description"] = "";
        }
        // line 22
        echo (isset($context["header"]) ? $context["header"] : null);
        echo "
";
        // line 23
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) {
            // line 24
            echo "<ul class=\"breadcrumb\">
  ";
            // line 25
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
                // line 26
                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 28
            echo "</ul>
";
            // line 29
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "pageTitlePosition"), "method") == "top")) {
                // line 30
                echo "  <h1 class=\"title page-title\"><span>";
                echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                echo "</span></h1>
";
            }
            // line 32
            echo $this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "loadController", array(0 => "journal3/layout", 1 => "top"), "method");
            echo "
<div id=\"product-product\" class=\"container\">
  <div class=\"row\">";
            // line 34
            echo (isset($context["column_left"]) ? $context["column_left"] : null);
            echo "
    <div id=\"content\" class=\"";
            // line 35
            echo (isset($context["class"]) ? $context["class"] : null);
            echo "\">
      ";
        }
        // line 37
        echo "      ";
        echo (isset($context["content_top"]) ? $context["content_top"] : null);
        echo "
      ";
        // line 38
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
            // line 39
            echo "        ";
            if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "pageTitlePosition"), "method") == "default") || $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method"))) {
                // line 40
                echo "          <h1 class=\"title page-title\">";
                echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                echo "</h1>
        ";
            }
            // line 42
            echo "      ";
        }
        // line 43
        echo "      ";
        $context["classes"] = (($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "classes", array(0 => array("out-of-stock" => (        // line 44
(isset($context["product_quantity"]) ? $context["product_quantity"] : null) <= 0), "has-countdown" =>         // line 45
(isset($context["date_end"]) ? $context["date_end"] : null), "has-zero-price" =>  !        // line 46
(isset($context["product_price_value"]) ? $context["product_price_value"] : null), "has-extra-button" =>         // line 47
(isset($context["product_extra_buttons"]) ? $context["product_extra_buttons"] : null))), "method") . " ") .         // line 48
(isset($context["product_exclude_classes"]) ? $context["product_exclude_classes"] : null));
        // line 49
        echo "      <div class=\"product-info ";
        echo (isset($context["classes"]) ? $context["classes"] : null);
        echo "\">
        ";
        // line 50
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
            // line 51
            echo "        <div class=\"product-left\">
          <div class=\"product-image direction-";
            // line 52
            echo (isset($context["direction"]) ? $context["direction"] : null);
            echo " position-";
            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesPosition")), "method");
            echo "\">
            <div class=\"swiper main-image\" data-options='";
            // line 53
            echo twig_jsonencode_filter($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "carousel", array(0 => $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "getJs", array(), "method"), 1 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ImageCarouselStyle")), "method"), twig_constant("JSON_FORCE_OBJECT"));
            echo "' ";
            if (((((twig_length_filter($this->env, (isset($context["images"]) ? $context["images"] : null)) > 1) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesStatus")), "method")) && (isset($context["carousel"]) ? $context["carousel"] : null)) && ((isset($context["direction"]) ? $context["direction"] : null) == "vertical"))) {
                echo "style=\"width: calc(100% - ";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "image_dimensions_additional.width"), "method");
                echo "px)\"";
            }
            echo ">
              <div class=\"swiper-container\" ";
            // line 54
            if ($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "isRTL", array(), "method")) {
                echo "dir=\"rtl\"";
            }
            echo ">
                <div class=\"swiper-wrapper\">
                  ";
            // line 56
            $context["gallery"] = array();
            // line 57
            echo "                  ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
                // line 58
                echo "                    ";
                $context["gallery"] = twig_array_merge((isset($context["gallery"]) ? $context["gallery"] : null), array(0 => array("src" => $this->getAttribute($context["image"], "popup", array()), "thumb" => $this->getAttribute($context["image"], "galleryThumb", array()), "subHtml" => (isset($context["heading_title"]) ? $context["heading_title"] : null))));
                // line 59
                echo "                    <div class=\"swiper-slide\" ";
                if (( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "GalleryStatus")), "method"))) {
                    echo " data-gallery=\".lightgallery-product-images\" data-index=\"";
                    echo $this->getAttribute($context["loop"], "index0", array());
                    echo "\" ";
                }
                echo ">
                      <img src=\"";
                // line 60
                echo $this->getAttribute($context["image"], "image", array());
                echo "\" ";
                if ($this->getAttribute($context["image"], "image2x", array())) {
                    echo "srcset=\"";
                    echo $this->getAttribute($context["image"], "image", array());
                    echo " 1x, ";
                    echo $this->getAttribute($context["image"], "image2x", array());
                    echo " 2x\"";
                }
                echo " data-largeimg=\"";
                echo $this->getAttribute($context["image"], "popup", array());
                echo "\" alt=\"";
                echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                echo "\" title=\"";
                echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                echo "\" width=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "image_dimensions_thumb.width"), "method");
                echo "\" height=\"";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "image_dimensions_thumb.height"), "method");
                echo "\"/>
                    </div>
                  ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 63
            echo "                </div>
              </div>
              <div class=\"swiper-controls\">
                <div class=\"swiper-buttons\">
                  <div class=\"swiper-button-prev\"></div>
                  <div class=\"swiper-button-next\"></div>
                </div>
                <div class=\"swiper-pagination\"></div>
              </div>
              ";
            // line 72
            if ((isset($context["product_labels"]) ? $context["product_labels"] : null)) {
                // line 73
                echo "                <div class=\"product-labels\">
                  ";
                // line 74
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["product_labels"]) ? $context["product_labels"] : null));
                foreach ($context['_seq'] as $context["id"] => $context["label"]) {
                    // line 75
                    echo "                    <span class=\"product-label product-label-";
                    echo $context["id"];
                    echo " product-label-";
                    echo $this->getAttribute($context["label"], "display", array());
                    echo "\"><b>";
                    echo $this->getAttribute($context["label"], "label", array());
                    echo "</b></span>
                  ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['id'], $context['label'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 77
                echo "                </div>
              ";
            }
            // line 79
            echo "            </div>
            ";
            // line 80
            if (((twig_length_filter($this->env, (isset($context["images"]) ? $context["images"] : null)) > 1) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "AdditionalImagesStatus")), "method"))) {
                // line 81
                echo "              ";
                if ((isset($context["carousel"]) ? $context["carousel"] : null)) {
                    // line 82
                    echo "                <div class=\"swiper additional-images\" data-options='";
                    echo twig_jsonencode_filter((isset($context["carouselOptions"]) ? $context["carouselOptions"] : null), twig_constant("JSON_FORCE_OBJECT"));
                    echo "' ";
                    if (((isset($context["direction"]) ? $context["direction"] : null) == "vertical")) {
                        echo "style=\"width: ";
                        echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "image_dimensions_additional.width"), "method");
                        echo "px\"";
                    }
                    echo ">
                  <div class=\"swiper-container\" ";
                    // line 83
                    if ($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "isRTL", array(), "method")) {
                        echo "dir=\"rtl\"";
                    }
                    echo ">
                    <div class=\"swiper-wrapper\">
                      ";
                    // line 85
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null));
                    $context['loop'] = array(
                      'parent' => $context['_parent'],
                      'index0' => 0,
                      'index'  => 1,
                      'first'  => true,
                    );
                    if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                        $length = count($context['_seq']);
                        $context['loop']['revindex0'] = $length - 1;
                        $context['loop']['revindex'] = $length;
                        $context['loop']['length'] = $length;
                        $context['loop']['last'] = 1 === $length;
                    }
                    foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
                        // line 86
                        echo "                        <div class=\"swiper-slide additional-image\" data-index=\"";
                        echo $this->getAttribute($context["loop"], "index0", array());
                        echo "\">
                          <img src=\"";
                        // line 87
                        echo $this->getAttribute($context["image"], "thumb", array());
                        echo "\" ";
                        if ($this->getAttribute($context["image"], "thumb2x", array())) {
                            echo "srcset=\"";
                            echo $this->getAttribute($context["image"], "thumb", array());
                            echo " 1x, ";
                            echo $this->getAttribute($context["image"], "thumb2x", array());
                            echo " 2x\"";
                        }
                        echo " alt=\"";
                        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                        echo "\" title=\"";
                        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                        echo "\"/>
                        </div>
                      ";
                        ++$context['loop']['index0'];
                        ++$context['loop']['index'];
                        $context['loop']['first'] = false;
                        if (isset($context['loop']['length'])) {
                            --$context['loop']['revindex0'];
                            --$context['loop']['revindex'];
                            $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                        }
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 90
                    echo "                    </div>
                  </div>
                  <div class=\"swiper-buttons\">
                    <div class=\"swiper-button-prev\"></div>
                    <div class=\"swiper-button-next\"></div>
                  </div>
                  <div class=\"swiper-pagination\"></div>
                </div>
              ";
                } else {
                    // line 99
                    echo "                <div class=\"additional-images\">
                  ";
                    // line 100
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable((isset($context["images"]) ? $context["images"] : null));
                    $context['loop'] = array(
                      'parent' => $context['_parent'],
                      'index0' => 0,
                      'index'  => 1,
                      'first'  => true,
                    );
                    if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                        $length = count($context['_seq']);
                        $context['loop']['revindex0'] = $length - 1;
                        $context['loop']['revindex'] = $length;
                        $context['loop']['length'] = $length;
                        $context['loop']['last'] = 1 === $length;
                    }
                    foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
                        // line 101
                        echo "                    <div class=\"additional-image\" data-index=\"";
                        echo $this->getAttribute($context["loop"], "index0", array());
                        echo "\">
                      <img src=\"";
                        // line 102
                        echo $this->getAttribute($context["image"], "thumb", array());
                        echo "\" alt=\"";
                        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                        echo "\" title=\"";
                        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
                        echo "\"/>
                    </div>
                  ";
                        ++$context['loop']['index0'];
                        ++$context['loop']['index'];
                        $context['loop']['first'] = false;
                        if (isset($context['loop']['length'])) {
                            --$context['loop']['revindex0'];
                            --$context['loop']['revindex'];
                            $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                        }
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 105
                    echo "                </div>
              ";
                }
                // line 107
                echo "            ";
            }
            // line 108
            echo "          </div>
          ";
            // line 109
            if (( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "GalleryStatus")), "method"))) {
                // line 110
                echo "          <div class=\"lightgallery lightgallery-product-images\" data-images='";
                echo twig_escape_filter($this->env, twig_jsonencode_filter((isset($context["gallery"]) ? $context["gallery"] : null)));
                echo "' data-options='";
                echo twig_jsonencode_filter((isset($context["galleryOptions"]) ? $context["galleryOptions"] : null), twig_constant("JSON_FORCE_OBJECT"));
                echo "'></div>
          ";
            }
            // line 112
            echo "          ";
            if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
                // line 113
                echo "            ";
                if ($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "image", array())) {
                    // line 114
                    echo "            <div class=\"product-blocks blocks-image\">
              ";
                    // line 115
                    echo twig_join_filter($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "image", array()));
                    echo "
            </div>
            ";
                }
                // line 118
                echo "          ";
            }
            // line 119
            echo "          ";
            if (((((isset($context["description"]) ? $context["description"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method")) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewDescription"), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewDescriptionPosition"), "method") == "image"))) {
                // line 120
                echo "            <div class=\"description ";
                echo (isset($context["quickviewExpand"]) ? $context["quickviewExpand"] : null);
                echo "\">
              <div class=\"expand-block\">
                <div class=\"expand-content\">
                  ";
                // line 123
                echo (isset($context["description"]) ? $context["description"] : null);
                echo "
                </div>
                ";
                // line 125
                if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewExpandButton"), "method")) {
                    // line 126
                    echo "                  <div class=\"block-expand-overlay\"><a class=\"block-expand btn\"></a></div>
                ";
                }
                // line 128
                echo "              </div>
            </div>
          ";
            }
            // line 131
            echo "          ";
            if ((((isset($context["tags"]) ? $context["tags"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "TagsPosition")), "method") == "image"))) {
                // line 132
                echo "            <div class=\"tags\">
              <span class=\"tags-title\">";
                // line 133
                echo (isset($context["text_tags"]) ? $context["text_tags"] : null);
                echo "</span>
              ";
                // line 134
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["tags"]) ? $context["tags"] : null));
                $context['loop'] = array(
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                );
                if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] = $length - 1;
                    $context['loop']['revindex'] = $length;
                    $context['loop']['length'] = $length;
                    $context['loop']['last'] = 1 === $length;
                }
                foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
                    // line 135
                    echo "                <a href=\"";
                    echo $this->getAttribute($context["tag"], "href", array());
                    echo "\">";
                    echo $this->getAttribute($context["tag"], "tag", array());
                    echo "</a>
                ";
                    // line 136
                    if ( !$this->getAttribute($context["loop"], "last", array())) {
                        echo "<b>,</b>";
                    }
                    // line 137
                    echo "              ";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if (isset($context['loop']['length'])) {
                        --$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 138
                echo "            </div>
          ";
            }
            // line 140
            echo "        </div>
        ";
        }
        // line 142
        echo "        <div class=\"product-right\">
          <div id=\"product\" class=\"product-details\">
          ";
        // line 144
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
            // line 145
            echo "          <div class=\"title page-title\">";
            echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
            echo "</div>
          ";
            // line 146
            if ($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "top", array())) {
                // line 147
                echo "          <div class=\"product-blocks blocks-top\">
          ";
                // line 148
                echo twig_join_filter($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "top", array()));
                echo "
          </div>
          ";
            }
            // line 151
            echo "          ";
        }
        // line 152
        echo "
          ";
        // line 153
        if (((((isset($context["description"]) ? $context["description"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method")) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewDescription"), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewDescriptionPosition"), "method") == "top"))) {
            // line 154
            echo "            <div class=\"description ";
            echo (isset($context["quickviewExpand"]) ? $context["quickviewExpand"] : null);
            echo "\">
              <div class=\"expand-block\">
                <div class=\"expand-content\">
                  ";
            // line 157
            echo (isset($context["description"]) ? $context["description"] : null);
            echo "
                </div>
                ";
            // line 159
            if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewExpandButton"), "method")) {
                // line 160
                echo "                  <div class=\"block-expand-overlay\"><a class=\"block-expand btn\"></a></div>
                ";
            }
            // line 162
            echo "              </div>
            </div>
          ";
        }
        // line 165
        echo "
          ";
        // line 166
        if ((( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "Stats")), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "StatsPosition")), "method") == "default"))) {
            // line 167
            echo "            <div class=\"product-stats\">
              <ul class=\"list-unstyled\">
                ";
            // line 169
            if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductStock")), "method")) {
                // line 170
                echo "                  <li class=\"product-stock ";
                if (((isset($context["product_quantity"]) ? $context["product_quantity"] : null) > 0)) {
                    echo "in-stock";
                } else {
                    echo "out-of-stock";
                }
                echo "\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductStockText")), "method");
                echo ":</b> <span>";
                echo (isset($context["stock"]) ? $context["stock"] : null);
                echo "</span></li>
                ";
            }
            // line 172
            echo "                ";
            if ((((isset($context["manufacturer"]) ? $context["manufacturer"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturer")), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturerDisplay")), "method") == "list"))) {
                // line 173
                echo "                  <li class=\"product-manufacturer\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturerText")), "method");
                echo ":</b> <a href=\"";
                echo (isset($context["manufacturers"]) ? $context["manufacturers"] : null);
                echo "\">";
                echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null);
                echo "</a></li>
                ";
            }
            // line 175
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductReward")), "method") && (isset($context["reward"]) ? $context["reward"] : null))) {
                // line 176
                echo "                  <li class=\"product-reward\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductRewardText")), "method");
                echo ":</b> <span>";
                echo (isset($context["reward"]) ? $context["reward"] : null);
                echo "</span></li>
                ";
            }
            // line 178
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductModel")), "method") && (isset($context["model"]) ? $context["model"] : null))) {
                // line 179
                echo "                  <li class=\"product-model\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductModelText")), "method");
                echo ":</b> <span>";
                echo (isset($context["model"]) ? $context["model"] : null);
                echo "</span></li>
                ";
            }
            // line 181
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductWeight")), "method") && (isset($context["product_weight"]) ? $context["product_weight"] : null))) {
                // line 182
                echo "                  <li class=\"product-weight\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductWeightText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_weight"]) ? $context["product_weight"] : null);
                echo "</span></li>
                ";
            }
            // line 184
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductDimension")), "method") && (isset($context["product_dimension"]) ? $context["product_dimension"] : null))) {
                // line 185
                echo "                  <li class=\"product-dimension\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductDimensionText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_length"]) ? $context["product_length"] : null);
                echo " x ";
                echo (isset($context["product_width"]) ? $context["product_width"] : null);
                echo " x ";
                echo (isset($context["product_height"]) ? $context["product_height"] : null);
                echo "</span></li>
                ";
            }
            // line 187
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductSKU")), "method") && (isset($context["product_sku"]) ? $context["product_sku"] : null))) {
                // line 188
                echo "                  <li class=\"product-sku\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductSKUText")), "method");
                echo ":</b> <span> ";
                echo (isset($context["product_sku"]) ? $context["product_sku"] : null);
                echo "</span></li>
                ";
            }
            // line 190
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductUPC")), "method") && (isset($context["product_upc"]) ? $context["product_upc"] : null))) {
                // line 191
                echo "                  <li class=\"product-upc\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductUPCText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_upc"]) ? $context["product_upc"] : null);
                echo "</span></li>
                ";
            }
            // line 193
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductEAN")), "method") && (isset($context["product_ean"]) ? $context["product_ean"] : null))) {
                // line 194
                echo "                  <li class=\"product-ean\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductEANText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_ean"]) ? $context["product_ean"] : null);
                echo "</span></li>
                ";
            }
            // line 196
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductJAN")), "method") && (isset($context["product_jan"]) ? $context["product_jan"] : null))) {
                // line 197
                echo "                  <li class=\"product-jan\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductJANText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_jan"]) ? $context["product_jan"] : null);
                echo "</span></li>
                ";
            }
            // line 199
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductISBN")), "method") && (isset($context["product_isbn"]) ? $context["product_isbn"] : null))) {
                // line 200
                echo "                  <li class=\"product-isbn\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductISBNText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_isbn"]) ? $context["product_isbn"] : null);
                echo "</span></li>
                ";
            }
            // line 202
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductMPN")), "method") && (isset($context["product_mpn"]) ? $context["product_mpn"] : null))) {
                // line 203
                echo "                  <li class=\"product-mpn\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductMPNText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_mpn"]) ? $context["product_mpn"] : null);
                echo "</span></li>
                ";
            }
            // line 205
            echo "                ";
            if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductLocation")), "method") && (isset($context["product_location"]) ? $context["product_location"] : null))) {
                // line 206
                echo "                  <li class=\"product-location\"><b>";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductLocationText")), "method");
                echo ":</b> <span>";
                echo (isset($context["product_location"]) ? $context["product_location"] : null);
                echo "</span></li>
                ";
            }
            // line 208
            echo "              </ul>
              ";
            // line 209
            if ((((isset($context["manufacturer"]) ? $context["manufacturer"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturer")), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturerDisplay")), "method") == "image"))) {
                // line 210
                echo "                <div class=\"brand-image product-manufacturer\">
                  <a href=\"";
                // line 211
                echo (isset($context["manufacturers"]) ? $context["manufacturers"] : null);
                echo "\">
                    ";
                // line 212
                if ((isset($context["manufacturer_image"]) ? $context["manufacturer_image"] : null)) {
                    // line 213
                    echo "                      <img src=\"";
                    echo (isset($context["manufacturer_image"]) ? $context["manufacturer_image"] : null);
                    echo "\" ";
                    if ((isset($context["manufacturer_image2x"]) ? $context["manufacturer_image2x"] : null)) {
                        echo "srcset=\"";
                        echo (isset($context["manufacturer_image"]) ? $context["manufacturer_image"] : null);
                        echo " 1x, ";
                        echo (isset($context["manufacturer_image2x"]) ? $context["manufacturer_image2x"] : null);
                        echo " 2x\"";
                    }
                    echo " alt=\"";
                    echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null);
                    echo "\"/>
                    ";
                }
                // line 215
                echo "                    <span>";
                echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null);
                echo "</span>
                  </a>
                </div>
              ";
            }
            // line 219
            echo "              ";
            if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CustomStats")), "method")) {
                // line 220
                echo "                <div class=\"custom-stats\">
                  ";
                // line 221
                if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductSold")), "method")) {
                    // line 222
                    echo "                    <div class=\"product-sold\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "getWithValue", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "SoldText"), 1 => (isset($context["products_sold"]) ? $context["products_sold"] : null)), "method");
                    echo "</b></div>
                  ";
                }
                // line 224
                echo "                  ";
                if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductViews")), "method")) {
                    // line 225
                    echo "                    <div class=\"product-views\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "getWithValue", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ViewsText"), 1 => (isset($context["product_views"]) ? $context["product_views"] : null)), "method");
                    echo "</b></div>
                  ";
                }
                // line 227
                echo "                </div>
              ";
            }
            // line 229
            echo "            </div>
          ";
        }
        // line 231
        echo "
          ";
        // line 232
        if (((isset($context["review_status"]) ? $context["review_status"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method"))) {
            // line 233
            echo "            <div class=\"rating rating-page\">
              <div class=\"rating-stars\">
                ";
            // line 235
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(range(1, 5));
            foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
                // line 236
                echo "                  ";
                if (((isset($context["rating"]) ? $context["rating"] : null) < $context["i"])) {
                    // line 237
                    echo "                    <span class=\"fa fa-stack\">
                      <i class=\"fa fa-star-o fa-stack-1x\"></i>
                    </span>";
                } else {
                    // line 240
                    echo "                    <span class=\"fa fa-stack\">
                      <i class=\"fa fa-star fa-stack-1x\"></i>
                      <i class=\"fa fa-star-o fa-stack-1x\"></i>
                    </span>
                  ";
                }
                // line 245
                echo "                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 246
            echo "              </div>
              <div class=\"review-links\">
                <a>";
            // line 248
            echo (isset($context["reviews"]) ? $context["reviews"] : null);
            echo "</a>
                <b>";
            // line 249
            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "RatingSeparator")), "method");
            echo "</b>
                <a>";
            // line 250
            echo (isset($context["text_write"]) ? $context["text_write"] : null);
            echo "</a>
              </div>
            </div>
          ";
        }
        // line 254
        echo "
          ";
        // line 255
        if (((isset($context["date_end"]) ? $context["date_end"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) ? ("quickviewCountdown") : ("countdownStatus"))), "method"))) {
            // line 256
            echo "            <div class=\"countdown-wrapper\">
              ";
            // line 257
            if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CountdownText")), "method")) {
                // line 258
                echo "              <h5 class=\"countdown-title title\">";
                echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CountdownText")), "method");
                echo "</h5>
              ";
            }
            // line 260
            echo "              <div class=\"countdown\" data-date=\"";
            echo (isset($context["date_end"]) ? $context["date_end"] : null);
            echo "\">
                <div><i class=\"fa fa-spinner fa-spin\"></i><span>";
            // line 261
            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "countdownDay"), "method");
            echo "</span></div>
                <div><i class=\"fa fa-spinner fa-spin\"></i><span>";
            // line 262
            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "countdownHour"), "method");
            echo "</span></div>
                <div><i class=\"fa fa-spinner fa-spin\"></i><span>";
            // line 263
            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "countdownMin"), "method");
            echo "</span></div>
                <div><i class=\"fa fa-spinner fa-spin\"></i><span>";
            // line 264
            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "countdownSec"), "method");
            echo "</span></div>
              </div>
            </div>
          ";
        }
        // line 268
        echo "
          ";
        // line 269
        if (((isset($context["price"]) ? $context["price"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method"))) {
            // line 270
            echo "          <div class=\"product-price-group\">
           <div class=\"price-wrapper\">
             <div class=\"price-group\">
               ";
            // line 273
            if ( !(isset($context["special"]) ? $context["special"] : null)) {
                // line 274
                echo "                 <div class=\"product-price\">";
                echo (isset($context["price"]) ? $context["price"] : null);
                echo "</div>
               ";
            } else {
                // line 276
                echo "                 <div class=\"product-price-new\">";
                echo (isset($context["special"]) ? $context["special"] : null);
                echo "</div>
                 <div class=\"product-price-old\">";
                // line 277
                echo (isset($context["price"]) ? $context["price"] : null);
                echo "</div>
               ";
            }
            // line 279
            echo "             </div>
             ";
            // line 280
            if ((isset($context["tax"]) ? $context["tax"] : null)) {
                // line 281
                echo "               <div class=\"product-tax\">";
                echo (isset($context["text_tax"]) ? $context["text_tax"] : null);
                echo " ";
                echo (isset($context["tax"]) ? $context["tax"] : null);
                echo "</div>
             ";
            }
            // line 283
            echo "             ";
            if ((isset($context["points"]) ? $context["points"] : null)) {
                // line 284
                echo "               <div class=\"product-points\">";
                echo (isset($context["text_points"]) ? $context["text_points"] : null);
                echo " ";
                echo (isset($context["points"]) ? $context["points"] : null);
                echo "</div>
             ";
            }
            // line 286
            echo "
             ";
            // line 287
            if ((isset($context["discounts"]) ? $context["discounts"] : null)) {
                // line 288
                echo "               <div class=\"discounts\">
                 ";
                // line 289
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["discounts"]) ? $context["discounts"] : null));
                foreach ($context['_seq'] as $context["_key"] => $context["discount"]) {
                    // line 290
                    echo "                   <div class=\"product-discount\">";
                    echo $this->getAttribute($context["discount"], "quantity", array());
                    echo (isset($context["text_discount"]) ? $context["text_discount"] : null);
                    echo $this->getAttribute($context["discount"], "price", array());
                    echo "</div>
                 ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['discount'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 292
                echo "               </div>
             ";
            }
            // line 294
            echo "           </div>
            ";
            // line 295
            if ((( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "Stats")), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "StatsPosition")), "method") == "price"))) {
                // line 296
                echo "              <div class=\"product-stats\">
                <ul class=\"list-unstyled\">
                  ";
                // line 298
                if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductStock")), "method")) {
                    // line 299
                    echo "                    <li class=\"product-stock ";
                    if (((isset($context["product_quantity"]) ? $context["product_quantity"] : null) > 0)) {
                        echo "in-stock";
                    } else {
                        echo "out-of-stock";
                    }
                    echo "\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductStockText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["stock"]) ? $context["stock"] : null);
                    echo "</span></li>
                  ";
                }
                // line 301
                echo "                  ";
                if ((((isset($context["manufacturer"]) ? $context["manufacturer"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturer")), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturerDisplay")), "method") == "list"))) {
                    // line 302
                    echo "                    <li class=\"product-manufacturer\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturerText")), "method");
                    echo ":</b> <a href=\"";
                    echo (isset($context["manufacturers"]) ? $context["manufacturers"] : null);
                    echo "\">";
                    echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null);
                    echo "</a></li>
                  ";
                }
                // line 304
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductReward")), "method") && (isset($context["reward"]) ? $context["reward"] : null))) {
                    // line 305
                    echo "                    <li class=\"product-reward\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductRewardText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["reward"]) ? $context["reward"] : null);
                    echo "</span></li>
                  ";
                }
                // line 307
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductModel")), "method") && (isset($context["model"]) ? $context["model"] : null))) {
                    // line 308
                    echo "                    <li class=\"product-model\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductModelText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["model"]) ? $context["model"] : null);
                    echo "</span></li>
                  ";
                }
                // line 310
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductWeight")), "method") && (isset($context["product_weight"]) ? $context["product_weight"] : null))) {
                    // line 311
                    echo "                    <li class=\"product-weight\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductWeightText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_weight"]) ? $context["product_weight"] : null);
                    echo "</span></li>
                  ";
                }
                // line 313
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductDimension")), "method") && (isset($context["product_dimension"]) ? $context["product_dimension"] : null))) {
                    // line 314
                    echo "                    <li class=\"product-dimension\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductDimensionText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_length"]) ? $context["product_length"] : null);
                    echo " x ";
                    echo (isset($context["product_width"]) ? $context["product_width"] : null);
                    echo " x ";
                    echo (isset($context["product_height"]) ? $context["product_height"] : null);
                    echo "</span></li>
                  ";
                }
                // line 316
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductSKU")), "method") && (isset($context["product_sku"]) ? $context["product_sku"] : null))) {
                    // line 317
                    echo "                    <li class=\"product-sku\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductSKUText")), "method");
                    echo ":</b> <span> ";
                    echo (isset($context["product_sku"]) ? $context["product_sku"] : null);
                    echo "</span></li>
                  ";
                }
                // line 319
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductUPC")), "method") && (isset($context["product_upc"]) ? $context["product_upc"] : null))) {
                    // line 320
                    echo "                    <li class=\"product-upc\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductUPCText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_upc"]) ? $context["product_upc"] : null);
                    echo "</span></li>
                  ";
                }
                // line 322
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductEAN")), "method") && (isset($context["product_ean"]) ? $context["product_ean"] : null))) {
                    // line 323
                    echo "                    <li class=\"product-ean\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductEANText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_ean"]) ? $context["product_ean"] : null);
                    echo "</span></li>
                  ";
                }
                // line 325
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductJAN")), "method") && (isset($context["product_jan"]) ? $context["product_jan"] : null))) {
                    // line 326
                    echo "                    <li class=\"product-jan\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductJANText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_jan"]) ? $context["product_jan"] : null);
                    echo "</span></li>
                  ";
                }
                // line 328
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductISBN")), "method") && (isset($context["product_isbn"]) ? $context["product_isbn"] : null))) {
                    // line 329
                    echo "                    <li class=\"product-isbn\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductISBNText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_isbn"]) ? $context["product_isbn"] : null);
                    echo "</span></li>
                  ";
                }
                // line 331
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductMPN")), "method") && (isset($context["product_mpn"]) ? $context["product_mpn"] : null))) {
                    // line 332
                    echo "                    <li class=\"product-mpn\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductMPNText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_mpn"]) ? $context["product_mpn"] : null);
                    echo "</span></li>
                  ";
                }
                // line 334
                echo "                  ";
                if (($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductLocation")), "method") && (isset($context["product_location"]) ? $context["product_location"] : null))) {
                    // line 335
                    echo "                    <li class=\"product-location\"><b>";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductLocationText")), "method");
                    echo ":</b> <span>";
                    echo (isset($context["product_location"]) ? $context["product_location"] : null);
                    echo "</span></li>
                  ";
                }
                // line 337
                echo "                </ul>
                ";
                // line 338
                if ((((isset($context["manufacturer"]) ? $context["manufacturer"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturer")), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductManufacturerDisplay")), "method") == "image"))) {
                    // line 339
                    echo "                  <div class=\"brand-image product-manufacturer\">
                    <a href=\"";
                    // line 340
                    echo (isset($context["manufacturers"]) ? $context["manufacturers"] : null);
                    echo "\">
                      ";
                    // line 341
                    if ((isset($context["manufacturer_image"]) ? $context["manufacturer_image"] : null)) {
                        // line 342
                        echo "                        <img src=\"";
                        echo (isset($context["manufacturer_image"]) ? $context["manufacturer_image"] : null);
                        echo "\" ";
                        if ((isset($context["manufacturer_image2x"]) ? $context["manufacturer_image2x"] : null)) {
                            echo "srcset=\"";
                            echo (isset($context["manufacturer_image"]) ? $context["manufacturer_image"] : null);
                            echo " 1x, ";
                            echo (isset($context["manufacturer_image2x"]) ? $context["manufacturer_image2x"] : null);
                            echo " 2x\"";
                        }
                        echo " alt=\"";
                        echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null);
                        echo "\"/>
                      ";
                    }
                    // line 344
                    echo "                      <span>";
                    echo (isset($context["manufacturer"]) ? $context["manufacturer"] : null);
                    echo "</span>
                    </a>
                  </div>
                ";
                }
                // line 348
                echo "                ";
                if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CustomStats")), "method")) {
                    // line 349
                    echo "                  <div class=\"custom-stats\">
                    ";
                    // line 350
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductSold")), "method")) {
                        // line 351
                        echo "                      <div class=\"product-sold\"><b>";
                        echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "getWithValue", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "SoldText"), 1 => (isset($context["products_sold"]) ? $context["products_sold"] : null)), "method");
                        echo "</b></div>
                    ";
                    }
                    // line 353
                    echo "                    ";
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ProductViews")), "method")) {
                        // line 354
                        echo "                      <div class=\"product-views\"><b>";
                        echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "getWithValue", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ViewsText"), 1 => (isset($context["product_views"]) ? $context["product_views"] : null)), "method");
                        echo "</b></div>
                    ";
                    }
                    // line 356
                    echo "                  </div>
                ";
                }
                // line 358
                echo "              </div>
            ";
            }
            // line 360
            echo "          </div>
          ";
        }
        // line 362
        echo "
          ";
        // line 363
        if ((isset($context["options"]) ? $context["options"] : null)) {
            // line 364
            echo "          <div class=\"product-options\">
            <h3 class=\"options-title title\">";
            // line 365
            echo (isset($context["text_option"]) ? $context["text_option"] : null);
            echo "</h3>
            ";
            // line 366
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["options"]) ? $context["options"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
                // line 367
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "select")) {
                    // line 368
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo " ";
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "OptionsPushSelect")), "method")) {
                        echo "push-option";
                    }
                    echo "\">
              <label class=\"control-label\" for=\"input-option";
                    // line 369
                    echo $this->getAttribute($context["option"], "product_option_id", array());
                    echo "\">";
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <select name=\"option[";
                    // line 370
                    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 371
                    echo (isset($context["text_select"]) ? $context["text_select"] : null);
                    echo "</option>
                ";
                    // line 372
                    $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 373
                        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 374
                        if (($this->getAttribute($context["option_value"], "price", array()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                            // line 375
                            echo "                (";
                            echo $this->getAttribute($context["option_value"], "price_prefix", array());
                            echo $this->getAttribute($context["option_value"], "price", array());
                            echo ")
                ";
                        }
                        // line 376
                        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 378
                    echo "              </select>
            </div>
            ";
                }
                // line 381
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "radio")) {
                    // line 382
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo " ";
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "OptionsPushRadio")), "method")) {
                        echo "push-option";
                    }
                    echo "\">
              <label class=\"control-label\">";
                    // line 383
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <div id=\"input-option";
                    // line 384
                    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 385
                        echo "                <div class=\"radio\">
                  <label>
                    <input type=\"radio\" name=\"option[";
                        // line 387
                        echo $this->getAttribute($context["option"], "product_option_id", array());
                        echo "]\" value=\"";
                        echo $this->getAttribute($context["option_value"], "product_option_value_id", array());
                        echo "\" />
                    ";
                        // line 388
                        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()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                                echo " ";
                                echo $this->getAttribute($context["option_value"], "price_prefix", array());
                                echo " ";
                                echo $this->getAttribute($context["option_value"], "price", array());
                                echo " ";
                            }
                            echo "\" data-toggle=\"tooltip\" data-tooltip-class=\"push-tooltip\" data-placement=\"";
                            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "PushTooltipPosition")), "method");
                            echo "\" title=\"";
                            echo $this->getAttribute($context["option_value"], "name", array());
                            echo " ";
                            if (($this->getAttribute($context["option_value"], "price", array()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                                echo " (";
                                echo $this->getAttribute($context["option_value"], "price_prefix", array());
                                echo $this->getAttribute($context["option_value"], "price", array());
                                echo ") ";
                            }
                            echo "\"/> ";
                        }
                        // line 389
                        echo "                    <span class=\"option-value\">
                      ";
                        // line 390
                        echo $this->getAttribute($context["option_value"], "name", array());
                        echo "
                      ";
                        // line 391
                        if (($this->getAttribute($context["option_value"], "price", array()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                            // line 392
                            echo "                        <span class=\"option-price\">
                          (";
                            // line 393
                            echo $this->getAttribute($context["option_value"], "price_prefix", array());
                            echo $this->getAttribute($context["option_value"], "price", array());
                            echo ")
                        </span>
                      ";
                        }
                        // line 396
                        echo "                    </span>
                  </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 399
                    echo " </div>
            </div>
            ";
                }
                // line 402
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "checkbox")) {
                    // line 403
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo " ";
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "OptionsPushCheckbox")), "method")) {
                        echo "push-option";
                    }
                    echo "\">
              <label class=\"control-label\">";
                    // line 404
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <div id=\"input-option";
                    // line 405
                    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 406
                        echo "                <div class=\"checkbox\">
                  <label>
                    <input type=\"checkbox\" name=\"option[";
                        // line 408
                        echo $this->getAttribute($context["option"], "product_option_id", array());
                        echo "][]\" value=\"";
                        echo $this->getAttribute($context["option_value"], "product_option_value_id", array());
                        echo "\" />
                    ";
                        // line 409
                        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()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                                echo " ";
                                echo $this->getAttribute($context["option_value"], "price_prefix", array());
                                echo " ";
                                echo $this->getAttribute($context["option_value"], "price", array());
                                echo " ";
                            }
                            echo "\" data-toggle=\"tooltip\" data-tooltip-class=\"push-tooltip\" data-placement=\"";
                            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "PushTooltipPosition")), "method");
                            echo "\" title=\"";
                            echo $this->getAttribute($context["option_value"], "name", array());
                            echo " ";
                            if (($this->getAttribute($context["option_value"], "price", array()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                                echo " (";
                                echo $this->getAttribute($context["option_value"], "price_prefix", array());
                                echo $this->getAttribute($context["option_value"], "price", array());
                                echo ") ";
                            }
                            echo "\"/> ";
                        }
                        // line 410
                        echo "                    <span class=\"option-value\">
                      ";
                        // line 411
                        echo $this->getAttribute($context["option_value"], "name", array());
                        echo "
                      ";
                        // line 412
                        if (($this->getAttribute($context["option_value"], "price", array()) && (isset($context["optionPrice"]) ? $context["optionPrice"] : null))) {
                            // line 413
                            echo "                        <span class=\"option-price\">(";
                            echo $this->getAttribute($context["option_value"], "price_prefix", array());
                            echo $this->getAttribute($context["option_value"], "price", array());
                            echo ")</span>
                      ";
                        }
                        // line 415
                        echo "                    </span>
                  </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 418
                    echo " </div>
            </div>
            ";
                }
                // line 421
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "text")) {
                    // line 422
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo "\">
              <label class=\"control-label\" for=\"input-option";
                    // line 423
                    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 424
                    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 427
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "textarea")) {
                    // line 428
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo "\">
              <label class=\"control-label\" for=\"input-option";
                    // line 429
                    echo $this->getAttribute($context["option"], "product_option_id", array());
                    echo "\">";
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <textarea name=\"option[";
                    // line 430
                    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 433
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "file")) {
                    // line 434
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo "\">
              <label class=\"control-label\">";
                    // line 435
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <button type=\"button\" id=\"button-upload";
                    // line 436
                    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 437
                    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 440
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "date")) {
                    // line 441
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo "\">
              <label class=\"control-label\" for=\"input-option";
                    // line 442
                    echo $this->getAttribute($context["option"], "product_option_id", array());
                    echo "\">";
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <div class=\"input-group date\" data-picker-class=\"product-options pp-date-time-picker\">
                <input type=\"text\" name=\"option[";
                    // line 444
                    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 450
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "datetime")) {
                    // line 451
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo "\">
              <label class=\"control-label\" for=\"input-option";
                    // line 452
                    echo $this->getAttribute($context["option"], "product_option_id", array());
                    echo "\">";
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <div class=\"input-group datetime\" data-picker-class=\"product-options pp-date-time-picker\">
                <input type=\"text\" name=\"option[";
                    // line 454
                    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 460
                echo "            ";
                if (($this->getAttribute($context["option"], "type", array()) == "time")) {
                    // line 461
                    echo "            <div class=\"form-group";
                    if ($this->getAttribute($context["option"], "required", array())) {
                        echo " required ";
                    }
                    echo " product-option-";
                    echo $this->getAttribute($context["option"], "type", array());
                    echo "\">
              <label class=\"control-label\" for=\"input-option";
                    // line 462
                    echo $this->getAttribute($context["option"], "product_option_id", array());
                    echo "\">";
                    echo $this->getAttribute($context["option"], "name", array());
                    echo "</label>
              <div class=\"input-group time\" data-picker-class=\"product-options pp-date-time-picker\">
                <input type=\"text\" name=\"option[";
                    // line 464
                    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 470
                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 471
            echo "          </div>
          ";
        }
        // line 473
        echo "
          ";
        // line 474
        if ((isset($context["recurrings"]) ? $context["recurrings"] : null)) {
            // line 475
            echo "            <h3 class=\"title recurring-title\">";
            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 478
            echo (isset($context["text_select"]) ? $context["text_select"] : null);
            echo "</option>
                ";
            // line 479
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["recurrings"]) ? $context["recurrings"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["recurring"]) {
                // line 480
                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 482
            echo "              </select>
              <div class=\"help-block\" id=\"recurring-description\"></div>
            </div>
          ";
        }
        // line 486
        echo "
          ";
        // line 487
        if (((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogCartStatus"), "method") || $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogWishlistStatus"), "method")) || $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogCompareStatus"), "method")) || ((isset($context["product_extra_buttons"]) ? $context["product_extra_buttons"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")))) {
            // line 488
            echo "          <div class=\"button-group-page\">
            <div class=\"buttons-wrapper\">
              <div class=\"stepper-group cart-group\">
                ";
            // line 491
            if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogCartStatus"), "method")) {
                // line 492
                echo "                <div class=\"stepper\">
                  <label class=\"control-label\" for=\"product-quantity\">";
                // line 493
                echo (isset($context["entry_qty"]) ? $context["entry_qty"] : null);
                echo "</label>
                  <input id=\"product-quantity\" type=\"text\" name=\"quantity\" value=\"";
                // line 494
                echo (isset($context["minimum"]) ? $context["minimum"] : null);
                echo "\" data-minimum=\"";
                echo (isset($context["minimum"]) ? $context["minimum"] : null);
                echo "\" class=\"form-control\"/>
                  <input id=\"product-id\" type=\"hidden\" name=\"product_id\" value=\"";
                // line 495
                echo (isset($context["product_id"]) ? $context["product_id"] : null);
                echo "\" />
                  <span>
                  <i class=\"fa fa-angle-up\"></i>
                  <i class=\"fa fa-angle-down\"></i>
                </span>
                </div>
                <a id=\"button-cart\" data-loading-text=\"<span class='btn-text'>";
                // line 501
                echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
                echo "</span>\" class=\"btn btn-cart\" ";
                if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CartDisplay")), "method") == "icon") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CartTooltipStatus")), "method"))) {
                    echo " data-toggle=\"tooltip\" data-tooltip-class=\"pp-cart-tooltip\" data-placement=\"";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CartTooltipPosition")), "method");
                    echo "\" title=\"";
                    echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
                    echo "\" ";
                }
                echo "><span class=\"btn-text\">";
                echo (isset($context["button_cart"]) ? $context["button_cart"] : null);
                echo "</span></a>
                ";
            }
            // line 503
            echo "                ";
            if (((isset($context["product_extra_buttons"]) ? $context["product_extra_buttons"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method"))) {
                // line 504
                echo "                  <div class=\"extra-group\">
                    ";
                // line 505
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["product_extra_buttons"]) ? $context["product_extra_buttons"] : null));
                $context['loop'] = array(
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                );
                if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] = $length - 1;
                    $context['loop']['revindex'] = $length;
                    $context['loop']['length'] = $length;
                    $context['loop']['last'] = 1 === $length;
                }
                foreach ($context['_seq'] as $context["id"] => $context["extra_button"]) {
                    // line 506
                    echo "                      <a class=\"btn btn-extra btn-extra-";
                    echo $context["id"];
                    echo " btn-";
                    echo $this->getAttribute($context["loop"], "index", array());
                    echo "-extra\" ";
                    if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "Extra") . $this->getAttribute($context["loop"], "index", array())) . "ButtonDisplay")), "method") == "icon") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ExtraTooltipStatus")), "method"))) {
                        echo " data-toggle=\"tooltip\" data-tooltip-class=\"extra-tooltip pp-extra-tooltip\" data-placement=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "ExtraTooltipPosition")), "method");
                        echo "\" title=\"";
                        echo $this->getAttribute($context["extra_button"], "label", array());
                        echo "\" ";
                    }
                    echo " ";
                    if (($this->getAttribute($context["extra_button"], "action", array()) == "quickbuy")) {
                        echo "data-quick-buy";
                    }
                    echo " ";
                    if ((($this->getAttribute($context["extra_button"], "action", array()) == "link") && $this->getAttribute($this->getAttribute($context["extra_button"], "link", array()), "href", array()))) {
                        echo "href=\"";
                        echo $this->getAttribute($this->getAttribute($context["extra_button"], "link", array()), "href", array());
                        echo "\" ";
                        echo $this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "linkAttrs", array(0 => $this->getAttribute($context["extra_button"], "link", array())), "method");
                        echo " data-product_id=\"";
                        echo (isset($context["product_id"]) ? $context["product_id"] : null);
                        echo "\"";
                    }
                    echo " data-loading-text=\"<span class='btn-text'>";
                    echo $this->getAttribute($context["extra_button"], "label", array());
                    echo "</span>\"><span class=\"btn-text\">";
                    echo $this->getAttribute($context["extra_button"], "label", array());
                    echo "</span></a>
                    ";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if (isset($context['loop']['length'])) {
                        --$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['id'], $context['extra_button'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 508
                echo "                  </div>
                ";
            }
            // line 510
            echo "              </div>

              ";
            // line 512
            if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogWishlistStatus"), "method") || $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogCompareStatus"), "method")) || $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method"))) {
                // line 513
                echo "              <div class=\"wishlist-compare\">
                ";
                // line 514
                if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
                    // line 515
                    echo "                  ";
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogWishlistStatus"), "method")) {
                        // line 516
                        echo "                  <a class=\"btn btn-wishlist\" ";
                        if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "WishlistDisplay")), "method") == "icon") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "WishlistTooltipStatus")), "method"))) {
                            echo " data-toggle=\"tooltip\" data-tooltip-class=\"pp-wishlist-tooltip\" data-placement=\"";
                            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "WishlistTooltipPosition")), "method");
                            echo "\" title=\"";
                            echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
                            echo "\" ";
                        }
                        echo " onclick=\"parent.wishlist.add(";
                        echo (isset($context["product_id"]) ? $context["product_id"] : null);
                        echo ");\"><span class=\"btn-text\">";
                        echo (isset($context["button_wishlist"]) ? $context["button_wishlist"] : null);
                        echo "</span></a>
                  ";
                    }
                    // line 518
                    echo "
                  ";
                    // line 519
                    if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "catalogCompareStatus"), "method")) {
                        // line 520
                        echo "                  <a class=\"btn btn-compare\" ";
                        if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CompareDisplay")), "method") == "icon") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CompareTooltipStatus")), "method"))) {
                            echo " data-toggle=\"tooltip\" data-tooltip-class=\"pp-compare-tooltip\" data-placement=\"";
                            echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "CompareTooltipPosition")), "method");
                            echo "\" title=\"";
                            echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
                            echo "\" ";
                        }
                        echo " onclick=\"parent.compare.add(";
                        echo (isset($context["product_id"]) ? $context["product_id"] : null);
                        echo ");\"><span class=\"btn-text\">";
                        echo (isset($context["button_compare"]) ? $context["button_compare"] : null);
                        echo "</span></a>
                  ";
                    }
                    // line 522
                    echo "                ";
                }
                // line 523
                echo "                ";
                if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method")) {
                    // line 524
                    echo "                  <a class=\"btn btn-more-details\" href=\"";
                    echo (isset($context["view_more_url"]) ? $context["view_more_url"] : null);
                    echo "\" target=\"_top\" ";
                    if ((($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "MoreDetailsDisplay")), "method") == "icon") && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "MoreDetailsTooltipStatus")), "method"))) {
                        echo " data-toggle=\"tooltip\" data-tooltip-class=\"more-details-tooltip\" data-placement=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "MoreDetailsTooltipPosition")), "method");
                        echo "\" title=\"";
                        echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewExtraText"), "method");
                        echo "\" ";
                    }
                    echo "><span class=\"btn-text\">";
                    echo $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewExtraText"), "method");
                    echo "</span></a>
                ";
                }
                // line 526
                echo "              </div>
              ";
            }
            // line 528
            echo "            </div>
          </div>
          ";
        }
        // line 531
        echo "
          ";
        // line 532
        if (((isset($context["minimum"]) ? $context["minimum"] : null) > 1)) {
            // line 533
            echo "            <div class=\"minimum alert alert-info\"><i class=\"fa fa-info-circle\"></i> ";
            echo (isset($context["text_minimum"]) ? $context["text_minimum"] : null);
            echo "</div>
          ";
        }
        // line 535
        echo "
          ";
        // line 536
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
            // line 537
            echo "            ";
            if ($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "details", array())) {
                // line 538
                echo "                ";
                echo twig_join_filter($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "details", array()));
                echo "
            ";
            }
            // line 540
            echo "          ";
        }
        // line 541
        echo "          </div>
          ";
        // line 542
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
            // line 543
            echo "          ";
            if ($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "bottom", array())) {
                // line 544
                echo "          <div class=\"product-blocks blocks-bottom\">
            ";
                // line 545
                echo twig_join_filter($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "bottom", array()));
                echo "
          </div>
          ";
            }
            // line 548
            echo "          ";
        }
        // line 549
        echo "          ";
        if ((((isset($context["tags"]) ? $context["tags"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "TagsPosition")), "method") == "details"))) {
            // line 550
            echo "            <div class=\"tags\">
              <span class=\"tags-title\">";
            // line 551
            echo (isset($context["text_tags"]) ? $context["text_tags"] : null);
            echo "</span>
              ";
            // line 552
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["tags"]) ? $context["tags"] : null));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
                // line 553
                echo "                <a href=\"";
                echo $this->getAttribute($context["tag"], "href", array());
                echo "\">";
                echo $this->getAttribute($context["tag"], "tag", array());
                echo "</a>
                ";
                // line 554
                if ( !$this->getAttribute($context["loop"], "last", array())) {
                    echo "<b>,</b>";
                }
                // line 555
                echo "              ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 556
            echo "            </div>
          ";
        }
        // line 558
        echo "        </div>
      </div>
      ";
        // line 560
        if (((((isset($context["description"]) ? $context["description"] : null) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "quickview"), "method")) && $this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewDescription"), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewDescriptionPosition"), "method") == "default"))) {
            // line 561
            echo "        <div class=\"description ";
            echo (isset($context["quickviewExpand"]) ? $context["quickviewExpand"] : null);
            echo "\">
          <div class=\"expand-block\">
            <div class=\"expand-content\">
              ";
            // line 564
            echo (isset($context["description"]) ? $context["description"] : null);
            echo "
            </div>
            ";
            // line 566
            if ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => "quickviewExpandButton"), "method")) {
                // line 567
                echo "              <div class=\"block-expand-overlay\"><a class=\"block-expand btn\"></a></div>
            ";
            }
            // line 569
            echo "          </div>
        </div>
      ";
        }
        // line 572
        echo "      ";
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(0 => "options"), "method")) {
            // line 573
            echo "        ";
            if ($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "default", array())) {
                // line 574
                echo "        <div class=\"product-blocks blocks-default\">
          ";
                // line 575
                echo twig_join_filter($this->getAttribute((isset($context["product_blocks"]) ? $context["product_blocks"] : null), "default", array()));
                echo "
        </div>
        ";
            }
            // line 578
            echo "      ";
        }
        // line 579
        echo "      ";
        if ((((isset($context["tags"]) ? $context["tags"] : null) &&  !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) && ($this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "settings", array()), "get", array(0 => ((isset($context["stylePrefix"]) ? $context["stylePrefix"] : null) . "TagsPosition")), "method") == "default"))) {
            // line 580
            echo "        <div class=\"tags\">
          <span class=\"tags-title\">";
            // line 581
            echo (isset($context["text_tags"]) ? $context["text_tags"] : null);
            echo "</span>
          ";
            // line 582
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["tags"]) ? $context["tags"] : null));
            $context['loop'] = array(
              'parent' => $context['_parent'],
              'index0' => 0,
              'index'  => 1,
              'first'  => true,
            );
            if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
                $length = count($context['_seq']);
                $context['loop']['revindex0'] = $length - 1;
                $context['loop']['revindex'] = $length;
                $context['loop']['length'] = $length;
                $context['loop']['last'] = 1 === $length;
            }
            foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
                // line 583
                echo "            <a href=\"";
                echo $this->getAttribute($context["tag"], "href", array());
                echo "\">";
                echo $this->getAttribute($context["tag"], "tag", array());
                echo "</a>
            ";
                // line 584
                if ( !$this->getAttribute($context["loop"], "last", array())) {
                    echo "<b>,</b>";
                }
                // line 585
                echo "          ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
                if (isset($context['loop']['length'])) {
                    --$context['loop']['revindex0'];
                    --$context['loop']['revindex'];
                    $context['loop']['last'] = 0 === $context['loop']['revindex0'];
                }
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 586
            echo "        </div>
      ";
        }
        // line 588
        echo "      ";
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) {
            // line 589
            echo "      ";
            echo (isset($context["content_bottom"]) ? $context["content_bottom"] : null);
            echo "</div>
    ";
            // line 590
            echo (isset($context["column_right"]) ? $context["column_right"] : null);
            echo "</div>
</div>
";
        }
        // line 593
        echo "<script type=\"text/javascript\"><!--
\$('select[name=\\'recurring_id\\'], input[name=\"quantity\"]').change(function(){
\t\$.ajax({
\t\turl: 'index.php?route=product/product/getRecurringDescription',
\t\ttype: 'post',
\t\tdata: \$('input[name=\\'product_id\\'], input[name=\\'quantity\\'], select[name=\\'recurring_id\\']'),
\t\tdataType: 'json',
\t\tbeforeSend: function() {
\t\t\t\$('#recurring-description').html('');
\t\t},
\t\tsuccess: function(json) {
\t\t\t\$('.alert-dismissible, .text-danger').remove();

\t\t\tif (json['success']) {
\t\t\t\t\$('#recurring-description').html(json['success']);
\t\t\t}
\t\t}
\t});
});
//--></script>
<script type=\"text/javascript\"><!--
\$('#button-cart, [data-quick-buy]').on('click', function () {
  var \$btn = \$(this);
  \$.ajax({
    url: 'index.php?route=checkout/cart/add',
    type: 'post',
    data: \$(
      '#product .button-group-page input[type=\\'text\\'], #product .button-group-page input[type=\\'hidden\\'], #product .button-group-page input[type=\\'radio\\']:checked, #product .button-group-page input[type=\\'checkbox\\']:checked, #product .button-group-page select, #product .button-group-page textarea, ' +
      '#product .product-options input[type=\\'text\\'], #product .product-options input[type=\\'hidden\\'], #product .product-options input[type=\\'radio\\']:checked, #product .product-options input[type=\\'checkbox\\']:checked, #product .product-options select, #product .product-options textarea, ' +
      '#product select[name=\"recurring_id\"]'
    ),
    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');

        try {
          \$('html, body').animate({ scrollTop: \$('.form-group.has-error').offset().top - 50 }, 'slow');
        } catch (e) {
        }
      }

      if (json['success']) {
        if (\$('html').hasClass('popup-options')) {
          parent.\$(\".popup-options .popup-close\").trigger('click');
        }

        if (json['notification']) {
          parent.show_notification(json['notification']);
        } else {
          parent.\$('#content').parent().before('<div class=\"alert alert-success\"><i class=\"fa fa-check-circle\"></i> ' + json['success'] + ' <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button></div>');
        }

        parent.\$('#cart-total').html(json['total']);
        parent.\$('#cart-items').html(json['items_count']);

        if (json['items_count']) {
          parent.\$('#cart-items').removeClass('count-zero');
        } else {
          parent.\$('#cart-items').addClass('count-zero');
        }

        if (Journal['scrollToTop']) {
          parent.\$('html, body').animate({ scrollTop: 0 }, 'slow');
        }

        parent.\$('.cart-content ul').load('index.php?route=common/cart/info ul li');

        if (window.location.href.indexOf('quick_buy=true') !== -1) {
          parent.location.href = Journal['checkoutUrl'];
        }

        if (\$btn.data('quick-buy') !== undefined) {
          location = Journal['checkoutUrl'];
        }

        if (parent.window['_QuickCheckout']) {
          parent.window['_QuickCheckout'].save();
        }

        if (json['redirect']) {
          parent.location.href = json['redirect'];
        }
      }
    },
    error: function (xhr, ajaxOptions, thrownError) {
      alert(thrownError + '\\r\\n' + xhr.statusText + '\\r\\n' + xhr.responseText);
    }
  });
});
//--></script>
<script type=\"text/javascript\"><!--
\$('.date').datetimepicker({
\tlanguage: '";
        // line 712
        echo (isset($context["datepicker"]) ? $context["datepicker"] : null);
        echo "',
\tpickTime: false
});

\$('.datetime').datetimepicker({
\tlanguage: '";
        // line 717
        echo (isset($context["datepicker"]) ? $context["datepicker"] : null);
        echo "',
\tpickDate: true,
\tpickTime: true
});

\$('.time').datetimepicker({
\tlanguage: '";
        // line 723
        echo (isset($context["datepicker"]) ? $context["datepicker"] : null);
        echo "',
\tpickDate: false
});

\$('button[id^=\\'button-upload\\']').on('click', function() {
\tvar node = this;

\t\$('#form-upload').remove();

\t\$('body').prepend('<form enctype=\"multipart/form-data\" id=\"form-upload\" style=\"display: none;\"><input type=\"file\" name=\"file\" /></form>');

\t\$('#form-upload input[name=\\'file\\']').trigger('click');

\tif (typeof timer != 'undefined') {
    \tclearInterval(timer);
\t}

\ttimer = setInterval(function() {
\t\tif (\$('#form-upload input[name=\\'file\\']').val() != '') {
\t\t\tclearInterval(timer);

\t\t\t\$.ajax({
\t\t\t\turl: 'index.php?route=tool/upload',
\t\t\t\ttype: 'post',
\t\t\t\tdataType: 'json',
\t\t\t\tdata: new FormData(\$('#form-upload')[0]),
\t\t\t\tcache: false,
\t\t\t\tcontentType: false,
\t\t\t\tprocessData: false,
\t\t\t\tbeforeSend: function() {
\t\t\t\t\t\$(node).button('loading');
\t\t\t\t},
\t\t\t\tcomplete: function() {
\t\t\t\t\t\$(node).button('reset');
\t\t\t\t},
\t\t\t\tsuccess: function(json) {
\t\t\t\t\t\$('.text-danger').remove();

\t\t\t\t\tif (json['error']) {
\t\t\t\t\t\t\$(node).parent().find('input').after('<div class=\"text-danger\">' + json['error'] + '</div>');
\t\t\t\t\t}

\t\t\t\t\tif (json['success']) {
\t\t\t\t\t\talert(json['success']);

\t\t\t\t\t\t\$(node).parent().find('input').val(json['code']);
\t\t\t\t\t}
\t\t\t\t},
\t\t\t\terror: function(xhr, ajaxOptions, thrownError) {
\t\t\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
\t\t\t\t}
\t\t\t});
\t\t}
\t}, 500);
});
//--></script>
<script type=\"text/javascript\"><!--
\$(function () {
  \$('#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 791
        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 795
        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);
        }
      }
    });
  });
});

\$(document).ready(function() {
\t\$('.thumbnails').magnificPopup({
\t\ttype:'image',
\t\tdelegate: 'a',
\t\tgallery: {
\t\t\tenabled: true
\t\t}
\t});
});

\$(document).ready(function () {
  \$('.review-links a').on('click', function () {
    var \$review = \$('#review');
    if (\$review.length) {
      \$('a[href=\"#' + \$review.closest('.module-item').attr('id') + '\"]').trigger('click');
      \$('a[href=\"#' + \$review.closest('.tab-pane').attr('id') + '\"]').trigger('click');
      \$('a[href=\"#' + \$review.closest('.panel-collapse').attr('id') + '\"]').trigger('click');

      \$([document.documentElement, document.body]).animate({
        scrollTop: \$review.offset().top - 100
      }, 200);
    }
  });
});
//--></script>
";
        // line 849
        if ( !$this->getAttribute($this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "document", array()), "isPopup", array(), "method")) {
            // line 850
            echo $this->getAttribute((isset($context["j3"]) ? $context["j3"] : null), "loadController", array(0 => "journal3/seo/rich_snippets", 1 => (isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null)), "method");
            echo "
";
        }
        // line 852
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo "
";
    }

    public function getTemplateName()
    {
        return "journal3/template/product/product.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  2417 => 852,  2412 => 850,  2410 => 849,  2353 => 795,  2346 => 791,  2275 => 723,  2266 => 717,  2258 => 712,  2137 => 593,  2131 => 590,  2126 => 589,  2123 => 588,  2119 => 586,  2105 => 585,  2101 => 584,  2094 => 583,  2077 => 582,  2073 => 581,  2070 => 580,  2067 => 579,  2064 => 578,  2058 => 575,  2055 => 574,  2052 => 573,  2049 => 572,  2044 => 569,  2040 => 567,  2038 => 566,  2033 => 564,  2026 => 561,  2024 => 560,  2020 => 558,  2016 => 556,  2002 => 555,  1998 => 554,  1991 => 553,  1974 => 552,  1970 => 551,  1967 => 550,  1964 => 549,  1961 => 548,  1955 => 545,  1952 => 544,  1949 => 543,  1947 => 542,  1944 => 541,  1941 => 540,  1935 => 538,  1932 => 537,  1930 => 536,  1927 => 535,  1921 => 533,  1919 => 532,  1916 => 531,  1911 => 528,  1907 => 526,  1891 => 524,  1888 => 523,  1885 => 522,  1869 => 520,  1867 => 519,  1864 => 518,  1848 => 516,  1845 => 515,  1843 => 514,  1840 => 513,  1838 => 512,  1834 => 510,  1830 => 508,  1785 => 506,  1768 => 505,  1765 => 504,  1762 => 503,  1747 => 501,  1738 => 495,  1732 => 494,  1728 => 493,  1725 => 492,  1723 => 491,  1718 => 488,  1716 => 487,  1713 => 486,  1707 => 482,  1696 => 480,  1692 => 479,  1688 => 478,  1681 => 475,  1679 => 474,  1676 => 473,  1672 => 471,  1666 => 470,  1653 => 464,  1646 => 462,  1637 => 461,  1634 => 460,  1621 => 454,  1614 => 452,  1605 => 451,  1602 => 450,  1589 => 444,  1582 => 442,  1573 => 441,  1570 => 440,  1562 => 437,  1554 => 436,  1550 => 435,  1541 => 434,  1538 => 433,  1526 => 430,  1520 => 429,  1511 => 428,  1508 => 427,  1496 => 424,  1490 => 423,  1481 => 422,  1478 => 421,  1473 => 418,  1464 => 415,  1457 => 413,  1455 => 412,  1451 => 411,  1448 => 410,  1421 => 409,  1415 => 408,  1411 => 406,  1405 => 405,  1401 => 404,  1388 => 403,  1385 => 402,  1380 => 399,  1371 => 396,  1364 => 393,  1361 => 392,  1359 => 391,  1355 => 390,  1352 => 389,  1325 => 388,  1319 => 387,  1315 => 385,  1309 => 384,  1305 => 383,  1292 => 382,  1289 => 381,  1284 => 378,  1277 => 376,  1270 => 375,  1268 => 374,  1261 => 373,  1257 => 372,  1253 => 371,  1247 => 370,  1241 => 369,  1228 => 368,  1225 => 367,  1221 => 366,  1217 => 365,  1214 => 364,  1212 => 363,  1209 => 362,  1205 => 360,  1201 => 358,  1197 => 356,  1191 => 354,  1188 => 353,  1182 => 351,  1180 => 350,  1177 => 349,  1174 => 348,  1166 => 344,  1150 => 342,  1148 => 341,  1144 => 340,  1141 => 339,  1139 => 338,  1136 => 337,  1128 => 335,  1125 => 334,  1117 => 332,  1114 => 331,  1106 => 329,  1103 => 328,  1095 => 326,  1092 => 325,  1084 => 323,  1081 => 322,  1073 => 320,  1070 => 319,  1062 => 317,  1059 => 316,  1047 => 314,  1044 => 313,  1036 => 311,  1033 => 310,  1025 => 308,  1022 => 307,  1014 => 305,  1011 => 304,  1001 => 302,  998 => 301,  984 => 299,  982 => 298,  978 => 296,  976 => 295,  973 => 294,  969 => 292,  958 => 290,  954 => 289,  951 => 288,  949 => 287,  946 => 286,  938 => 284,  935 => 283,  927 => 281,  925 => 280,  922 => 279,  917 => 277,  912 => 276,  906 => 274,  904 => 273,  899 => 270,  897 => 269,  894 => 268,  887 => 264,  883 => 263,  879 => 262,  875 => 261,  870 => 260,  864 => 258,  862 => 257,  859 => 256,  857 => 255,  854 => 254,  847 => 250,  843 => 249,  839 => 248,  835 => 246,  829 => 245,  822 => 240,  817 => 237,  814 => 236,  810 => 235,  806 => 233,  804 => 232,  801 => 231,  797 => 229,  793 => 227,  787 => 225,  784 => 224,  778 => 222,  776 => 221,  773 => 220,  770 => 219,  762 => 215,  746 => 213,  744 => 212,  740 => 211,  737 => 210,  735 => 209,  732 => 208,  724 => 206,  721 => 205,  713 => 203,  710 => 202,  702 => 200,  699 => 199,  691 => 197,  688 => 196,  680 => 194,  677 => 193,  669 => 191,  666 => 190,  658 => 188,  655 => 187,  643 => 185,  640 => 184,  632 => 182,  629 => 181,  621 => 179,  618 => 178,  610 => 176,  607 => 175,  597 => 173,  594 => 172,  580 => 170,  578 => 169,  574 => 167,  572 => 166,  569 => 165,  564 => 162,  560 => 160,  558 => 159,  553 => 157,  546 => 154,  544 => 153,  541 => 152,  538 => 151,  532 => 148,  529 => 147,  527 => 146,  522 => 145,  520 => 144,  516 => 142,  512 => 140,  508 => 138,  494 => 137,  490 => 136,  483 => 135,  466 => 134,  462 => 133,  459 => 132,  456 => 131,  451 => 128,  447 => 126,  445 => 125,  440 => 123,  433 => 120,  430 => 119,  427 => 118,  421 => 115,  418 => 114,  415 => 113,  412 => 112,  404 => 110,  402 => 109,  399 => 108,  396 => 107,  392 => 105,  371 => 102,  366 => 101,  349 => 100,  346 => 99,  335 => 90,  306 => 87,  301 => 86,  284 => 85,  277 => 83,  266 => 82,  263 => 81,  261 => 80,  258 => 79,  254 => 77,  241 => 75,  237 => 74,  234 => 73,  232 => 72,  221 => 63,  186 => 60,  177 => 59,  174 => 58,  156 => 57,  154 => 56,  147 => 54,  137 => 53,  131 => 52,  128 => 51,  126 => 50,  121 => 49,  119 => 48,  118 => 47,  117 => 46,  116 => 45,  115 => 44,  113 => 43,  110 => 42,  104 => 40,  101 => 39,  99 => 38,  94 => 37,  89 => 35,  85 => 34,  80 => 32,  74 => 30,  72 => 29,  69 => 28,  58 => 26,  54 => 25,  51 => 24,  49 => 23,  45 => 22,  42 => 20,  40 => 19,  38 => 18,  36 => 16,  35 => 15,  34 => 14,  33 => 12,  32 => 11,  31 => 10,  29 => 8,  28 => 7,  27 => 5,  25 => 4,  23 => 3,  21 => 2,  19 => 1,);
    }
}
/* {% set stylePrefix = j3.document.isPopup('quickview') ? 'quickviewPageStyle' : 'productPageStyle' %}*/
/* {% set optionPrice = j3.settings.get(stylePrefix ~ 'OptionPrice') %}*/
/* {% set direction = j3.settings.get(stylePrefix ~ 'AdditionalImagesPosition') == 'left' or j3.settings.get(stylePrefix ~ 'AdditionalImagesPosition') == 'right' ? 'vertical' : 'horizontal' %}*/
/* {% set carousel = direction == 'vertical' or j3.settings.get(stylePrefix ~ 'AdditionalImagesCarousel') %}*/
/* {% set carouselOptions = {*/
/*   slidesPerView: 'auto',*/
/*   spaceBetween: j3.settings.get(stylePrefix ~ 'AdditionalImagesSpacing')|default(0),*/
/*   direction: direction*/
/* } %}*/
/* {% set galleryOptions = {*/
/*   thumbWidth: j3.settings.get('image_dimensions_popup_thumb.width'),*/
/*   thumbConHeight: j3.settings.get('image_dimensions_popup_thumb.height'),*/
/*   addClass: 'lg-product-images',*/
/*   mode: j3.settings.get(stylePrefix ~ 'GalleryMode'),*/
/*   download: j3.settings.get(stylePrefix ~ 'GalleryDownload'),*/
/*   fullScreen: j3.settings.get(stylePrefix ~ 'GalleryFullScreen')*/
/* } %}*/
/* {% set quickviewExpand = not j3.settings.get('quickviewExpandButton') or (j3.settings.get('globalExpandCharactersLimit') > 0 and description and description|length <= j3.settings.get('globalExpandCharactersLimit')) ? 'no-expand': '' %}*/
/* {% if j3.isDescriptionEmpty(description) %}*/
/* {% set description = '' %}*/
/* {% endif %}*/
/* {{ header }}*/
/* {% if not j3.document.isPopup() %}*/
/* <ul class="breadcrumb">*/
/*   {% for breadcrumb in breadcrumbs %}*/
/*   <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/*   {% endfor %}*/
/* </ul>*/
/* {% if j3.settings.get('pageTitlePosition') == 'top' %}*/
/*   <h1 class="title page-title"><span>{{ heading_title }}</span></h1>*/
/* {% endif %}*/
/* {{ j3.loadController('journal3/layout', 'top') }}*/
/* <div id="product-product" class="container">*/
/*   <div class="row">{{ column_left }}*/
/*     <div id="content" class="{{ class }}">*/
/*       {% endif %}*/
/*       {{ content_top }}*/
/*       {% if not j3.document.isPopup('options') %}*/
/*         {% if j3.settings.get('pageTitlePosition') == 'default' or j3.document.isPopup('quickview') %}*/
/*           <h1 class="title page-title">{{ heading_title }}</h1>*/
/*         {% endif %}*/
/*       {% endif %}*/
/*       {% set classes = j3.classes({*/
/*         'out-of-stock': product_quantity <= 0,*/
/*         'has-countdown': date_end,*/
/*         'has-zero-price': not product_price_value,*/
/*         'has-extra-button': product_extra_buttons,*/
/*       }) ~ ' ' ~ product_exclude_classes %}*/
/*       <div class="product-info {{ classes }}">*/
/*         {% if not j3.document.isPopup('options') %}*/
/*         <div class="product-left">*/
/*           <div class="product-image direction-{{ direction }} position-{{ j3.settings.get(stylePrefix ~ 'AdditionalImagesPosition') }}">*/
/*             <div class="swiper main-image" data-options='{{ j3.carousel(j3.document.getJs(), stylePrefix ~ 'ImageCarouselStyle')|json_encode(constant('JSON_FORCE_OBJECT')) }}' {% if images|length > 1 and j3.settings.get(stylePrefix ~ 'AdditionalImagesStatus') and carousel and direction == 'vertical' %}style="width: calc(100% - {{ j3.settings.get('image_dimensions_additional.width') }}px)"{% endif %}>*/
/*               <div class="swiper-container" {% if j3.isRTL() %}dir="rtl"{% endif %}>*/
/*                 <div class="swiper-wrapper">*/
/*                   {% set gallery = [] %}*/
/*                   {% for image in images %}*/
/*                     {% set gallery = gallery|merge([{src: image.popup, thumb: image.galleryThumb, subHtml: heading_title}]) %}*/
/*                     <div class="swiper-slide" {% if not j3.document.isPopup() and j3.settings.get(stylePrefix ~ 'GalleryStatus') %} data-gallery=".lightgallery-product-images" data-index="{{ loop.index0 }}" {% endif %}>*/
/*                       <img src="{{ image.image }}" {% if image.image2x %}srcset="{{ image.image }} 1x, {{ image.image2x }} 2x"{% endif %} data-largeimg="{{ image.popup }}" alt="{{ heading_title }}" title="{{ heading_title }}" width="{{ j3.settings.get('image_dimensions_thumb.width') }}" height="{{ j3.settings.get('image_dimensions_thumb.height') }}"/>*/
/*                     </div>*/
/*                   {% endfor %}*/
/*                 </div>*/
/*               </div>*/
/*               <div class="swiper-controls">*/
/*                 <div class="swiper-buttons">*/
/*                   <div class="swiper-button-prev"></div>*/
/*                   <div class="swiper-button-next"></div>*/
/*                 </div>*/
/*                 <div class="swiper-pagination"></div>*/
/*               </div>*/
/*               {% if product_labels %}*/
/*                 <div class="product-labels">*/
/*                   {% for id, label in product_labels %}*/
/*                     <span class="product-label product-label-{{ id }} product-label-{{ label.display }}"><b>{{ label.label }}</b></span>*/
/*                   {% endfor %}*/
/*                 </div>*/
/*               {% endif %}*/
/*             </div>*/
/*             {% if images|length > 1 and j3.settings.get(stylePrefix ~ 'AdditionalImagesStatus') %}*/
/*               {% if carousel %}*/
/*                 <div class="swiper additional-images" data-options='{{ carouselOptions|json_encode(constant('JSON_FORCE_OBJECT')) }}' {% if direction == 'vertical' %}style="width: {{ j3.settings.get('image_dimensions_additional.width') }}px"{% endif %}>*/
/*                   <div class="swiper-container" {% if j3.isRTL() %}dir="rtl"{% endif %}>*/
/*                     <div class="swiper-wrapper">*/
/*                       {% for image in images %}*/
/*                         <div class="swiper-slide additional-image" data-index="{{ loop.index0 }}">*/
/*                           <img src="{{ image.thumb }}" {% if image.thumb2x %}srcset="{{ image.thumb }} 1x, {{ image.thumb2x }} 2x"{% endif %} alt="{{ heading_title }}" title="{{ heading_title }}"/>*/
/*                         </div>*/
/*                       {% endfor %}*/
/*                     </div>*/
/*                   </div>*/
/*                   <div class="swiper-buttons">*/
/*                     <div class="swiper-button-prev"></div>*/
/*                     <div class="swiper-button-next"></div>*/
/*                   </div>*/
/*                   <div class="swiper-pagination"></div>*/
/*                 </div>*/
/*               {% else %}*/
/*                 <div class="additional-images">*/
/*                   {% for image in images %}*/
/*                     <div class="additional-image" data-index="{{ loop.index0 }}">*/
/*                       <img src="{{ image.thumb }}" alt="{{ heading_title }}" title="{{ heading_title }}"/>*/
/*                     </div>*/
/*                   {% endfor %}*/
/*                 </div>*/
/*               {% endif %}*/
/*             {% endif %}*/
/*           </div>*/
/*           {% if not j3.document.isPopup() and j3.settings.get(stylePrefix ~ 'GalleryStatus') %}*/
/*           <div class="lightgallery lightgallery-product-images" data-images='{{ gallery|json_encode|e }}' data-options='{{ galleryOptions|json_encode(constant('JSON_FORCE_OBJECT')) }}'></div>*/
/*           {% endif %}*/
/*           {% if not j3.document.isPopup('options') %}*/
/*             {% if product_blocks.image %}*/
/*             <div class="product-blocks blocks-image">*/
/*               {{ product_blocks.image|join }}*/
/*             </div>*/
/*             {% endif %}*/
/*           {% endif %}*/
/*           {% if description and j3.document.isPopup('quickview') and j3.settings.get('quickviewDescription') and (j3.settings.get('quickviewDescriptionPosition') == 'image') %}*/
/*             <div class="description {{ quickviewExpand }}">*/
/*               <div class="expand-block">*/
/*                 <div class="expand-content">*/
/*                   {{ description }}*/
/*                 </div>*/
/*                 {% if j3.settings.get('quickviewExpandButton') %}*/
/*                   <div class="block-expand-overlay"><a class="block-expand btn"></a></div>*/
/*                 {% endif %}*/
/*               </div>*/
/*             </div>*/
/*           {% endif %}*/
/*           {% if tags and not j3.document.isPopup() and (j3.settings.get(stylePrefix ~ 'TagsPosition') == 'image') %}*/
/*             <div class="tags">*/
/*               <span class="tags-title">{{ text_tags }}</span>*/
/*               {% for tag in tags %}*/
/*                 <a href="{{ tag.href }}">{{ tag.tag }}</a>*/
/*                 {% if not loop.last %}<b>,</b>{% endif %}*/
/*               {% endfor %}*/
/*             </div>*/
/*           {% endif %}*/
/*         </div>*/
/*         {% endif %}*/
/*         <div class="product-right">*/
/*           <div id="product" class="product-details">*/
/*           {% if not j3.document.isPopup('options') %}*/
/*           <div class="title page-title">{{ heading_title }}</div>*/
/*           {% if product_blocks.top %}*/
/*           <div class="product-blocks blocks-top">*/
/*           {{ product_blocks.top|join }}*/
/*           </div>*/
/*           {% endif %}*/
/*           {% endif %}*/
/* */
/*           {% if description and j3.document.isPopup('quickview') and j3.settings.get('quickviewDescription') and (j3.settings.get('quickviewDescriptionPosition') == 'top') %}*/
/*             <div class="description {{ quickviewExpand }}">*/
/*               <div class="expand-block">*/
/*                 <div class="expand-content">*/
/*                   {{ description }}*/
/*                 </div>*/
/*                 {% if j3.settings.get('quickviewExpandButton') %}*/
/*                   <div class="block-expand-overlay"><a class="block-expand btn"></a></div>*/
/*                 {% endif %}*/
/*               </div>*/
/*             </div>*/
/*           {% endif %}*/
/* */
/*           {% if not j3.document.isPopup('options') and j3.settings.get(stylePrefix ~ 'Stats') and (j3.settings.get(stylePrefix ~ 'StatsPosition') == 'default') %}*/
/*             <div class="product-stats">*/
/*               <ul class="list-unstyled">*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductStock')%}*/
/*                   <li class="product-stock {% if product_quantity > 0 %}in-stock{% else %}out-of-stock{% endif %}"><b>{{ j3.settings.get(stylePrefix ~ 'ProductStockText') }}:</b> <span>{{ stock }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if manufacturer and j3.settings.get(stylePrefix ~ 'ProductManufacturer') and (j3.settings.get(stylePrefix ~ 'ProductManufacturerDisplay') == 'list') %}*/
/*                   <li class="product-manufacturer"><b>{{ j3.settings.get(stylePrefix ~ 'ProductManufacturerText') }}:</b> <a href="{{ manufacturers }}">{{ manufacturer }}</a></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductReward') and reward %}*/
/*                   <li class="product-reward"><b>{{ j3.settings.get(stylePrefix ~ 'ProductRewardText') }}:</b> <span>{{ reward }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductModel') and model %}*/
/*                   <li class="product-model"><b>{{ j3.settings.get(stylePrefix ~ 'ProductModelText') }}:</b> <span>{{ model }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductWeight') and product_weight %}*/
/*                   <li class="product-weight"><b>{{ j3.settings.get(stylePrefix ~ 'ProductWeightText') }}:</b> <span>{{ product_weight }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductDimension') and product_dimension %}*/
/*                   <li class="product-dimension"><b>{{ j3.settings.get(stylePrefix ~ 'ProductDimensionText') }}:</b> <span>{{ product_length }} x {{ product_width }} x {{ product_height }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductSKU') and product_sku %}*/
/*                   <li class="product-sku"><b>{{ j3.settings.get(stylePrefix ~ 'ProductSKUText') }}:</b> <span> {{ product_sku }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductUPC') and product_upc %}*/
/*                   <li class="product-upc"><b>{{ j3.settings.get(stylePrefix ~ 'ProductUPCText') }}:</b> <span>{{ product_upc }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductEAN') and product_ean %}*/
/*                   <li class="product-ean"><b>{{ j3.settings.get(stylePrefix ~ 'ProductEANText') }}:</b> <span>{{ product_ean }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductJAN') and product_jan %}*/
/*                   <li class="product-jan"><b>{{ j3.settings.get(stylePrefix ~ 'ProductJANText') }}:</b> <span>{{ product_jan }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductISBN') and product_isbn %}*/
/*                   <li class="product-isbn"><b>{{ j3.settings.get(stylePrefix ~ 'ProductISBNText') }}:</b> <span>{{ product_isbn }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductMPN') and product_mpn %}*/
/*                   <li class="product-mpn"><b>{{ j3.settings.get(stylePrefix ~ 'ProductMPNText') }}:</b> <span>{{ product_mpn }}</span></li>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'ProductLocation') and product_location %}*/
/*                   <li class="product-location"><b>{{ j3.settings.get(stylePrefix ~ 'ProductLocationText') }}:</b> <span>{{ product_location }}</span></li>*/
/*                 {% endif %}*/
/*               </ul>*/
/*               {% if manufacturer and j3.settings.get(stylePrefix ~ 'ProductManufacturer') and (j3.settings.get(stylePrefix ~ 'ProductManufacturerDisplay') == 'image') %}*/
/*                 <div class="brand-image product-manufacturer">*/
/*                   <a href="{{ manufacturers }}">*/
/*                     {% if manufacturer_image %}*/
/*                       <img src="{{ manufacturer_image }}" {% if manufacturer_image2x %}srcset="{{ manufacturer_image }} 1x, {{ manufacturer_image2x }} 2x"{% endif %} alt="{{ manufacturer }}"/>*/
/*                     {% endif %}*/
/*                     <span>{{ manufacturer }}</span>*/
/*                   </a>*/
/*                 </div>*/
/*               {% endif %}*/
/*               {% if j3.settings.get(stylePrefix ~ 'CustomStats')%}*/
/*                 <div class="custom-stats">*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductSold')%}*/
/*                     <div class="product-sold"><b>{{ j3.settings.getWithValue(stylePrefix ~ 'SoldText', products_sold) }}</b></div>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductViews')%}*/
/*                     <div class="product-views"><b>{{ j3.settings.getWithValue(stylePrefix ~ 'ViewsText', product_views) }}</b></div>*/
/*                   {% endif %}*/
/*                 </div>*/
/*               {% endif %}*/
/*             </div>*/
/*           {% endif %}*/
/* */
/*           {% if review_status and not j3.document.isPopup() %}*/
/*             <div class="rating rating-page">*/
/*               <div class="rating-stars">*/
/*                 {% for i in 1..5 %}*/
/*                   {% if rating < i %}*/
/*                     <span class="fa fa-stack">*/
/*                       <i class="fa fa-star-o fa-stack-1x"></i>*/
/*                     </span>{% else %}*/
/*                     <span class="fa fa-stack">*/
/*                       <i class="fa fa-star fa-stack-1x"></i>*/
/*                       <i class="fa fa-star-o fa-stack-1x"></i>*/
/*                     </span>*/
/*                   {% endif %}*/
/*                 {% endfor %}*/
/*               </div>*/
/*               <div class="review-links">*/
/*                 <a>{{ reviews }}</a>*/
/*                 <b>{{ j3.settings.get(stylePrefix ~ 'RatingSeparator') }}</b>*/
/*                 <a>{{ text_write }}</a>*/
/*               </div>*/
/*             </div>*/
/*           {% endif %}*/
/* */
/*           {% if date_end and j3.settings.get(j3.document.isPopup() ? 'quickviewCountdown' : 'countdownStatus') %}*/
/*             <div class="countdown-wrapper">*/
/*               {% if j3.settings.get(stylePrefix ~ 'CountdownText') %}*/
/*               <h5 class="countdown-title title">{{ j3.settings.get(stylePrefix ~ 'CountdownText') }}</h5>*/
/*               {% endif %}*/
/*               <div class="countdown" data-date="{{ date_end }}">*/
/*                 <div><i class="fa fa-spinner fa-spin"></i><span>{{ j3.settings.get('countdownDay') }}</span></div>*/
/*                 <div><i class="fa fa-spinner fa-spin"></i><span>{{ j3.settings.get('countdownHour') }}</span></div>*/
/*                 <div><i class="fa fa-spinner fa-spin"></i><span>{{ j3.settings.get('countdownMin') }}</span></div>*/
/*                 <div><i class="fa fa-spinner fa-spin"></i><span>{{ j3.settings.get('countdownSec') }}</span></div>*/
/*               </div>*/
/*             </div>*/
/*           {% endif %}*/
/* */
/*           {% if price and not j3.document.isPopup('options') %}*/
/*           <div class="product-price-group">*/
/*            <div class="price-wrapper">*/
/*              <div class="price-group">*/
/*                {% if not special %}*/
/*                  <div class="product-price">{{ price }}</div>*/
/*                {% else %}*/
/*                  <div class="product-price-new">{{ special }}</div>*/
/*                  <div class="product-price-old">{{ price }}</div>*/
/*                {% endif %}*/
/*              </div>*/
/*              {% if tax %}*/
/*                <div class="product-tax">{{ text_tax }} {{ tax }}</div>*/
/*              {% endif %}*/
/*              {% if points %}*/
/*                <div class="product-points">{{ text_points }} {{ points }}</div>*/
/*              {% endif %}*/
/* */
/*              {% if discounts %}*/
/*                <div class="discounts">*/
/*                  {% for discount in discounts %}*/
/*                    <div class="product-discount">{{ discount.quantity }}{{ text_discount }}{{ discount.price }}</div>*/
/*                  {% endfor %}*/
/*                </div>*/
/*              {% endif %}*/
/*            </div>*/
/*             {% if not j3.document.isPopup('options') and j3.settings.get(stylePrefix ~ 'Stats') and (j3.settings.get(stylePrefix ~ 'StatsPosition') == 'price') %}*/
/*               <div class="product-stats">*/
/*                 <ul class="list-unstyled">*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductStock')%}*/
/*                     <li class="product-stock {% if product_quantity > 0 %}in-stock{% else %}out-of-stock{% endif %}"><b>{{ j3.settings.get(stylePrefix ~ 'ProductStockText') }}:</b> <span>{{ stock }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if manufacturer and j3.settings.get(stylePrefix ~ 'ProductManufacturer') and (j3.settings.get(stylePrefix ~ 'ProductManufacturerDisplay') == 'list') %}*/
/*                     <li class="product-manufacturer"><b>{{ j3.settings.get(stylePrefix ~ 'ProductManufacturerText') }}:</b> <a href="{{ manufacturers }}">{{ manufacturer }}</a></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductReward') and reward %}*/
/*                     <li class="product-reward"><b>{{ j3.settings.get(stylePrefix ~ 'ProductRewardText') }}:</b> <span>{{ reward }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductModel') and model %}*/
/*                     <li class="product-model"><b>{{ j3.settings.get(stylePrefix ~ 'ProductModelText') }}:</b> <span>{{ model }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductWeight') and product_weight %}*/
/*                     <li class="product-weight"><b>{{ j3.settings.get(stylePrefix ~ 'ProductWeightText') }}:</b> <span>{{ product_weight }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductDimension') and product_dimension %}*/
/*                     <li class="product-dimension"><b>{{ j3.settings.get(stylePrefix ~ 'ProductDimensionText') }}:</b> <span>{{ product_length }} x {{ product_width }} x {{ product_height }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductSKU') and product_sku %}*/
/*                     <li class="product-sku"><b>{{ j3.settings.get(stylePrefix ~ 'ProductSKUText') }}:</b> <span> {{ product_sku }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductUPC') and product_upc %}*/
/*                     <li class="product-upc"><b>{{ j3.settings.get(stylePrefix ~ 'ProductUPCText') }}:</b> <span>{{ product_upc }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductEAN') and product_ean %}*/
/*                     <li class="product-ean"><b>{{ j3.settings.get(stylePrefix ~ 'ProductEANText') }}:</b> <span>{{ product_ean }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductJAN') and product_jan %}*/
/*                     <li class="product-jan"><b>{{ j3.settings.get(stylePrefix ~ 'ProductJANText') }}:</b> <span>{{ product_jan }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductISBN') and product_isbn %}*/
/*                     <li class="product-isbn"><b>{{ j3.settings.get(stylePrefix ~ 'ProductISBNText') }}:</b> <span>{{ product_isbn }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductMPN') and product_mpn %}*/
/*                     <li class="product-mpn"><b>{{ j3.settings.get(stylePrefix ~ 'ProductMPNText') }}:</b> <span>{{ product_mpn }}</span></li>*/
/*                   {% endif %}*/
/*                   {% if j3.settings.get(stylePrefix ~ 'ProductLocation') and product_location %}*/
/*                     <li class="product-location"><b>{{ j3.settings.get(stylePrefix ~ 'ProductLocationText') }}:</b> <span>{{ product_location }}</span></li>*/
/*                   {% endif %}*/
/*                 </ul>*/
/*                 {% if manufacturer and j3.settings.get(stylePrefix ~ 'ProductManufacturer') and (j3.settings.get(stylePrefix ~ 'ProductManufacturerDisplay') == 'image') %}*/
/*                   <div class="brand-image product-manufacturer">*/
/*                     <a href="{{ manufacturers }}">*/
/*                       {% if manufacturer_image %}*/
/*                         <img src="{{ manufacturer_image }}" {% if manufacturer_image2x %}srcset="{{ manufacturer_image }} 1x, {{ manufacturer_image2x }} 2x"{% endif %} alt="{{ manufacturer }}"/>*/
/*                       {% endif %}*/
/*                       <span>{{ manufacturer }}</span>*/
/*                     </a>*/
/*                   </div>*/
/*                 {% endif %}*/
/*                 {% if j3.settings.get(stylePrefix ~ 'CustomStats')%}*/
/*                   <div class="custom-stats">*/
/*                     {% if j3.settings.get(stylePrefix ~ 'ProductSold')%}*/
/*                       <div class="product-sold"><b>{{ j3.settings.getWithValue(stylePrefix ~ 'SoldText', products_sold) }}</b></div>*/
/*                     {% endif %}*/
/*                     {% if j3.settings.get(stylePrefix ~ 'ProductViews')%}*/
/*                       <div class="product-views"><b>{{ j3.settings.getWithValue(stylePrefix ~ 'ViewsText', product_views) }}</b></div>*/
/*                     {% endif %}*/
/*                   </div>*/
/*                 {% endif %}*/
/*               </div>*/
/*             {% endif %}*/
/*           </div>*/
/*           {% endif %}*/
/* */
/*           {% if options %}*/
/*           <div class="product-options">*/
/*             <h3 class="options-title title">{{ text_option }}</h3>*/
/*             {% for option in options %}*/
/*             {% if option.type == 'select' %}*/
/*             <div class="form-group{% if option.required %} required {% endif %} product-option-{{ option.type }} {% if j3.settings.get(stylePrefix ~ 'OptionsPushSelect') %}push-option{% 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 and optionPrice %}*/
/*                 ({{ 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 %} product-option-{{ option.type }} {% if j3.settings.get(stylePrefix ~ 'OptionsPushRadio') %}push-option{% 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 and optionPrice %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" data-toggle="tooltip" data-tooltip-class="push-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'PushTooltipPosition') }}" title="{{ option_value.name }} {% if option_value.price and optionPrice %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %}"/> {% endif %}*/
/*                     <span class="option-value">*/
/*                       {{ option_value.name }}*/
/*                       {% if option_value.price and optionPrice %}*/
/*                         <span class="option-price">*/
/*                           ({{ option_value.price_prefix }}{{ option_value.price }})*/
/*                         </span>*/
/*                       {% endif %}*/
/*                     </span>*/
/*                   </label>*/
/*                 </div>*/
/*                 {% endfor %} </div>*/
/*             </div>*/
/*             {% endif %}*/
/*             {% if option.type == 'checkbox' %}*/
/*             <div class="form-group{% if option.required %} required {% endif %} product-option-{{ option.type }} {% if j3.settings.get(stylePrefix ~ 'OptionsPushCheckbox') %}push-option{% 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 and optionPrice %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" data-toggle="tooltip" data-tooltip-class="push-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'PushTooltipPosition') }}" title="{{ option_value.name }} {% if option_value.price and optionPrice %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %}"/> {% endif %}*/
/*                     <span class="option-value">*/
/*                       {{ option_value.name }}*/
/*                       {% if option_value.price and optionPrice %}*/
/*                         <span class="option-price">({{ option_value.price_prefix }}{{ option_value.price }})</span>*/
/*                       {% endif %}*/
/*                     </span>*/
/*                   </label>*/
/*                 </div>*/
/*                 {% endfor %} </div>*/
/*             </div>*/
/*             {% endif %}*/
/*             {% if option.type == 'text' %}*/
/*             <div class="form-group{% if option.required %} required {% endif %} product-option-{{ option.type }}">*/
/*               <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 %} product-option-{{ option.type }}">*/
/*               <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 %} product-option-{{ option.type }}">*/
/*               <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 %} product-option-{{ option.type }}">*/
/*               <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/
/*               <div class="input-group date" data-picker-class="product-options pp-date-time-picker">*/
/*                 <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 %} product-option-{{ option.type }}">*/
/*               <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/
/*               <div class="input-group datetime" data-picker-class="product-options pp-date-time-picker">*/
/*                 <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 %} product-option-{{ option.type }}">*/
/*               <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label>*/
/*               <div class="input-group time" data-picker-class="product-options pp-date-time-picker">*/
/*                 <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 %}*/
/*           </div>*/
/*           {% endif %}*/
/* */
/*           {% if recurrings %}*/
/*             <h3 class="title recurring-title">{{ 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 %}*/
/* */
/*           {% if j3.settings.get('catalogCartStatus') or j3.settings.get('catalogWishlistStatus') or j3.settings.get('catalogCompareStatus') or (product_extra_buttons and not j3.document.isPopup()) %}*/
/*           <div class="button-group-page">*/
/*             <div class="buttons-wrapper">*/
/*               <div class="stepper-group cart-group">*/
/*                 {% if j3.settings.get('catalogCartStatus') %}*/
/*                 <div class="stepper">*/
/*                   <label class="control-label" for="product-quantity">{{ entry_qty }}</label>*/
/*                   <input id="product-quantity" type="text" name="quantity" value="{{ minimum }}" data-minimum="{{ minimum }}" class="form-control"/>*/
/*                   <input id="product-id" type="hidden" name="product_id" value="{{ product_id }}" />*/
/*                   <span>*/
/*                   <i class="fa fa-angle-up"></i>*/
/*                   <i class="fa fa-angle-down"></i>*/
/*                 </span>*/
/*                 </div>*/
/*                 <a id="button-cart" data-loading-text="<span class='btn-text'>{{ button_cart }}</span>" class="btn btn-cart" {% if (j3.settings.get(stylePrefix ~ 'CartDisplay') == "icon") and (j3.settings.get(stylePrefix ~ 'CartTooltipStatus')) %} data-toggle="tooltip" data-tooltip-class="pp-cart-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'CartTooltipPosition') }}" title="{{ button_cart }}" {% endif %}><span class="btn-text">{{ button_cart }}</span></a>*/
/*                 {% endif %}*/
/*                 {% if product_extra_buttons and not j3.document.isPopup() %}*/
/*                   <div class="extra-group">*/
/*                     {% for id, extra_button in product_extra_buttons %}*/
/*                       <a class="btn btn-extra btn-extra-{{ id }} btn-{{ loop.index }}-extra" {% if (j3.settings.get(stylePrefix ~ 'Extra' ~ loop.index ~ 'ButtonDisplay') == "icon") and (j3.settings.get(stylePrefix ~ 'ExtraTooltipStatus')) %} data-toggle="tooltip" data-tooltip-class="extra-tooltip pp-extra-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'ExtraTooltipPosition') }}" title="{{ extra_button.label }}" {% endif %} {% if extra_button.action == 'quickbuy' %}data-quick-buy{% endif %} {% if extra_button.action == 'link' and extra_button.link.href %}href="{{ extra_button.link.href }}" {{ j3.linkAttrs(extra_button.link) }} data-product_id="{{ product_id }}"{% endif %} data-loading-text="<span class='btn-text'>{{ extra_button.label }}</span>"><span class="btn-text">{{ extra_button.label }}</span></a>*/
/*                     {% endfor %}*/
/*                   </div>*/
/*                 {% endif %}*/
/*               </div>*/
/* */
/*               {% if j3.settings.get('catalogWishlistStatus') or j3.settings.get('catalogCompareStatus') or j3.document.isPopup('quickview') %}*/
/*               <div class="wishlist-compare">*/
/*                 {% if not j3.document.isPopup('options') %}*/
/*                   {% if j3.settings.get('catalogWishlistStatus') %}*/
/*                   <a class="btn btn-wishlist" {% if (j3.settings.get(stylePrefix ~ 'WishlistDisplay') == "icon") and (j3.settings.get(stylePrefix ~ 'WishlistTooltipStatus')) %} data-toggle="tooltip" data-tooltip-class="pp-wishlist-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'WishlistTooltipPosition') }}" title="{{ button_wishlist }}" {% endif %} onclick="parent.wishlist.add({{ product_id }});"><span class="btn-text">{{ button_wishlist }}</span></a>*/
/*                   {% endif %}*/
/* */
/*                   {% if j3.settings.get('catalogCompareStatus') %}*/
/*                   <a class="btn btn-compare" {% if (j3.settings.get(stylePrefix ~ 'CompareDisplay') == "icon") and (j3.settings.get(stylePrefix ~ 'CompareTooltipStatus')) %} data-toggle="tooltip" data-tooltip-class="pp-compare-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'CompareTooltipPosition') }}" title="{{ button_compare }}" {% endif %} onclick="parent.compare.add({{ product_id }});"><span class="btn-text">{{ button_compare }}</span></a>*/
/*                   {% endif %}*/
/*                 {% endif %}*/
/*                 {% if j3.document.isPopup('quickview') %}*/
/*                   <a class="btn btn-more-details" href="{{ view_more_url }}" target="_top" {% if (j3.settings.get(stylePrefix ~ 'MoreDetailsDisplay') == "icon") and (j3.settings.get(stylePrefix ~ 'MoreDetailsTooltipStatus')) %} data-toggle="tooltip" data-tooltip-class="more-details-tooltip" data-placement="{{ j3.settings.get(stylePrefix ~ 'MoreDetailsTooltipPosition') }}" title="{{ j3.settings.get('quickviewExtraText') }}" {% endif %}><span class="btn-text">{{ j3.settings.get('quickviewExtraText') }}</span></a>*/
/*                 {% endif %}*/
/*               </div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           {% endif %}*/
/* */
/*           {% if minimum > 1 %}*/
/*             <div class="minimum alert alert-info"><i class="fa fa-info-circle"></i> {{ text_minimum }}</div>*/
/*           {% endif %}*/
/* */
/*           {% if not j3.document.isPopup('options') %}*/
/*             {% if product_blocks.details %}*/
/*                 {{ product_blocks.details|join }}*/
/*             {% endif %}*/
/*           {% endif %}*/
/*           </div>*/
/*           {% if not j3.document.isPopup('options') %}*/
/*           {% if product_blocks.bottom %}*/
/*           <div class="product-blocks blocks-bottom">*/
/*             {{ product_blocks.bottom|join }}*/
/*           </div>*/
/*           {% endif %}*/
/*           {% endif %}*/
/*           {% if tags and not j3.document.isPopup() and (j3.settings.get(stylePrefix ~ 'TagsPosition') == 'details') %}*/
/*             <div class="tags">*/
/*               <span class="tags-title">{{ text_tags }}</span>*/
/*               {% for tag in tags %}*/
/*                 <a href="{{ tag.href }}">{{ tag.tag }}</a>*/
/*                 {% if not loop.last %}<b>,</b>{% endif %}*/
/*               {% endfor %}*/
/*             </div>*/
/*           {% endif %}*/
/*         </div>*/
/*       </div>*/
/*       {% if description and j3.document.isPopup('quickview') and j3.settings.get('quickviewDescription') and (j3.settings.get('quickviewDescriptionPosition') == 'default') %}*/
/*         <div class="description {{ quickviewExpand }}">*/
/*           <div class="expand-block">*/
/*             <div class="expand-content">*/
/*               {{ description }}*/
/*             </div>*/
/*             {% if j3.settings.get('quickviewExpandButton') %}*/
/*               <div class="block-expand-overlay"><a class="block-expand btn"></a></div>*/
/*             {% endif %}*/
/*           </div>*/
/*         </div>*/
/*       {% endif %}*/
/*       {% if not j3.document.isPopup('options') %}*/
/*         {% if product_blocks.default %}*/
/*         <div class="product-blocks blocks-default">*/
/*           {{ product_blocks.default|join }}*/
/*         </div>*/
/*         {% endif %}*/
/*       {% endif %}*/
/*       {% if tags and not j3.document.isPopup() and (j3.settings.get(stylePrefix ~ 'TagsPosition') == 'default') %}*/
/*         <div class="tags">*/
/*           <span class="tags-title">{{ text_tags }}</span>*/
/*           {% for tag in tags %}*/
/*             <a href="{{ tag.href }}">{{ tag.tag }}</a>*/
/*             {% if not loop.last %}<b>,</b>{% endif %}*/
/*           {% endfor %}*/
/*         </div>*/
/*       {% endif %}*/
/*       {% if not j3.document.isPopup() %}*/
/*       {{ content_bottom }}</div>*/
/*     {{ column_right }}</div>*/
/* </div>*/
/* {% endif %}*/
/* <script type="text/javascript"><!--*/
/* $('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, [data-quick-buy]').on('click', function () {*/
/*   var $btn = $(this);*/
/*   $.ajax({*/
/*     url: 'index.php?route=checkout/cart/add',*/
/*     type: 'post',*/
/*     data: $(*/
/*       '#product .button-group-page input[type=\'text\'], #product .button-group-page input[type=\'hidden\'], #product .button-group-page input[type=\'radio\']:checked, #product .button-group-page input[type=\'checkbox\']:checked, #product .button-group-page select, #product .button-group-page textarea, ' +*/
/*       '#product .product-options input[type=\'text\'], #product .product-options input[type=\'hidden\'], #product .product-options input[type=\'radio\']:checked, #product .product-options input[type=\'checkbox\']:checked, #product .product-options select, #product .product-options textarea, ' +*/
/*       '#product select[name="recurring_id"]'*/
/*     ),*/
/*     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');*/
/* */
/*         try {*/
/*           $('html, body').animate({ scrollTop: $('.form-group.has-error').offset().top - 50 }, 'slow');*/
/*         } catch (e) {*/
/*         }*/
/*       }*/
/* */
/*       if (json['success']) {*/
/*         if ($('html').hasClass('popup-options')) {*/
/*           parent.$(".popup-options .popup-close").trigger('click');*/
/*         }*/
/* */
/*         if (json['notification']) {*/
/*           parent.show_notification(json['notification']);*/
/*         } else {*/
/*           parent.$('#content').parent().before('<div class="alert alert-success"><i class="fa fa-check-circle"></i> ' + json['success'] + ' <button type="button" class="close" data-dismiss="alert">&times;</button></div>');*/
/*         }*/
/* */
/*         parent.$('#cart-total').html(json['total']);*/
/*         parent.$('#cart-items').html(json['items_count']);*/
/* */
/*         if (json['items_count']) {*/
/*           parent.$('#cart-items').removeClass('count-zero');*/
/*         } else {*/
/*           parent.$('#cart-items').addClass('count-zero');*/
/*         }*/
/* */
/*         if (Journal['scrollToTop']) {*/
/*           parent.$('html, body').animate({ scrollTop: 0 }, 'slow');*/
/*         }*/
/* */
/*         parent.$('.cart-content ul').load('index.php?route=common/cart/info ul li');*/
/* */
/*         if (window.location.href.indexOf('quick_buy=true') !== -1) {*/
/*           parent.location.href = Journal['checkoutUrl'];*/
/*         }*/
/* */
/*         if ($btn.data('quick-buy') !== undefined) {*/
/*           location = Journal['checkoutUrl'];*/
/*         }*/
/* */
/*         if (parent.window['_QuickCheckout']) {*/
/*           parent.window['_QuickCheckout'].save();*/
/*         }*/
/* */
/*         if (json['redirect']) {*/
/*           parent.location.href = json['redirect'];*/
/*         }*/
/*       }*/
/*     },*/
/*     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"><!--*/
/* $(function () {*/
/*   $('#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);*/
/*         }*/
/*       }*/
/*     });*/
/*   });*/
/* });*/
/* */
/* $(document).ready(function() {*/
/* 	$('.thumbnails').magnificPopup({*/
/* 		type:'image',*/
/* 		delegate: 'a',*/
/* 		gallery: {*/
/* 			enabled: true*/
/* 		}*/
/* 	});*/
/* });*/
/* */
/* $(document).ready(function () {*/
/*   $('.review-links a').on('click', function () {*/
/*     var $review = $('#review');*/
/*     if ($review.length) {*/
/*       $('a[href="#' + $review.closest('.module-item').attr('id') + '"]').trigger('click');*/
/*       $('a[href="#' + $review.closest('.tab-pane').attr('id') + '"]').trigger('click');*/
/*       $('a[href="#' + $review.closest('.panel-collapse').attr('id') + '"]').trigger('click');*/
/* */
/*       $([document.documentElement, document.body]).animate({*/
/*         scrollTop: $review.offset().top - 100*/
/*       }, 200);*/
/*     }*/
/*   });*/
/* });*/
/* //--></script>*/
/* {% if not j3.document.isPopup() %}*/
/* {{ j3.loadController('journal3/seo/rich_snippets', breadcrumbs) }}*/
/* {% endif %}*/
/* {{ footer }}*/
/* */
