<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SyliusShop/Product/show.html.twig */
class __TwigTemplate_70b0d1f47c7bdd4c1fe4e91b0d7437ef extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 5
return "@SyliusShop/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/show.html.twig"));
// line 1
$context["preview"] = ("open_marketplace_vendor_product_listings_preview" == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", [0 => "_route"], "method", false, false, false, 1));
// line 2
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))) {
// line 3
$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", false, false, false, 3));
}
// line 5
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@SyliusShop/Product/show.html.twig", 5);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 7
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, 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.', 7, $this->source); })()), "name", [], "any", false, false, false, 7), "html", null, true);
echo " | ";
$this->displayParentBlock("title", $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 10
echo " ";
// line 11
echo " ";
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))) {
// line 12
echo " <div class=\"ui info message\">
<div class=\"header\">
<i class=\"eye icon\"></i>
Preview Mode - Admin Only
</div>
<p>You are viewing this product in preview mode. This product may not be visible to regular users.</p>
";
// line 18
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", false, false, false, 18)) {
// line 19
echo " <p><strong>Note:</strong> This product is currently <strong>disabled</strong>.</p>
";
}
// line 21
echo " </div>
<div class=\"ui clearing hidden divider\"></div>
";
}
// line 24
echo "
";
// line 25
$this->loadTemplate("@SyliusShop/Product/Show/_breadcrumb.html.twig", "@SyliusShop/Product/show.html.twig", 25)->display($context);
// line 26
echo "
";
// line 27
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.header", $context);
echo "
";
// line 29
$context["hasFullSupplierInfo"] = $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\SupplierInfoExtension']->isFullSupplierInfo(twig_get_attribute($this->env, $this->source, 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.', 29, $this->source); })()), "vendor", [], "any", false, false, false, 29), "organization", [], "any", false, false, false, 29));
// line 30
echo " ";
$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.', 30, $this->source); })()), "images", [], "any", false, false, false, 30));
// line 31
echo " ";
$context["showImages"] = ((isset($context["hasFullSupplierInfo"]) || array_key_exists("hasFullSupplierInfo", $context) ? $context["hasFullSupplierInfo"] : (function () { throw new RuntimeError('Variable "hasFullSupplierInfo" does not exist.', 31, $this->source); })()) && (isset($context["hasImages"]) || array_key_exists("hasImages", $context) ? $context["hasImages"] : (function () { throw new RuntimeError('Variable "hasImages" does not exist.', 31, $this->source); })()));
// line 32
echo " ";
$context["productTaxonCode"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["product"] ?? null), "mainTaxon", [], "any", false, true, false, 32), "code", [], "any", true, true, false, 32)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["product"] ?? null), "mainTaxon", [], "any", false, true, false, 32), "code", [], "any", false, false, false, 32), "")) : (""));
// line 33
echo " ";
$context["canRfq"] = (((isset($context["productTaxonCode"]) || array_key_exists("productTaxonCode", $context) ? $context["productTaxonCode"] : (function () { throw new RuntimeError('Variable "productTaxonCode" does not exist.', 33, $this->source); })()) != "services") && ($this->env->getFunction('vendor_can_rfq')->getCallable()((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 33, $this->source); })())) == true));
// line 34
echo " ";
$context["canInquiry"] = ($this->env->getFunction('vendor_can_inquiry')->getCallable()((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 34, $this->source); })())) == true);
// line 35
echo "
<div class=\"product-detail-layout ";
// line 36
echo (( !(isset($context["showImages"]) || array_key_exists("showImages", $context) ? $context["showImages"] : (function () { throw new RuntimeError('Variable "showImages" does not exist.', 36, $this->source); })())) ? ("no-supplier-images") : (""));
echo "\">
<div class=\"product-images-section\">
";
// line 38
if ((isset($context["showImages"]) || array_key_exists("showImages", $context) ? $context["showImages"] : (function () { throw new RuntimeError('Variable "showImages" does not exist.', 38, $this->source); })())) {
// line 39
echo " ";
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.left_sidebar", $context);
echo "
";
}
// line 41
echo " </div>
<div class=\"product-summary-section\">
<div class=\"ui top attached large tabular menu product-tabs\">
<a class=\"item active\" data-tab=\"summary\">";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.tabs.summary"), "html", null, true);
echo "</a>
</div>
<div class=\"ui bottom attached tab segment product-tabs active\" data-tab=\"summary\">
";
// line 48
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.right_sidebar", $context);
echo "
</div>
</div>
<div class=\"product-tabs-section\">
";
// line 53
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content_left_column", $context);
echo "
</div>
<div class=\"product-forms-section\">
";
// line 57
if (((isset($context["canRfq"]) || array_key_exists("canRfq", $context) ? $context["canRfq"] : (function () { throw new RuntimeError('Variable "canRfq" does not exist.', 57, $this->source); })()) || (isset($context["canInquiry"]) || array_key_exists("canInquiry", $context) ? $context["canInquiry"] : (function () { throw new RuntimeError('Variable "canInquiry" does not exist.', 57, $this->source); })()))) {
// line 58
echo " <div class=\"ui top attached large tabular menu product-tabs form-tabs wrapper-cont trigger-element\">
";
// line 59
if ((isset($context["canRfq"]) || array_key_exists("canRfq", $context) ? $context["canRfq"] : (function () { throw new RuntimeError('Variable "canRfq" does not exist.', 59, $this->source); })())) {
// line 60
echo " <a class=\"item tab-hyf active\" data-tab=\"rfq\">
";
// line 61
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.request_quote"), "html", null, true);
echo "
</a>
";
}
// line 64
echo "
";
// line 65
if ((isset($context["canInquiry"]) || array_key_exists("canInquiry", $context) ? $context["canInquiry"] : (function () { throw new RuntimeError('Variable "canInquiry" does not exist.', 65, $this->source); })())) {
// line 66
echo " <a class=\"item tab-hyf ";
echo (( !(isset($context["canRfq"]) || array_key_exists("canRfq", $context) ? $context["canRfq"] : (function () { throw new RuntimeError('Variable "canRfq" does not exist.', 66, $this->source); })())) ? ("active") : (""));
echo "\" data-tab=\"inquiry\">
";
// line 67
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.request_info"), "html", null, true);
echo "
</a>
";
}
// line 70
echo " </div>
";
}
// line 72
echo "
<div class=\"tab-cont-content-cont\">
";
// line 74
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content_right_column", $context);
echo "
</div>
</div>
</div>
";
// line 79
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content", $context);
echo "
";
// line 80
if ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
// line 81
echo " <div class=\"rectangle-group sticky-header\">
<div class=\"sticky-buttons-group\">
";
// line 83
if ((isset($context["canRfq"]) || array_key_exists("canRfq", $context) ? $context["canRfq"] : (function () { throw new RuntimeError('Variable "canRfq" does not exist.', 83, $this->source); })())) {
// line 84
echo " <div class=\"btn active\" data-tab=\"rfq\">
";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.request_quote"), "html", null, true);
echo "
</div>
";
}
// line 88
echo " ";
if ((isset($context["canInquiry"]) || array_key_exists("canInquiry", $context) ? $context["canInquiry"] : (function () { throw new RuntimeError('Variable "canInquiry" does not exist.', 88, $this->source); })())) {
// line 89
echo " <div class=\"btn ";
echo (( !(isset($context["canRfq"]) || array_key_exists("canRfq", $context) ? $context["canRfq"] : (function () { throw new RuntimeError('Variable "canRfq" does not exist.', 89, $this->source); })())) ? ("active") : (""));
echo "\" data-tab=\"inquiry\">
";
// line 90
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.product.request_info"), "html", null, true);
echo "
</div>
";
}
// line 93
echo " </div>
</div>
";
}
// line 96
echo "
";
// line 97
if (((isset($context["canRfq"]) || array_key_exists("canRfq", $context) ? $context["canRfq"] : (function () { throw new RuntimeError('Variable "canRfq" does not exist.', 97, $this->source); })()) && !((array_key_exists("preview", $context)) ? (_twig_default_filter((isset($context["preview"]) || array_key_exists("preview", $context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.', 97, $this->source); })()), false)) : (false)))) {
// line 98
echo " ";
$this->loadTemplate("@SyliusShop/Product/Show/_contactModal.html.twig", "@SyliusShop/Product/show.html.twig", 98)->display($context);
// line 99
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 102
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 103
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\">
lightbox.option({
'albumLabel': '";
// line 107
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.lightbox.image_album_label"), "js"), "html", null, true);
echo "'
});
// Pass translations to download handler
window.downloadTranslations = {
rate_limit_header: '";
// line 112
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.rate_limit_header"), "js"), "html", null, true);
echo "',
rate_limit_wait: '";
// line 113
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.rate_limit_wait"), "js"), "html", null, true);
echo "',
download_failed: '";
// line 114
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.download_failed"), "js"), "html", null, true);
echo "',
download_failed_status: '";
// line 115
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.download_failed_status"), "js"), "html", null, true);
echo "',
download_error_network: '";
// line 116
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.download_error_network"), "js"), "html", null, true);
echo "',
verify_human: '";
// line 117
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.verify_human"), "js"), "html", null, true);
echo "',
loading: '";
// line 118
echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.loading"), "js"), "html", null, true);
echo "'
};
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Product/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 353 => 118, 349 => 117, 345 => 116, 341 => 115, 337 => 114, 333 => 113, 329 => 112, 321 => 107, 313 => 103, 303 => 102, 292 => 99, 289 => 98, 287 => 97, 284 => 96, 279 => 93, 273 => 90, 268 => 89, 265 => 88, 259 => 85, 256 => 84, 254 => 83, 250 => 81, 248 => 80, 244 => 79, 236 => 74, 232 => 72, 228 => 70, 222 => 67, 217 => 66, 215 => 65, 212 => 64, 206 => 61, 203 => 60, 201 => 59, 198 => 58, 196 => 57, 189 => 53, 181 => 48, 175 => 45, 169 => 41, 163 => 39, 161 => 38, 156 => 36, 153 => 35, 150 => 34, 147 => 33, 144 => 32, 141 => 31, 138 => 30, 136 => 29, 131 => 27, 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,);
}
public function getSourceContext()
{
return new Source("{% set preview = 'open_marketplace_vendor_product_listings_preview' == app.request.attributes.get('_route') %}
{% if true == preview and product_listing is defined %}
{% set product = convert_draft_to_product(product_listing.latestDraft) %}
{% endif %}
{% extends '@SyliusShop/layout.html.twig' %}
{% block title %}{{ product.name }} | {{ parent() }}{% endblock %}
{% block content %}
{# Preview mode banner for admin-only product preview #}
{% if isPreview|default(false) %}
<div class=\"ui info message\">
<div class=\"header\">
<i class=\"eye icon\"></i>
Preview Mode - Admin Only
</div>
<p>You are viewing this product in preview mode. This product may not be visible to regular users.</p>
{% if not product.enabled %}
<p><strong>Note:</strong> This product is currently <strong>disabled</strong>.</p>
{% endif %}
</div>
<div class=\"ui clearing hidden divider\"></div>
{% endif %}
{% include '@SyliusShop/Product/Show/_breadcrumb.html.twig' %}
{{ sylius_template_event('sylius.shop.product.show.header', _context) }}
{% set hasFullSupplierInfo = isFullSupplierInfo(product.vendor.organization) %}
{% set hasImages = product.images is not empty %}
{% set showImages = hasFullSupplierInfo and hasImages %}
{% set productTaxonCode = product.mainTaxon.code|default('') %}
{% set canRfq = productTaxonCode != 'services' and vendor_can_rfq(product) == true %}
{% set canInquiry = vendor_can_inquiry(product) == true %}
<div class=\"product-detail-layout {{ not showImages ? 'no-supplier-images' : '' }}\">
<div class=\"product-images-section\">
{% if showImages %}
{{ sylius_template_event('sylius.shop.product.show.left_sidebar', _context) }}
{% endif %}
</div>
<div class=\"product-summary-section\">
<div class=\"ui top attached large tabular menu product-tabs\">
<a class=\"item active\" data-tab=\"summary\">{{ 'app.ui.product.tabs.summary'|trans }}</a>
</div>
<div class=\"ui bottom attached tab segment product-tabs active\" data-tab=\"summary\">
{{ sylius_template_event('sylius.shop.product.show.right_sidebar', _context) }}
</div>
</div>
<div class=\"product-tabs-section\">
{{ sylius_template_event('sylius.shop.product.show.content_left_column', _context) }}
</div>
<div class=\"product-forms-section\">
{% if canRfq or canInquiry %}
<div class=\"ui top attached large tabular menu product-tabs form-tabs wrapper-cont trigger-element\">
{% if canRfq %}
<a class=\"item tab-hyf active\" data-tab=\"rfq\">
{{ 'app.ui.product.request_quote'|trans }}
</a>
{% endif %}
{% if canInquiry %}
<a class=\"item tab-hyf {{ not canRfq ? 'active' : '' }}\" data-tab=\"inquiry\">
{{ 'app.ui.product.request_info'|trans }}
</a>
{% endif %}
</div>
{% endif %}
<div class=\"tab-cont-content-cont\">
{{ sylius_template_event('sylius.shop.product.show.content_right_column', _context) }}
</div>
</div>
</div>
{{ sylius_template_event('sylius.shop.product.show.content', _context) }}
{% if is_mobile() %}
<div class=\"rectangle-group sticky-header\">
<div class=\"sticky-buttons-group\">
{% if canRfq %}
<div class=\"btn active\" data-tab=\"rfq\">
{{ 'app.ui.product.request_quote'|trans }}
</div>
{% endif %}
{% if canInquiry %}
<div class=\"btn {{ not canRfq ? 'active' : '' }}\" data-tab=\"inquiry\">
{{ 'app.ui.product.request_info'|trans }}
</div>
{% endif %}
</div>
</div>
{% endif %}
{% if canRfq and not preview|default(false) %}
{% include '@SyliusShop/Product/Show/_contactModal.html.twig' %}
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\">
lightbox.option({
'albumLabel': '{{ 'sylius.lightbox.image_album_label'|trans|escape('js') }}'
});
// Pass translations to download handler
window.downloadTranslations = {
rate_limit_header: '{{ 'open_marketplace.ui.rate_limit_header'|trans|escape('js') }}',
rate_limit_wait: '{{ 'open_marketplace.ui.rate_limit_wait'|trans|escape('js') }}',
download_failed: '{{ 'open_marketplace.ui.download_failed'|trans|escape('js') }}',
download_failed_status: '{{ 'open_marketplace.ui.download_failed_status'|trans|escape('js') }}',
download_error_network: '{{ 'open_marketplace.ui.download_error_network'|trans|escape('js') }}',
verify_human: '{{ 'open_marketplace.ui.verify_human'|trans|escape('js') }}',
loading: '{{ 'open_marketplace.ui.loading'|trans|escape('js') }}'
};
</script>
{% endblock %}
", "@SyliusShop/Product/show.html.twig", "/srv/open_marketplace/templates/bundles/SyliusShopBundle/Product/show.html.twig");
}
}