var/cache/dev/twig/1e/1edc68042780f355375801a3eee6b2cf.php line 83

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/Product/show.html.twig */
  14. class __TwigTemplate_3fea06b99cd7e67f9aa4b3d8ce5ed2fc extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'post_header' => [$this'block_post_header'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return $this->loadTemplate(twig_get_attribute($this->env$this->source, (isset($context["nglayouts"]) || array_key_exists("nglayouts"$context) ? $context["nglayouts"] : (function () { throw new RuntimeError('Variable "nglayouts" does not exist.'1$this->source); })()), "layoutTemplate", [], "any"falsefalsefalse1), "@SyliusShop/Product/show.html.twig"1);
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/show.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/show.html.twig"));
  41.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         // line 4
  56.         echo "\t";
  57.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'4$this->source); })()), "name", [], "any"falsefalsefalse4), "html"nulltrue);
  58.         echo "
  59. ";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 6
  66.     public function block_post_header($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_header"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_header"));
  73.         // line 7
  74.         echo "\t";
  75.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_render", ["code" => "shop_post_header""template" => "frontend/cms/common/media/_header.html.twig"]));
  76.         echo "
  77. ";
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     // line 9
  84.     public function block_body($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  91.         // line 10
  92.         echo "
  93. \t<!--Product Details Start-->
  94. \t<section class=\"product-details\">
  95. \t\t<div class=\"container pb-70\">
  96. \t\t\t<div class=\"row\">
  97. \t\t\t\t<div class=\"col-lg-6 col-xl-6\">
  98. \t\t\t\t\t";
  99.         // line 16
  100.         $this->loadTemplate("@SyliusShop/Product/Show/_images.html.twig""@SyliusShop/Product/show.html.twig"16)->display($context);
  101.         echo 
  102. \t\t\t\t</div>
  103. \t\t\t\t<div class=\"col-lg-6 col-xl-6 product-info\">
  104. \t\t\t\t\t<div class=\"product-details__top\">
  105. \t\t\t\t\t\t<h3 class=\"product-details__title\">";
  106.         // line 20
  107.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'20$this->source); })()), "name", [], "any"falsefalsefalse20), "html"nulltrue);
  108.         echo "
  109. \t\t\t\t\t\t\t";
  110.         // line 22
  111.         echo "\t\t\t\t\t\t</h3>
  112. \t\t\t\t\t</div>
  113. \t\t\t\t\t<div class=\"product-details__reveiw\">
  114. \t\t\t\t\t\t";
  115.         // line 31
  116.         echo "\t\t\t\t\t</div>
  117. \t\t\t\t\t<div class=\"product-details__content\">
  118. \t\t\t\t\t\t<p class=\"product-details__content-text1\" ";
  119.         // line 33
  120.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'33$this->source); })()), "shortDescription", [], "any"falsefalsefalse33), "html"nulltrue);
  121.         echo "</p>
  122. \t\t\t\t\t\t";
  123.         // line 39
  124.         echo "\t\t\t\t\t</div>
  125. \t\t\t\t\t
  126. \t\t\t\t\t";
  127.         // line 42
  128.         $this->loadTemplate("@SyliusShop/Product/Show/_variantSelection.html.twig""@SyliusShop/Product/show.html.twig"42)->display($context);
  129.         echo 
  130. \t\t\t\t\t<div class=\"product-details__social\">
  131. \t\t\t\t\t\t<div class=\"title mt-10\">
  132. \t\t\t\t\t\t\t<h3>Share with friends</h3>
  133. \t\t\t\t\t\t</div>
  134. \t\t\t\t\t\t<ul class=\"social-icon-one product-share\">
  135. \t\t\t\t\t\t\t<li>
  136. \t\t\t\t\t\t\t\t<a href=\"#\">
  137. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  138. \t\t\t\t\t\t\t\t</a>
  139. \t\t\t\t\t\t\t</li>
  140. \t\t\t\t\t\t\t<li>
  141. \t\t\t\t\t\t\t\t<a href=\"#\">
  142. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  143. \t\t\t\t\t\t\t\t</a>
  144. \t\t\t\t\t\t\t</li>
  145. \t\t\t\t\t\t\t<li>
  146. \t\t\t\t\t\t\t\t<a href=\"#\">
  147. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-pinterest\"></i>
  148. \t\t\t\t\t\t\t\t</a>
  149. \t\t\t\t\t\t\t</li>
  150. \t\t\t\t\t\t\t<li>
  151. \t\t\t\t\t\t\t\t<a href=\"#\">
  152. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  153. \t\t\t\t\t\t\t\t</a>
  154. \t\t\t\t\t\t\t</li>
  155. \t\t\t\t\t\t</ul>
  156. \t\t\t\t\t</div>
  157. \t\t\t\t</div>
  158. \t\t\t</div>
  159. \t\t</div>
  160. \t</section>
  161. \t<!--Product Details End-->
  162. \t<!--Product Description Start-->
  163. \t<section class=\"product-description\">
  164. \t\t<div class=\"container pt-0 pb-90\">
  165. \t\t\t<div class=\"product-discription\">
  166. \t\t\t\t<div class=\"tabs-box\"> 
  167. \t\t\t\t\t";
  168.         // line 81
  169.         $this->loadTemplate("@SyliusShop/Product/Show/Tabs/_menu.html.twig""@SyliusShop/Product/show.html.twig"81)->display($context);
  170.         // line 82
  171.         echo "\t\t\t\t\t";
  172.         $this->loadTemplate("@SyliusShop/Product/Show/Tabs/_content.html.twig""@SyliusShop/Product/show.html.twig"82)->display($context);
  173.         echo 
  174. \t\t\t\t</div>
  175. \t\t\t</div>
  176. \t\t</div>
  177. \t</section>
  178. \t<!--Product Description End-->
  179. \t<section class=\"related-product\">
  180. \t\t<div class=\"container pt-0 pb-90\">
  181. \t\t\t<h3>Related Products</h3>
  182. \t\t\t<div class=\"row clearfix\">
  183. \t\t\t\t<div
  184. \t\t\t\t\tclass=\"col\">
  185. \t\t\t\t\t<!--MixitUp Galery-->
  186. \t\t\t\t\t<div class=\"mixitup-gallery\">
  187. \t\t\t\t\t\t<div
  188. \t\t\t\t\t\t\tclass=\"filter-list row\">
  189. \t\t\t\t\t\t\t<!--Product Block-->
  190. \t\t\t\t\t\t\t<div class=\"product-block all mix pantry fruit col-lg-3 col-md-6 col-sm-12\">
  191. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  192. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  193. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  194. \t\t\t\t\t\t\t\t\t</div>
  195. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  196. \t\t\t\t\t\t\t\t\t\t<h4>
  197. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">Headphone</a>
  198. \t\t\t\t\t\t\t\t\t\t</h4>
  199. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  200. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  201. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  202. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  203. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  204. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  205. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  206. \t\t\t\t\t\t\t\t\t\t</span>
  207. \t\t\t\t\t\t\t\t\t</div>
  208. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  209. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  210. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  211. \t\t\t\t\t\t\t\t\t\t</a>
  212. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  213. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  214. \t\t\t\t\t\t\t\t\t\t</a>
  215. \t\t\t\t\t\t\t\t\t</div>
  216. \t\t\t\t\t\t\t\t</div>
  217. \t\t\t\t\t\t\t</div>
  218. \t\t\t\t\t\t\t<!--Product Block-->
  219. \t\t\t\t\t\t\t<div class=\"product-block all mix dairy meat fruit col-lg-3 col-md-6 col-sm-12\">
  220. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  221. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  222. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  223. \t\t\t\t\t\t\t\t\t</div>
  224. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  225. \t\t\t\t\t\t\t\t\t\t<h4>
  226. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">Lagage</a>
  227. \t\t\t\t\t\t\t\t\t\t</h4>
  228. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  229. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  230. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  231. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  232. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  233. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  234. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  235. \t\t\t\t\t\t\t\t\t\t</span>
  236. \t\t\t\t\t\t\t\t\t</div>
  237. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  238. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  239. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  240. \t\t\t\t\t\t\t\t\t\t</a>
  241. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  242. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  243. \t\t\t\t\t\t\t\t\t\t</a>
  244. \t\t\t\t\t\t\t\t\t</div>
  245. \t\t\t\t\t\t\t\t</div>
  246. \t\t\t\t\t\t\t</div>
  247. \t\t\t\t\t\t\t<!--Product Block-->
  248. \t\t\t\t\t\t\t<div class=\"product-block all mix pantry fruit vagetables col-lg-3 col-md-6 col-sm-12\">
  249. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  250. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  251. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  252. \t\t\t\t\t\t\t\t\t</div>
  253. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  254. \t\t\t\t\t\t\t\t\t\t<h4>
  255. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">Watch</a>
  256. \t\t\t\t\t\t\t\t\t\t</h4>
  257. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  258. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  259. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  260. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  261. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  262. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  263. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  264. \t\t\t\t\t\t\t\t\t\t</span>
  265. \t\t\t\t\t\t\t\t\t</div>
  266. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  267. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  268. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  269. \t\t\t\t\t\t\t\t\t\t</a>
  270. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  271. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  272. \t\t\t\t\t\t\t\t\t\t</a>
  273. \t\t\t\t\t\t\t\t\t</div>
  274. \t\t\t\t\t\t\t\t</div>
  275. \t\t\t\t\t\t\t</div>
  276. \t\t\t\t\t\t\t<!--Product Block-->
  277. \t\t\t\t\t\t\t<div class=\"product-block all mix dairy pantry meat vagetables col-lg-3 col-md-6 col-sm-12\">
  278. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  279. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  280. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  281. \t\t\t\t\t\t\t\t\t</div>
  282. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  283. \t\t\t\t\t\t\t\t\t\t<h4>
  284. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">SD Card</a>
  285. \t\t\t\t\t\t\t\t\t\t</h4>
  286. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  287. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  288. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  289. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  290. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  291. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  292. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  293. \t\t\t\t\t\t\t\t\t\t</span>
  294. \t\t\t\t\t\t\t\t\t</div>
  295. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  296. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  297. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  298. \t\t\t\t\t\t\t\t\t\t</a>
  299. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  300. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  301. \t\t\t\t\t\t\t\t\t\t</a>
  302. \t\t\t\t\t\t\t\t\t</div>
  303. \t\t\t\t\t\t\t\t</div>
  304. \t\t\t\t\t\t\t</div>
  305. \t\t\t\t\t\t</div>
  306. \t\t\t\t\t</div>
  307. \t\t\t\t</div>
  308. \t\t\t</div>
  309. \t\t</div>
  310. \t</section>
  311. \t
  312. ";
  313.         
  314.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  315.         
  316.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  317.     }
  318.     // line 226
  319.     public function block_javascripts($context, array $blocks = [])
  320.     {
  321.         $macros $this->macros;
  322.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  323.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  325.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  326.         // line 227
  327.         echo "\t";
  328.         $this->displayParentBlock("javascripts"$context$blocks);
  329.         echo "
  330. \t<script>
  331. \t\t\$('#sylius_add_to_card_btn').on('click', function (e) {
  332. e.preventDefault();
  333. jQuery('#sylius_add_to_card_btn_spin').addClass('fa-spinner');
  334. var form = jQuery(this).closest('form');
  335. jQuery.ajax({
  336. url: form.attr('action'),
  337. type: form.attr('method'),
  338. data: form.serialize(),
  339. success: function (html, statut) { /*if(statut == 'success'){
  340.           location.reload();
  341.         }else{
  342.         }*/
  343. location.reload();
  344. // alert(\"";
  345.         // line 245
  346.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'245$this->source); })()), "request", [], "any"falsefalsefalse245), "attributes", [], "any"falsefalsefalse245), "get", [=> "_route"], "method"falsefalsefalse245), "html"nulltrue);
  347.         echo "\");
  348. // Replace current position field ...
  349. /*\$('#meetup_position').replaceWith(
  350.           // ... with the returned one from the AJAX response.
  351.           \$(html).find('#meetup_position')
  352.         );*/
  353. // Position field now displays the appropriate positions.
  354. }
  355. });
  356. });
  357. \t</script>
  358. ";
  359.         
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  361.         
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  363.     }
  364.     public function getTemplateName()
  365.     {
  366.         return "@SyliusShop/Product/show.html.twig";
  367.     }
  368.     public function isTraitable()
  369.     {
  370.         return false;
  371.     }
  372.     public function getDebugInfo()
  373.     {
  374.         return array (  384 => 245,  362 => 227,  352 => 226,  197 => 82,  195 => 81,  153 => 42,  148 => 39,  144 => 33,  140 => 31,  135 => 22,  131 => 20,  124 => 16,  116 => 10,  106 => 9,  93 => 7,  83 => 6,  70 => 4,  60 => 3,  38 => 1,);
  375.     }
  376.     public function getSourceContext()
  377.     {
  378.         return new Source("{% extends nglayouts.layoutTemplate %}
  379. {% block title %}
  380. \t{{ product.name }}
  381. {% endblock %}
  382. {% block post_header %}
  383. \t{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'shop_post_header', 'template' : 'frontend/cms/common/media/_header.html.twig'})) }}
  384. {% endblock %}
  385. {% block body %}
  386. \t<!--Product Details Start-->
  387. \t<section class=\"product-details\">
  388. \t\t<div class=\"container pb-70\">
  389. \t\t\t<div class=\"row\">
  390. \t\t\t\t<div class=\"col-lg-6 col-xl-6\">
  391. \t\t\t\t\t{% include '@SyliusShop/Product/Show/_images.html.twig' %} 
  392. \t\t\t\t</div>
  393. \t\t\t\t<div class=\"col-lg-6 col-xl-6 product-info\">
  394. \t\t\t\t\t<div class=\"product-details__top\">
  395. \t\t\t\t\t\t<h3 class=\"product-details__title\">{{ product.name }}
  396. \t\t\t\t\t\t\t{# <span>\$76.00</span> #}
  397. \t\t\t\t\t\t</h3>
  398. \t\t\t\t\t</div>
  399. \t\t\t\t\t<div class=\"product-details__reveiw\">
  400. \t\t\t\t\t\t{# <i class=\"fa fa-star\"></i>
  401. \t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  402. \t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  403. \t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  404. \t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  405. \t\t\t\t\t\t<span>2 Customer Reviews</span> #}
  406. \t\t\t\t\t</div>
  407. \t\t\t\t\t<div class=\"product-details__content\">
  408. \t\t\t\t\t\t<p class=\"product-details__content-text1\" {{ product.shortDescription }}</p>
  409. \t\t\t\t\t\t{# <p class=\"product-details__content-text2\">
  410. \t\t\t\t\t\t\t<strong>REF.</strong>
  411. \t\t\t\t\t\t\t4231/406
  412. \t\t\t\t\t\t\t<br>
  413. \t\t\t\t\t\t\tAvailable in store</p> #}
  414. \t\t\t\t\t</div>
  415. \t\t\t\t\t
  416. \t\t\t\t\t{% include '@SyliusShop/Product/Show/_variantSelection.html.twig' %} 
  417. \t\t\t\t\t<div class=\"product-details__social\">
  418. \t\t\t\t\t\t<div class=\"title mt-10\">
  419. \t\t\t\t\t\t\t<h3>Share with friends</h3>
  420. \t\t\t\t\t\t</div>
  421. \t\t\t\t\t\t<ul class=\"social-icon-one product-share\">
  422. \t\t\t\t\t\t\t<li>
  423. \t\t\t\t\t\t\t\t<a href=\"#\">
  424. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  425. \t\t\t\t\t\t\t\t</a>
  426. \t\t\t\t\t\t\t</li>
  427. \t\t\t\t\t\t\t<li>
  428. \t\t\t\t\t\t\t\t<a href=\"#\">
  429. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  430. \t\t\t\t\t\t\t\t</a>
  431. \t\t\t\t\t\t\t</li>
  432. \t\t\t\t\t\t\t<li>
  433. \t\t\t\t\t\t\t\t<a href=\"#\">
  434. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-pinterest\"></i>
  435. \t\t\t\t\t\t\t\t</a>
  436. \t\t\t\t\t\t\t</li>
  437. \t\t\t\t\t\t\t<li>
  438. \t\t\t\t\t\t\t\t<a href=\"#\">
  439. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  440. \t\t\t\t\t\t\t\t</a>
  441. \t\t\t\t\t\t\t</li>
  442. \t\t\t\t\t\t</ul>
  443. \t\t\t\t\t</div>
  444. \t\t\t\t</div>
  445. \t\t\t</div>
  446. \t\t</div>
  447. \t</section>
  448. \t<!--Product Details End-->
  449. \t<!--Product Description Start-->
  450. \t<section class=\"product-description\">
  451. \t\t<div class=\"container pt-0 pb-90\">
  452. \t\t\t<div class=\"product-discription\">
  453. \t\t\t\t<div class=\"tabs-box\"> 
  454. \t\t\t\t\t{% include '@SyliusShop/Product/Show/Tabs/_menu.html.twig' %}
  455. \t\t\t\t\t{% include '@SyliusShop/Product/Show/Tabs/_content.html.twig' %} 
  456. \t\t\t\t</div>
  457. \t\t\t</div>
  458. \t\t</div>
  459. \t</section>
  460. \t<!--Product Description End-->
  461. \t<section class=\"related-product\">
  462. \t\t<div class=\"container pt-0 pb-90\">
  463. \t\t\t<h3>Related Products</h3>
  464. \t\t\t<div class=\"row clearfix\">
  465. \t\t\t\t<div
  466. \t\t\t\t\tclass=\"col\">
  467. \t\t\t\t\t<!--MixitUp Galery-->
  468. \t\t\t\t\t<div class=\"mixitup-gallery\">
  469. \t\t\t\t\t\t<div
  470. \t\t\t\t\t\t\tclass=\"filter-list row\">
  471. \t\t\t\t\t\t\t<!--Product Block-->
  472. \t\t\t\t\t\t\t<div class=\"product-block all mix pantry fruit col-lg-3 col-md-6 col-sm-12\">
  473. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  474. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  475. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  476. \t\t\t\t\t\t\t\t\t</div>
  477. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  478. \t\t\t\t\t\t\t\t\t\t<h4>
  479. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">Headphone</a>
  480. \t\t\t\t\t\t\t\t\t\t</h4>
  481. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  482. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  483. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  484. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  485. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  486. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  487. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  488. \t\t\t\t\t\t\t\t\t\t</span>
  489. \t\t\t\t\t\t\t\t\t</div>
  490. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  491. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  492. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  493. \t\t\t\t\t\t\t\t\t\t</a>
  494. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  495. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  496. \t\t\t\t\t\t\t\t\t\t</a>
  497. \t\t\t\t\t\t\t\t\t</div>
  498. \t\t\t\t\t\t\t\t</div>
  499. \t\t\t\t\t\t\t</div>
  500. \t\t\t\t\t\t\t<!--Product Block-->
  501. \t\t\t\t\t\t\t<div class=\"product-block all mix dairy meat fruit col-lg-3 col-md-6 col-sm-12\">
  502. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  503. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  504. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  505. \t\t\t\t\t\t\t\t\t</div>
  506. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  507. \t\t\t\t\t\t\t\t\t\t<h4>
  508. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">Lagage</a>
  509. \t\t\t\t\t\t\t\t\t\t</h4>
  510. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  511. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  512. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  513. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  514. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  515. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  516. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  517. \t\t\t\t\t\t\t\t\t\t</span>
  518. \t\t\t\t\t\t\t\t\t</div>
  519. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  520. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  521. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  522. \t\t\t\t\t\t\t\t\t\t</a>
  523. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  524. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  525. \t\t\t\t\t\t\t\t\t\t</a>
  526. \t\t\t\t\t\t\t\t\t</div>
  527. \t\t\t\t\t\t\t\t</div>
  528. \t\t\t\t\t\t\t</div>
  529. \t\t\t\t\t\t\t<!--Product Block-->
  530. \t\t\t\t\t\t\t<div class=\"product-block all mix pantry fruit vagetables col-lg-3 col-md-6 col-sm-12\">
  531. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  532. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  533. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  534. \t\t\t\t\t\t\t\t\t</div>
  535. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  536. \t\t\t\t\t\t\t\t\t\t<h4>
  537. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">Watch</a>
  538. \t\t\t\t\t\t\t\t\t\t</h4>
  539. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  540. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  541. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  542. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  543. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  544. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  545. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  546. \t\t\t\t\t\t\t\t\t\t</span>
  547. \t\t\t\t\t\t\t\t\t</div>
  548. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  549. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  550. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  551. \t\t\t\t\t\t\t\t\t\t</a>
  552. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  553. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  554. \t\t\t\t\t\t\t\t\t\t</a>
  555. \t\t\t\t\t\t\t\t\t</div>
  556. \t\t\t\t\t\t\t\t</div>
  557. \t\t\t\t\t\t\t</div>
  558. \t\t\t\t\t\t\t<!--Product Block-->
  559. \t\t\t\t\t\t\t<div class=\"product-block all mix dairy pantry meat vagetables col-lg-3 col-md-6 col-sm-12\">
  560. \t\t\t\t\t\t\t\t<div class=\"inner-box\">
  561. \t\t\t\t\t\t\t\t\t<div class=\"image\">
  562. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\"><img src=\"https://via.placeholder.com/600x600\" alt=\"\"/></a>
  563. \t\t\t\t\t\t\t\t\t</div>
  564. \t\t\t\t\t\t\t\t\t<div class=\"content\">
  565. \t\t\t\t\t\t\t\t\t\t<h4>
  566. \t\t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\">SD Card</a>
  567. \t\t\t\t\t\t\t\t\t\t</h4>
  568. \t\t\t\t\t\t\t\t\t\t<span class=\"price\">\$32.00</span>
  569. \t\t\t\t\t\t\t\t\t\t<span class=\"rating\">
  570. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  571. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  572. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  573. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  574. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  575. \t\t\t\t\t\t\t\t\t\t</span>
  576. \t\t\t\t\t\t\t\t\t</div>
  577. \t\t\t\t\t\t\t\t\t<div class=\"icon-box\">
  578. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-product-details.html\" class=\"ui-btn like-btn\">
  579. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  580. \t\t\t\t\t\t\t\t\t\t</a>
  581. \t\t\t\t\t\t\t\t\t\t<a href=\"shop-cart.html\" class=\"ui-btn add-to-cart\">
  582. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-shopping-cart\"></i>
  583. \t\t\t\t\t\t\t\t\t\t</a>
  584. \t\t\t\t\t\t\t\t\t</div>
  585. \t\t\t\t\t\t\t\t</div>
  586. \t\t\t\t\t\t\t</div>
  587. \t\t\t\t\t\t</div>
  588. \t\t\t\t\t</div>
  589. \t\t\t\t</div>
  590. \t\t\t</div>
  591. \t\t</div>
  592. \t</section>
  593. \t
  594. {% endblock %}
  595. {% block javascripts %}
  596. \t{{ parent() }}
  597. \t<script>
  598. \t\t\$('#sylius_add_to_card_btn').on('click', function (e) {
  599. e.preventDefault();
  600. jQuery('#sylius_add_to_card_btn_spin').addClass('fa-spinner');
  601. var form = jQuery(this).closest('form');
  602. jQuery.ajax({
  603. url: form.attr('action'),
  604. type: form.attr('method'),
  605. data: form.serialize(),
  606. success: function (html, statut) { /*if(statut == 'success'){
  607.           location.reload();
  608.         }else{
  609.         }*/
  610. location.reload();
  611. // alert(\"{{app.request.attributes.get('_route')}}\");
  612. // Replace current position field ...
  613. /*\$('#meetup_position').replaceWith(
  614.           // ... with the returned one from the AJAX response.
  615.           \$(html).find('#meetup_position')
  616.         );*/
  617. // Position field now displays the appropriate positions.
  618. }
  619. });
  620. });
  621. \t</script>
  622. {% endblock %}
  623. ""@SyliusShop/Product/show.html.twig""/srv/sylius/templates/bundles/SyliusShopBundle/Product/show.html.twig");
  624.     }
  625. }