var/cache/dev/twig/eb/ebb88bb8e0dcdb6203209d450bf7c8f1.php line 171

Open in your IDE?
  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_70b0d1f47c7bdd4c1fe4e91b0d7437ef extends \Twig\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.             'content' => [$this'block_content'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 5
  31.         return "@SyliusShop/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""@SyliusShop/Product/show.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""@SyliusShop/Product/show.html.twig"));
  40.         // line 1
  41.         $context["preview"] = ("open_marketplace_vendor_product_listings_preview" == twig_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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "attributes", [], "any"falsefalsefalse1), "get", [=> "_route"], "method"falsefalsefalse1));
  42.         // line 2
  43.         if (((true == (isset($context["preview"]) || array_key_exists("preview"$context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.'2$this->source); })())) && array_key_exists("product_listing"$context))) {
  44.             // line 3
  45.             $context["product"] = $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\ConvertDraftToProductExtension']->convertDraftToProduct(twig_get_attribute($this->env$this->source, (isset($context["product_listing"]) || array_key_exists("product_listing"$context) ? $context["product_listing"] : (function () { throw new RuntimeError('Variable "product_listing" does not exist.'3$this->source); })()), "latestDraft", [], "any"falsefalsefalse3));
  46.         }
  47.         // line 5
  48.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Product/show.html.twig"5);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 7
  56.     public function block_title($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         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.'7$this->source); })()), "name", [], "any"falsefalsefalse7), "html"nulltrue);
  64.         echo " | ";
  65.         $this->displayParentBlock("title"$context$blocks);
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 9
  72.     public function block_content($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  79.         // line 10
  80.         echo "    ";
  81.         // line 11
  82.         echo "    ";
  83.         if (((array_key_exists("isPreview"$context)) ? (_twig_default_filter((isset($context["isPreview"]) || array_key_exists("isPreview"$context) ? $context["isPreview"] : (function () { throw new RuntimeError('Variable "isPreview" does not exist.'11$this->source); })()), false)) : (false))) {
  84.             // line 12
  85.             echo "        <div class=\"ui info message\">
  86.             <div class=\"header\">
  87.                 <i class=\"eye icon\"></i>
  88.                 Preview Mode - Admin Only
  89.             </div>
  90.             <p>You are viewing this product in preview mode. This product may not be visible to regular users.</p>
  91.             ";
  92.             // line 18
  93.             if ( !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.'18$this->source); })()), "enabled", [], "any"falsefalsefalse18)) {
  94.                 // line 19
  95.                 echo "                <p><strong>Note:</strong> This product is currently <strong>disabled</strong>.</p>
  96.             ";
  97.             }
  98.             // line 21
  99.             echo "        </div>
  100.         <div class=\"ui clearing hidden divider\"></div>
  101.     ";
  102.         }
  103.         // line 24
  104.         echo "
  105.     ";
  106.         // line 25
  107.         $this->loadTemplate("@SyliusShop/Product/Show/_breadcrumb.html.twig""@SyliusShop/Product/show.html.twig"25)->display($context);
  108.         // line 26
  109.         echo "    <div class=\"ui hidden divider\"></div>
  110.     ";
  111.         // line 28
  112.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.header"$context);
  113.         echo "
  114.     ";
  115.         // line 30
  116.         $context["hasFullSupplierInfo"] = $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\SupplierInfoExtension']->isFullSupplierInfo(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.'30$this->source); })()), "vendor", [], "any"falsefalsefalse30), "organization", [], "any"falsefalsefalse30));
  117.         // line 31
  118.         echo "    ";
  119.         $context["hasImages"] =  !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.'31$this->source); })()), "images", [], "any"falsefalsefalse31));
  120.         // line 32
  121.         echo "    ";
  122.         $context["showImages"] = ((isset($context["hasFullSupplierInfo"]) || array_key_exists("hasFullSupplierInfo"$context) ? $context["hasFullSupplierInfo"] : (function () { throw new RuntimeError('Variable "hasFullSupplierInfo" does not exist.'32$this->source); })()) && (isset($context["hasImages"]) || array_key_exists("hasImages"$context) ? $context["hasImages"] : (function () { throw new RuntimeError('Variable "hasImages" does not exist.'32$this->source); })()));
  123.         // line 33
  124.         echo "    <div class=\"product-detail-layout ";
  125.         echo (( !(isset($context["showImages"]) || array_key_exists("showImages"$context) ? $context["showImages"] : (function () { throw new RuntimeError('Variable "showImages" does not exist.'33$this->source); })())) ? ("no-supplier-images") : (""));
  126.         echo "\">
  127.         <div class=\"product-images-section\">
  128.             ";
  129.         // line 35
  130.         if ((isset($context["showImages"]) || array_key_exists("showImages"$context) ? $context["showImages"] : (function () { throw new RuntimeError('Variable "showImages" does not exist.'35$this->source); })())) {
  131.             // line 36
  132.             echo "                ";
  133.             echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.left_sidebar"$context);
  134.             echo "
  135.             ";
  136.         }
  137.         // line 38
  138.         echo "        </div>
  139.         <div class=\"product-summary-section\">
  140.             <div class=\"ui top attached large tabular menu product-tabs\">
  141.                 <a class=\"item active\" data-tab=\"summary\">";
  142.         // line 42
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.tabs.summary"), "html"nulltrue);
  144.         echo "</a>
  145.             </div>
  146.             <div class=\"ui bottom attached tab segment product-tabs active\" data-tab=\"summary\">
  147.                 ";
  148.         // line 45
  149.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.right_sidebar"$context);
  150.         echo "
  151.             </div>
  152.         </div>
  153.         <div class=\"product-tabs-section\">
  154.             ";
  155.         // line 50
  156.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content_left_column"$context);
  157.         echo "
  158.         </div>
  159.         <div class=\"product-forms-section\">
  160.         ";
  161.         // line 54
  162.         if ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  163.             // line 55
  164.             echo "            <div class=\"wrapper-cont trigger-element\">
  165.                 <ul class=\"tab-conts-box-cont form-tabs\">
  166.                     <li class=\"tab-hyf active\" data-tab=\"rfq\">
  167.                         ";
  168.             // line 58
  169.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.tabs.rfq"), "html"nulltrue);
  170.             echo "
  171.                     </li>
  172.                     ";
  173.             // line 61
  174.             echo "                    ";
  175.             // line 64
  176.             echo "                </ul>
  177.             </div>
  178.         ";
  179.         }
  180.         // line 67
  181.         echo "        ";
  182.         if ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  183.             // line 68
  184.             echo "            <div class=\"tab-cont-content-cont\">
  185.                 ";
  186.             // line 69
  187.             echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content_right_column"$context);
  188.             echo "
  189.             </div>
  190.         ";
  191.         } else {
  192.             // line 72
  193.             echo "            ";
  194.             echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content_right_column"$context);
  195.             echo "
  196.         ";
  197.         }
  198.         // line 74
  199.         echo "        </div>
  200.     </div>
  201.     ";
  202.         // line 77
  203.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content"$context);
  204.         echo "
  205.     ";
  206.         // line 78
  207.         if ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  208.             // line 79
  209.             echo "        <div class=\"rectangle-group sticky-header\">
  210.             <div class=\"sticky-buttons-group\" style=\"justify-content: center;\">
  211.                 <div class=\"btn\" data-tab=\"rfq\" style=\"width: auto; flex: 0 0 auto;\">";
  212.             // line 81
  213.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.tabs.rfq"), "html"nulltrue);
  214.             echo "</div>
  215.                 ";
  216.             // line 83
  217.             echo "                ";
  218.             // line 84
  219.             echo "            </div>
  220.         </div>
  221.     ";
  222.         }
  223.         
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  225.         
  226.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  227.     }
  228.     // line 89
  229.     public function block_javascripts($context, array $blocks = [])
  230.     {
  231.         $macros $this->macros;
  232.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  236.         // line 90
  237.         echo "    ";
  238.         $this->displayParentBlock("javascripts"$context$blocks);
  239.         echo "
  240.     <script type=\"text/javascript\">
  241.         lightbox.option({
  242.             'albumLabel': '";
  243.         // line 94
  244.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.lightbox.image_album_label"), "js"), "html"nulltrue);
  245.         echo "'
  246.         });
  247.         // Pass translations to download handler
  248.         window.downloadTranslations = {
  249.             rate_limit_header: '";
  250.         // line 99
  251.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.rate_limit_header"), "js"), "html"nulltrue);
  252.         echo "',
  253.             rate_limit_wait: '";
  254.         // line 100
  255.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.rate_limit_wait"), "js"), "html"nulltrue);
  256.         echo "',
  257.             download_failed: '";
  258.         // line 101
  259.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.download_failed"), "js"), "html"nulltrue);
  260.         echo "',
  261.             download_failed_status: '";
  262.         // line 102
  263.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.download_failed_status"), "js"), "html"nulltrue);
  264.         echo "',
  265.             download_error_network: '";
  266.         // line 103
  267.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.download_error_network"), "js"), "html"nulltrue);
  268.         echo "',
  269.             verify_human: '";
  270.         // line 104
  271.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.verify_human"), "js"), "html"nulltrue);
  272.         echo "',
  273.             loading: '";
  274.         // line 105
  275.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.loading"), "js"), "html"nulltrue);
  276.         echo "'
  277.         };
  278.     </script>
  279. ";
  280.         
  281.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  282.         
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  284.     }
  285.     public function getTemplateName()
  286.     {
  287.         return "@SyliusShop/Product/show.html.twig";
  288.     }
  289.     public function isTraitable()
  290.     {
  291.         return false;
  292.     }
  293.     public function getDebugInfo()
  294.     {
  295.         return array (  307 => 105,  303 => 104,  299 => 103,  295 => 102,  291 => 101,  287 => 100,  283 => 99,  275 => 94,  267 => 90,  257 => 89,  244 => 84,  242 => 83,  238 => 81,  234 => 79,  232 => 78,  228 => 77,  223 => 74,  217 => 72,  211 => 69,  208 => 68,  205 => 67,  200 => 64,  198 => 61,  193 => 58,  188 => 55,  186 => 54,  179 => 50,  171 => 45,  165 => 42,  159 => 38,  153 => 36,  151 => 35,  145 => 33,  142 => 32,  139 => 31,  137 => 30,  132 => 28,  128 => 26,  126 => 25,  123 => 24,  118 => 21,  114 => 19,  112 => 18,  104 => 12,  101 => 11,  99 => 10,  89 => 9,  68 => 7,  57 => 5,  54 => 3,  52 => 2,  50 => 1,  37 => 5,);
  296.     }
  297.     public function getSourceContext()
  298.     {
  299.         return new Source("{% set preview = 'open_marketplace_vendor_product_listings_preview' == app.request.attributes.get('_route') %}
  300. {% if true == preview and product_listing is defined %}
  301.     {% set product = convert_draft_to_product(product_listing.latestDraft) %}
  302. {% endif %}
  303. {% extends '@SyliusShop/layout.html.twig' %}
  304. {% block title %}{{ product.name }} | {{ parent() }}{% endblock %}
  305. {% block content %}
  306.     {# Preview mode banner for admin-only product preview #}
  307.     {% if isPreview|default(false) %}
  308.         <div class=\"ui info message\">
  309.             <div class=\"header\">
  310.                 <i class=\"eye icon\"></i>
  311.                 Preview Mode - Admin Only
  312.             </div>
  313.             <p>You are viewing this product in preview mode. This product may not be visible to regular users.</p>
  314.             {% if not product.enabled %}
  315.                 <p><strong>Note:</strong> This product is currently <strong>disabled</strong>.</p>
  316.             {% endif %}
  317.         </div>
  318.         <div class=\"ui clearing hidden divider\"></div>
  319.     {% endif %}
  320.     {% include '@SyliusShop/Product/Show/_breadcrumb.html.twig' %}
  321.     <div class=\"ui hidden divider\"></div>
  322.     {{ sylius_template_event('sylius.shop.product.show.header', _context) }}
  323.     {% set hasFullSupplierInfo = isFullSupplierInfo(product.vendor.organization) %}
  324.     {% set hasImages = product.images is not empty %}
  325.     {% set showImages = hasFullSupplierInfo and hasImages %}
  326.     <div class=\"product-detail-layout {{ not showImages ? 'no-supplier-images' : '' }}\">
  327.         <div class=\"product-images-section\">
  328.             {% if showImages %}
  329.                 {{ sylius_template_event('sylius.shop.product.show.left_sidebar', _context) }}
  330.             {% endif %}
  331.         </div>
  332.         <div class=\"product-summary-section\">
  333.             <div class=\"ui top attached large tabular menu product-tabs\">
  334.                 <a class=\"item active\" data-tab=\"summary\">{{ 'app.ui.product.tabs.summary'|trans }}</a>
  335.             </div>
  336.             <div class=\"ui bottom attached tab segment product-tabs active\" data-tab=\"summary\">
  337.                 {{ sylius_template_event('sylius.shop.product.show.right_sidebar', _context) }}
  338.             </div>
  339.         </div>
  340.         <div class=\"product-tabs-section\">
  341.             {{ sylius_template_event('sylius.shop.product.show.content_left_column', _context) }}
  342.         </div>
  343.         <div class=\"product-forms-section\">
  344.         {% if is_mobile() %}
  345.             <div class=\"wrapper-cont trigger-element\">
  346.                 <ul class=\"tab-conts-box-cont form-tabs\">
  347.                     <li class=\"tab-hyf active\" data-tab=\"rfq\">
  348.                         {{ 'app.ui.product.tabs.rfq'|trans }}
  349.                     </li>
  350.                     {# Temporarily disabled - only RFQ will be shown on product details page #}
  351.                     {# <li class=\"tab-hyf\" data-tab=\"inquiry\">
  352.                         {{ 'app.ui.product.tabs.contact_vendor'|trans }}
  353.                     </li> #}
  354.                 </ul>
  355.             </div>
  356.         {% endif %}
  357.         {% if is_mobile() %}
  358.             <div class=\"tab-cont-content-cont\">
  359.                 {{ sylius_template_event('sylius.shop.product.show.content_right_column', _context) }}
  360.             </div>
  361.         {% else %}
  362.             {{ sylius_template_event('sylius.shop.product.show.content_right_column', _context) }}
  363.         {% endif %}
  364.         </div>
  365.     </div>
  366.     {{ sylius_template_event('sylius.shop.product.show.content', _context) }}
  367.     {% if is_mobile() %}
  368.         <div class=\"rectangle-group sticky-header\">
  369.             <div class=\"sticky-buttons-group\" style=\"justify-content: center;\">
  370.                 <div class=\"btn\" data-tab=\"rfq\" style=\"width: auto; flex: 0 0 auto;\">{{ 'app.ui.product.tabs.rfq'|trans }}</div>
  371.                 {# Temporarily disabled - only RFQ will be shown on product details page #}
  372.                 {# <div class=\"btn\" data-tab=\"inquiry\">{{ 'app.ui.product.tabs.contact_vendor'|trans }}</div> #}
  373.             </div>
  374.         </div>
  375.     {% endif %}
  376. {% endblock %}
  377. {% block javascripts %}
  378.     {{ parent() }}
  379.     <script type=\"text/javascript\">
  380.         lightbox.option({
  381.             'albumLabel': '{{ 'sylius.lightbox.image_album_label'|trans|escape('js') }}'
  382.         });
  383.         // Pass translations to download handler
  384.         window.downloadTranslations = {
  385.             rate_limit_header: '{{ 'open_marketplace.ui.rate_limit_header'|trans|escape('js') }}',
  386.             rate_limit_wait: '{{ 'open_marketplace.ui.rate_limit_wait'|trans|escape('js') }}',
  387.             download_failed: '{{ 'open_marketplace.ui.download_failed'|trans|escape('js') }}',
  388.             download_failed_status: '{{ 'open_marketplace.ui.download_failed_status'|trans|escape('js') }}',
  389.             download_error_network: '{{ 'open_marketplace.ui.download_error_network'|trans|escape('js') }}',
  390.             verify_human: '{{ 'open_marketplace.ui.verify_human'|trans|escape('js') }}',
  391.             loading: '{{ 'open_marketplace.ui.loading'|trans|escape('js') }}'
  392.         };
  393.     </script>
  394. {% endblock %}
  395. ""@SyliusShop/Product/show.html.twig""/srv/open_marketplace/templates/bundles/SyliusShopBundle/Product/show.html.twig");
  396.     }
  397. }