var/cache/dev/twig/e7/e7f2af68e0c47b25c135c0909036c6aa.php line 94

  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. /* frontend/quote/quote_request/new_with_product.html.twig */
  14. class __TwigTemplate_353f4685b1120833f656d61052608f82 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.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "frontend/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/quote/quote_request/new_with_product.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/quote/quote_request/new_with_product.html.twig"));
  40.         $this->parent $this->loadTemplate("frontend/layout.html.twig""frontend/quote/quote_request/new_with_product.html.twig"1);
  41.         $this->parent->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->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product_categories"), "html"nulltrue);
  58.         echo "
  59. ";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 7
  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 8
  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 10
  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 11
  92.         echo "\t<!-- section start-->
  93. \t<section class=\"section shop-product\">
  94. \t\t<div class=\"container\">
  95. \t\t\t<div class=\"row\">
  96. \t\t\t\t<div
  97. \t\t\t\t\tclass=\"col-md-8 offset-md-2 col-lg-6 offset-lg-0\">
  98. \t\t\t\t\t<!-- dual slider start-->
  99. \t\t\t\t\t<div class=\"dual-slider\">
  100. \t\t\t\t\t\t<div class=\"main-slider\">
  101. \t\t\t\t\t\t\t";
  102.         // line 21
  103.         $context['_parent'] = $context;
  104.         $context['_seq'] = twig_ensure_traversable(twig_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.'21$this->source); })()), "images", [], "any"falsefalsefalse21));
  105.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  106.             // line 22
  107.             echo "\t\t\t\t\t\t\t\t<div class=\"main-slider__item\">
  108. \t\t\t\t\t\t\t\t\t<div class=\"main-slider__img\"><img class=\"img--contain\" src=\"";
  109.             // line 23
  110.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("media/image/" twig_get_attribute($this->env$this->source$context["img"], "path", [], "any"falsefalsefalse23))), "html"nulltrue);
  111.             echo "\" alt=\"single\"/></div>
  112. \t\t\t\t\t\t\t\t</div>
  113. \t\t\t\t\t\t\t";
  114.         }
  115.         $_parent $context['_parent'];
  116.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  117.         $context array_intersect_key($context$_parent) + $_parent;
  118.         // line 26
  119.         echo "\t\t\t\t\t\t</div>
  120. \t\t\t\t\t\t<div class=\"nav-slider\">
  121. \t\t\t\t\t\t\t";
  122.         // line 28
  123.         $context['_parent'] = $context;
  124.         $context['_seq'] = twig_ensure_traversable(twig_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.'28$this->source); })()), "images", [], "any"falsefalsefalse28));
  125.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  126.             // line 29
  127.             echo "\t\t\t\t\t\t\t\t<div class=\"nav-slider__item\">
  128. \t\t\t\t\t\t\t\t\t<div class=\"nav-slider__img\"><img class=\"img--contain\" src=\"";
  129.             // line 30
  130.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("media/image/" twig_get_attribute($this->env$this->source$context["img"], "path", [], "any"falsefalsefalse30))), "html"nulltrue);
  131.             echo "\" alt=\"single\"/></div>
  132. \t\t\t\t\t\t\t\t</div>
  133. \t\t\t\t\t\t\t";
  134.         }
  135.         $_parent $context['_parent'];
  136.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  137.         $context array_intersect_key($context$_parent) + $_parent;
  138.         // line 33
  139.         echo "\t\t\t\t\t\t</div>
  140. \t\t\t\t\t</div>
  141. \t\t\t\t\t<!-- dual slider end-->
  142.           <br/><br/>
  143. \t\t\t\t\t<div class=\"tabs horizontal-tabs\">
  144. \t\t\t\t\t\t<ul class=\"horizontal-tabs__header\">
  145. \t\t\t\t\t\t\t<li>
  146. \t\t\t\t\t\t\t\t<a href=\"#horizontal-tabs__item-1\">
  147. \t\t\t\t\t\t\t\t\t<span>";
  148.         // line 42
  149.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.details"), "html"nulltrue);
  150.         echo "</span>
  151. \t\t\t\t\t\t\t\t</a>
  152. \t\t\t\t\t\t\t</li>
  153. \t\t\t\t\t\t\t<li>
  154. \t\t\t\t\t\t\t\t<a href=\"#horizontal-tabs__item-2\">
  155. \t\t\t\t\t\t\t\t\t<span>";
  156.         // line 47
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.attributes"), "html"nulltrue);
  158.         echo "</span>
  159. \t\t\t\t\t\t\t\t</a>
  160. \t\t\t\t\t\t\t</li>
  161. \t\t\t\t\t\t</ul>
  162. \t\t\t\t\t\t<div class=\"horizontal-tabs__content\">
  163. \t\t\t\t\t\t\t<div class=\"horizontal-tabs__item\" id=\"horizontal-tabs__item-1\">
  164. \t\t\t\t\t\t\t\t";
  165.         // line 54
  166.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.product.show.tab_details", ["product" => (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'54$this->source); })())]);
  167.         echo "
  168. \t\t\t\t\t\t\t\t";
  169.         // line 55
  170.         if ( !twig_test_empty(twig_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.'55$this->source); })()), "description", [], "any"falsefalsefalse55))) {
  171.             // line 56
  172.             echo "\t\t\t\t\t\t\t\t\t";
  173.             echo twig_nl2br(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.'56$this->source); })()), "description", [], "any"falsefalsefalse56), "html"nulltrue));
  174.             echo "
  175. \t\t\t\t\t\t\t\t";
  176.         } else {
  177.             // line 58
  178.             echo "\t\t\t\t\t\t\t\t\t";
  179.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.no_description"), "html"nulltrue);
  180.             echo ".
  181. \t\t\t\t\t\t\t\t";
  182.         }
  183.         // line 60
  184.         echo "\t\t\t\t\t\t\t</div>
  185.               
  186. \t\t\t\t\t\t\t<div class=\"horizontal-tabs__item\" id=\"horizontal-tabs__item-2\">
  187. \t\t\t\t\t\t\t\t<div class=\"row\">
  188. \t\t\t\t\t\t\t\t\t<div class=\"col-xl-9\">
  189. \t\t\t\t\t\t\t\t\t\t<div
  190. \t\t\t\t\t\t\t\t\t\t\tclass=\"table table--lgray\">
  191. \t\t\t\t\t\t\t\t\t\t\t";
  192.         // line 73
  193.         echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__body\">
  194. \t\t\t\t\t\t\t\t\t\t\t\t";
  195.         // line 74
  196.         $context['_parent'] = $context;
  197.         $context['_seq'] = twig_ensure_traversable(twig_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.'74$this->source); })()), "attributes", [], "any"falsefalsefalse74));
  198.         $context['loop'] = [
  199.           'parent' => $context['_parent'],
  200.           'index0' => 0,
  201.           'index'  => 1,
  202.           'first'  => true,
  203.         ];
  204.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  205.             $length count($context['_seq']);
  206.             $context['loop']['revindex0'] = $length 1;
  207.             $context['loop']['revindex'] = $length;
  208.             $context['loop']['length'] = $length;
  209.             $context['loop']['last'] = === $length;
  210.         }
  211.         foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) {
  212.             // line 75
  213.             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__row\">
  214. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__cell\" data-label=\"Title\">
  215. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>
  216. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>";
  217.             // line 78
  218.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attribute"], "name", [], "any"falsefalsefalse78), "html"nulltrue);
  219.             echo "
  220. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</strong>
  221. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  222. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  223. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__cell\" data-label=\"One pack\">
  224. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>
  225. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  226.             // line 84
  227.             $this->loadTemplate([=> (("@SyliusShop/Product/Show/Types/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 85
  228. $context["attribute"], "attribute", [], "any"falsefalsefalse85), "type", [], "any"falsefalsefalse85)) . ".html.twig"), => (("@SyliusAttribute/Types/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 86
  229. $context["attribute"], "attribute", [], "any"falsefalsefalse86), "type", [], "any"falsefalsefalse86)) . ".html.twig"), => "@SyliusShop/Product/Show/Types/default.html.twig"], "frontend/quote/quote_request/new_with_product.html.twig"84)->display(twig_array_merge($context, ["attribute" =>             // line 89
  230. $context["attribute"], "locale" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 90
  231. (isset($context["configuration"]) || array_key_exists("configuration"$context) ? $context["configuration"] : (function () { throw new RuntimeError('Variable "configuration" does not exist.'90$this->source); })()), "request", [], "any"falsefalsefalse90), "locale", [], "any"falsefalsefalse90), "fallbackLocale" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 91
  232. (isset($context["configuration"]) || array_key_exists("configuration"$context) ? $context["configuration"] : (function () { throw new RuntimeError('Variable "configuration" does not exist.'91$this->source); })()), "request", [], "any"falsefalsefalse91), "defaultLocale", [], "any"falsefalsefalse91)]));
  233.             // line 93
  234.             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  235. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  236. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  237. \t\t\t\t\t\t\t\t\t\t\t\t";
  238.             ++$context['loop']['index0'];
  239.             ++$context['loop']['index'];
  240.             $context['loop']['first'] = false;
  241.             if (isset($context['loop']['length'])) {
  242.                 --$context['loop']['revindex0'];
  243.                 --$context['loop']['revindex'];
  244.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  245.             }
  246.         }
  247.         $_parent $context['_parent'];
  248.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']);
  249.         $context array_intersect_key($context$_parent) + $_parent;
  250.         // line 97
  251.         echo "\t\t\t\t\t\t\t\t\t\t\t</div>
  252. \t\t\t\t\t\t\t\t\t\t</div>
  253. \t\t\t\t\t\t\t\t\t</div>
  254. \t\t\t\t\t\t\t\t</div>
  255. \t\t\t\t\t\t\t</div>
  256. \t\t\t\t\t\t</div>
  257. \t\t\t\t\t</div>
  258. \t\t\t\t</div>
  259. \t\t\t\t<div class=\"col-lg-6\">
  260. \t\t\t\t\t";
  261.         // line 108
  262.         echo twig_include($this->env$context"frontend/quote/quote_request/_form_with_product.html.twig");
  263.         echo "
  264. \t\t\t\t\t<a class=\"button button--account\" href=\"";
  265.         // line 109
  266.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_product_show", ["slug" => twig_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.'109$this->source); })()), "slug", [], "any"falsefalsefalse109), "_locale" => twig_get_attribute($this->env$this->sourcetwig_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.'109$this->source); })()), "translation", [], "any"falsefalsefalse109), "locale", [], "any"falsefalsefalse109)]), "html"nulltrue);
  267.         echo "\" style=\"color:yellow;\">
  268. \t\t\t\t\t\t<span>
  269. \t\t\t\t\t\t\t<b>";
  270.         // line 111
  271.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.go_back_shop")), "html"nulltrue);
  272.         echo "</b>
  273. \t\t\t\t\t\t</span>
  274. \t\t\t\t\t</a>
  275. \t\t\t\t</div>
  276. \t\t\t</div> 
  277. \t\t</div>
  278. \t</section>
  279. \t<!-- section end-->
  280. ";
  281.         
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  283.         
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  285.     }
  286.     public function getTemplateName()
  287.     {
  288.         return "frontend/quote/quote_request/new_with_product.html.twig";
  289.     }
  290.     public function isTraitable()
  291.     {
  292.         return false;
  293.     }
  294.     public function getDebugInfo()
  295.     {
  296.         return array (  300 => 111,  295 => 109,  291 => 108,  278 => 97,  261 => 93,  259 => 91,  258 => 90,  257 => 89,  256 => 86,  255 => 85,  254 => 84,  245 => 78,  240 => 75,  223 => 74,  220 => 73,  211 => 60,  205 => 58,  199 => 56,  197 => 55,  193 => 54,  183 => 47,  175 => 42,  164 => 33,  155 => 30,  152 => 29,  148 => 28,  144 => 26,  135 => 23,  132 => 22,  128 => 21,  116 => 11,  106 => 10,  93 => 8,  83 => 7,  70 => 4,  60 => 3,  37 => 1,);
  297.     }
  298.     public function getSourceContext()
  299.     {
  300.         return new Source("{% extends 'frontend/layout.html.twig' %}
  301. {% block title %}
  302. \t{{'app.ui.product_categories'|trans}}
  303. {% endblock %}
  304. {% block post_header %}
  305. \t{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'shop_post_header', 'template' : 'frontend/cms/common/media/_header.html.twig'})) }}
  306. {% endblock %}
  307. {% block body %}
  308. \t<!-- section start-->
  309. \t<section class=\"section shop-product\">
  310. \t\t<div class=\"container\">
  311. \t\t\t<div class=\"row\">
  312. \t\t\t\t<div
  313. \t\t\t\t\tclass=\"col-md-8 offset-md-2 col-lg-6 offset-lg-0\">
  314. \t\t\t\t\t<!-- dual slider start-->
  315. \t\t\t\t\t<div class=\"dual-slider\">
  316. \t\t\t\t\t\t<div class=\"main-slider\">
  317. \t\t\t\t\t\t\t{% for img in product.images %}
  318. \t\t\t\t\t\t\t\t<div class=\"main-slider__item\">
  319. \t\t\t\t\t\t\t\t\t<div class=\"main-slider__img\"><img class=\"img--contain\" src=\"{{ asset('media/image/'~img.path) }}\" alt=\"single\"/></div>
  320. \t\t\t\t\t\t\t\t</div>
  321. \t\t\t\t\t\t\t{% endfor %}
  322. \t\t\t\t\t\t</div>
  323. \t\t\t\t\t\t<div class=\"nav-slider\">
  324. \t\t\t\t\t\t\t{% for img in product.images %}
  325. \t\t\t\t\t\t\t\t<div class=\"nav-slider__item\">
  326. \t\t\t\t\t\t\t\t\t<div class=\"nav-slider__img\"><img class=\"img--contain\" src=\"{{ asset('media/image/'~img.path) }}\" alt=\"single\"/></div>
  327. \t\t\t\t\t\t\t\t</div>
  328. \t\t\t\t\t\t\t{% endfor %}
  329. \t\t\t\t\t\t</div>
  330. \t\t\t\t\t</div>
  331. \t\t\t\t\t<!-- dual slider end-->
  332.           <br/><br/>
  333. \t\t\t\t\t<div class=\"tabs horizontal-tabs\">
  334. \t\t\t\t\t\t<ul class=\"horizontal-tabs__header\">
  335. \t\t\t\t\t\t\t<li>
  336. \t\t\t\t\t\t\t\t<a href=\"#horizontal-tabs__item-1\">
  337. \t\t\t\t\t\t\t\t\t<span>{{ 'sylius.ui.details'|trans }}</span>
  338. \t\t\t\t\t\t\t\t</a>
  339. \t\t\t\t\t\t\t</li>
  340. \t\t\t\t\t\t\t<li>
  341. \t\t\t\t\t\t\t\t<a href=\"#horizontal-tabs__item-2\">
  342. \t\t\t\t\t\t\t\t\t<span>{{ 'sylius.ui.attributes'|trans }}</span>
  343. \t\t\t\t\t\t\t\t</a>
  344. \t\t\t\t\t\t\t</li>
  345. \t\t\t\t\t\t</ul>
  346. \t\t\t\t\t\t<div class=\"horizontal-tabs__content\">
  347. \t\t\t\t\t\t\t<div class=\"horizontal-tabs__item\" id=\"horizontal-tabs__item-1\">
  348. \t\t\t\t\t\t\t\t{{ sonata_block_render_event('sylius.shop.product.show.tab_details', {'product': product}) }}
  349. \t\t\t\t\t\t\t\t{% if product.description is not empty %}
  350. \t\t\t\t\t\t\t\t\t{{ product.description | nl2br }}
  351. \t\t\t\t\t\t\t\t{% else %}
  352. \t\t\t\t\t\t\t\t\t{{ 'sylius.ui.no_description'|trans }}.
  353. \t\t\t\t\t\t\t\t{% endif %}
  354. \t\t\t\t\t\t\t</div>
  355.               
  356. \t\t\t\t\t\t\t<div class=\"horizontal-tabs__item\" id=\"horizontal-tabs__item-2\">
  357. \t\t\t\t\t\t\t\t<div class=\"row\">
  358. \t\t\t\t\t\t\t\t\t<div class=\"col-xl-9\">
  359. \t\t\t\t\t\t\t\t\t\t<div
  360. \t\t\t\t\t\t\t\t\t\t\tclass=\"table table--lgray\">
  361. \t\t\t\t\t\t\t\t\t\t\t{# <div class=\"table__header\">
  362. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__row\">
  363. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__cell\"><strong> </strong></div>
  364. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__cell\"><strong> </strong></div> 
  365. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  366. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div> #}
  367. \t\t\t\t\t\t\t\t\t\t\t<div class=\"table__body\">
  368. \t\t\t\t\t\t\t\t\t\t\t\t{% for attribute in product.attributes %}
  369. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__row\">
  370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__cell\" data-label=\"Title\">
  371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>
  372. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ attribute.name }}
  373. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</strong>
  374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  375. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  376. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"table__cell\" data-label=\"One pack\">
  377. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>
  378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% include[
  379.                     '@SyliusShop/Product/Show/Types/' ~ attribute.attribute.type ~ '.html.twig',
  380.                     '@SyliusAttribute/Types/' ~ attribute.attribute.type ~ '.html.twig',
  381.                     '@SyliusShop/Product/Show/Types/default.html.twig'
  382.                   ] with {
  383.                     'attribute' : attribute,
  384.                     'locale' : configuration.request.locale,
  385.                     'fallbackLocale' : configuration.request.defaultLocale
  386.                   } %}
  387. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  388. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  389. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  390. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  391. \t\t\t\t\t\t\t\t\t\t\t</div>
  392. \t\t\t\t\t\t\t\t\t\t</div>
  393. \t\t\t\t\t\t\t\t\t</div>
  394. \t\t\t\t\t\t\t\t</div>
  395. \t\t\t\t\t\t\t</div>
  396. \t\t\t\t\t\t</div>
  397. \t\t\t\t\t</div>
  398. \t\t\t\t</div>
  399. \t\t\t\t<div class=\"col-lg-6\">
  400. \t\t\t\t\t{{ include('frontend/quote/quote_request/_form_with_product.html.twig') }}
  401. \t\t\t\t\t<a class=\"button button--account\" href=\"{{ path('sylius_shop_product_show', { 'slug': product.slug, '_locale': product.translation.locale })}}\" style=\"color:yellow;\">
  402. \t\t\t\t\t\t<span>
  403. \t\t\t\t\t\t\t<b>{{'app.ui.go_back_shop'|trans|upper}}</b>
  404. \t\t\t\t\t\t</span>
  405. \t\t\t\t\t</a>
  406. \t\t\t\t</div>
  407. \t\t\t</div> 
  408. \t\t</div>
  409. \t</section>
  410. \t<!-- section end-->
  411. {% endblock %}
  412. ""frontend/quote/quote_request/new_with_product.html.twig""/srv/sylius/templates/frontend/quote/quote_request/new_with_product.html.twig");
  413.     }
  414. }