var/cache/dev_ha6cdf01c8a14124e315e8ec5e6f48dc2/twig/7e/7e17c2f62400ca246df5b49ca15e80e03fbb4838cf66d18c5e001c30329c8381.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @zenitAppFloatingBuybox/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_2818ed8aa666ff6b3ddd5e778f26f9c0c3a263cfc61999044a102cf939c04b94 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'layout_head_stylesheet' => [$this'block_layout_head_stylesheet'],
  26.             'zenit_floatin_buybox_css' => [$this'block_zenit_floatin_buybox_css'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@NetzpEvents6/storefront/layout/meta.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitAppFloatingBuybox/storefront/layout/meta.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitAppFloatingBuybox/storefront/layout/meta.html.twig"));
  41.         $this->parent $this->loadTemplate("@NetzpEvents6/storefront/layout/meta.html.twig""@zenitAppFloatingBuybox/storefront/layout/meta.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_layout_head_stylesheet($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_stylesheet"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_stylesheet"));
  56.         // line 4
  57.         echo "    ";
  58.         $this->displayParentBlock("layout_head_stylesheet"$context$blocks);
  59.         echo "
  60.     ";
  61.         // line 6
  62.         $this->displayBlock('zenit_floatin_buybox_css'$context$blocks);
  63.         // line 85
  64.         echo "
  65. ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 6
  72.     public function block_zenit_floatin_buybox_css($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_floatin_buybox_css"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_floatin_buybox_css"));
  79.         // line 7
  80.         echo "
  81.         ";
  82.         // line 8
  83.         $context["styles"] = ["alignment" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.alignment"), "maxWidth" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.maxWidth"), "margin" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.margin") . "px"), "paddingX" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.padding") . "px"), "paddingY" => (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.padding") / 2) . "px"), "offsetY" => (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.margin") / 2) . "px"), "radius" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.radius") . "px"), "badgeRadius" => (((=== twig_compare($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.radius"), 2))) ? ((($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.radius") - 2) . "px")) : (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.radius") . "px"))), "background" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.background"), "backgroundOpacity" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.backgroundOpacity") . "%"), "color" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.color"), "colorPrice" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.colorPrice"), "colorWithListPrice" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.colorWithListPrice"), "scrollUpButtonBottom" => ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.scrollUpButtonBottom") . "px")];
  84.         // line 24
  85.         echo "
  86.         <style data-plugin=\"zenitAppFloatingBuybox\">
  87.             ";
  88.         // line 26
  89.         if (sw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "maxWidth", [], "any"falsefalsefalse26)) {
  90.             // line 27
  91.             echo "                .buybox-floating {
  92.                     max-width: ";
  93.             // line 28
  94.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "maxWidth", [], "any"falsefalsefalse28), "html"nulltrue);
  95.             echo ";
  96.                 }
  97.             ";
  98.         }
  99.         // line 31
  100.         echo "
  101.             .buybox-floating-inner {
  102.                 border-radius: ";
  103.         // line 33
  104.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "radius", [], "any"falsefalsefalse33), "html"nulltrue);
  105.         echo ";
  106.                 margin: ";
  107.         // line 34
  108.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "margin", [], "any"falsefalsefalse34), "html"nulltrue);
  109.         echo ";
  110.                 padding: ";
  111.         // line 35
  112.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "paddingY", [], "any"falsefalsefalse35), "html"nulltrue);
  113.         echo " ";
  114.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "paddingX", [], "any"falsefalsefalse35), "html"nulltrue);
  115.         echo ";
  116.                 box-shadow: 0 ";
  117.         // line 36
  118.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "offsetY", [], "any"falsefalsefalse36), "html"nulltrue);
  119.         echo " 1rem rgba(0, 0 ,0 , .18);
  120.             }
  121.             .buybox-floating-inner::before {
  122.                 border-radius: ";
  123.         // line 40
  124.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "radius", [], "any"falsefalsefalse40), "html"nulltrue);
  125.         echo ";
  126.                 background: ";
  127.         // line 41
  128.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "background", [], "any"falsefalsefalse41), "html"nulltrue);
  129.         echo ";
  130.                 opacity: ";
  131.         // line 42
  132.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "backgroundOpacity", [], "any"falsefalsefalse42), "html"nulltrue);
  133.         echo ";
  134.             }
  135.             .buybox-floating-inner .row > [class*=\"col-\"] {
  136.                 padding-top: ";
  137.         // line 46
  138.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "paddingY", [], "any"falsefalsefalse46), "html"nulltrue);
  139.         echo ";
  140.                 padding-bottom: ";
  141.         // line 47
  142.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "paddingY", [], "any"falsefalsefalse47), "html"nulltrue);
  143.         echo ";
  144.                 text-align: ";
  145.         // line 48
  146.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "alignment", [], "any"falsefalsefalse48), "html"nulltrue);
  147.         echo ";
  148.             }
  149.             .buybox-floating .product-detail-price {
  150.                 color: ";
  151.         // line 52
  152.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "colorPrice", [], "any"falsefalsefalse52), "html"nulltrue);
  153.         echo ";
  154.                 border-radius: ";
  155.         // line 53
  156.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "radius", [], "any"falsefalsefalse53), "html"nulltrue);
  157.         echo ";
  158.             }
  159.             .buybox-floating .product-detail-price.with-list-price {
  160.                 color: ";
  161.         // line 57
  162.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "colorWithListPrice", [], "any"falsefalsefalse57), "html"nulltrue);
  163.         echo "
  164.             }
  165.             .buybox-floating .product-detail-name,
  166.             .buybox-floating .product-detail-price-unit {
  167.                 color: ";
  168.         // line 62
  169.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "color", [], "any"falsefalsefalse62), "html"nulltrue);
  170.         echo ";
  171.                 text-align: ";
  172.         // line 63
  173.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "alignment", [], "any"falsefalsefalse63), "html"nulltrue);
  174.         echo ";
  175.             }
  176.             .buybox-floating .list-price-badge {
  177.                 border-radius: ";
  178.         // line 67
  179.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "badgeRadius", [], "any"falsefalsefalse67), "html"nulltrue);
  180.         echo ";
  181.             }
  182.             .scroll-up-button {
  183.                 bottom: ";
  184.         // line 71
  185.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "scrollUpButtonBottom", [], "any"falsefalsefalse71), "html"nulltrue);
  186.         echo ";
  187.             }
  188.             .product-detail-configurator-groups-toggle-preview .option-color {
  189.                 border-radius: ";
  190.         // line 75
  191.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["styles"] ?? null), "badgeRadius", [], "any"falsefalsefalse75), "html"nulltrue);
  192.         echo ";
  193.             }
  194.         </style>
  195.         ";
  196.         // line 79
  197.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.customCSS")) {
  198.             // line 80
  199.             echo "            <style data-plugin=\"zenitAppFloatingBuybox\">
  200.                 ";
  201.             // line 81
  202.             echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"zenitAppFloatingBuybox.config.customCSS");
  203.             echo "
  204.             </style>
  205.         ";
  206.         }
  207.         // line 84
  208.         echo "    ";
  209.         
  210.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  211.         
  212.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  213.     }
  214.     public function getTemplateName()
  215.     {
  216.         return "@zenitAppFloatingBuybox/storefront/layout/meta.html.twig";
  217.     }
  218.     public function isTraitable()
  219.     {
  220.         return false;
  221.     }
  222.     public function getDebugInfo()
  223.     {
  224.         return array (  235 => 84,  229 => 81,  226 => 80,  224 => 79,  217 => 75,  210 => 71,  203 => 67,  196 => 63,  192 => 62,  184 => 57,  177 => 53,  173 => 52,  166 => 48,  162 => 47,  158 => 46,  151 => 42,  147 => 41,  143 => 40,  136 => 36,  130 => 35,  126 => 34,  122 => 33,  118 => 31,  112 => 28,  109 => 27,  107 => 26,  103 => 24,  101 => 8,  98 => 7,  88 => 6,  77 => 85,  75 => 6,  69 => 4,  59 => 3,  36 => 2,);
  225.     }
  226.     public function getSourceContext()
  227.     {
  228.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  229. {% block layout_head_stylesheet %}
  230.     {{ parent() }}
  231.     {% block zenit_floatin_buybox_css %}
  232.         {% set styles = {
  233.             'alignment': config('zenitAppFloatingBuybox.config.alignment'),
  234.             'maxWidth': config('zenitAppFloatingBuybox.config.maxWidth'),
  235.             'margin': config('zenitAppFloatingBuybox.config.margin') ~ 'px',
  236.             'paddingX': config('zenitAppFloatingBuybox.config.padding') ~ 'px',
  237.             'paddingY': config('zenitAppFloatingBuybox.config.padding') / 2 ~ 'px',
  238.             'offsetY': config('zenitAppFloatingBuybox.config.margin') / 2 ~ 'px',
  239.             'radius': config('zenitAppFloatingBuybox.config.radius') ~ 'px',
  240.             'badgeRadius': config('zenitAppFloatingBuybox.config.radius') > 2 ? (config('zenitAppFloatingBuybox.config.radius') - 2) ~ 'px' : config('zenitAppFloatingBuybox.config.radius') ~ 'px',
  241.             'background': config('zenitAppFloatingBuybox.config.background'),
  242.             'backgroundOpacity': config('zenitAppFloatingBuybox.config.backgroundOpacity') ~ '%',
  243.             'color': config('zenitAppFloatingBuybox.config.color'),
  244.             'colorPrice': config('zenitAppFloatingBuybox.config.colorPrice'),
  245.             'colorWithListPrice': config('zenitAppFloatingBuybox.config.colorWithListPrice'),
  246.             'scrollUpButtonBottom': config('zenitAppFloatingBuybox.config.scrollUpButtonBottom') ~ 'px'
  247.         } %}
  248.         <style data-plugin=\"zenitAppFloatingBuybox\">
  249.             {% if styles.maxWidth %}
  250.                 .buybox-floating {
  251.                     max-width: {{ styles.maxWidth }};
  252.                 }
  253.             {% endif %}
  254.             .buybox-floating-inner {
  255.                 border-radius: {{ styles.radius }};
  256.                 margin: {{ styles.margin }};
  257.                 padding: {{ styles.paddingY }} {{ styles.paddingX }};
  258.                 box-shadow: 0 {{ styles.offsetY }} 1rem rgba(0, 0 ,0 , .18);
  259.             }
  260.             .buybox-floating-inner::before {
  261.                 border-radius: {{ styles.radius }};
  262.                 background: {{ styles.background }};
  263.                 opacity: {{ styles.backgroundOpacity }};
  264.             }
  265.             .buybox-floating-inner .row > [class*=\"col-\"] {
  266.                 padding-top: {{ styles.paddingY }};
  267.                 padding-bottom: {{ styles.paddingY }};
  268.                 text-align: {{ styles.alignment }};
  269.             }
  270.             .buybox-floating .product-detail-price {
  271.                 color: {{ styles.colorPrice }};
  272.                 border-radius: {{ styles.radius }};
  273.             }
  274.             .buybox-floating .product-detail-price.with-list-price {
  275.                 color: {{ styles.colorWithListPrice }}
  276.             }
  277.             .buybox-floating .product-detail-name,
  278.             .buybox-floating .product-detail-price-unit {
  279.                 color: {{ styles.color }};
  280.                 text-align: {{ styles.alignment }};
  281.             }
  282.             .buybox-floating .list-price-badge {
  283.                 border-radius: {{ styles.badgeRadius }};
  284.             }
  285.             .scroll-up-button {
  286.                 bottom: {{ styles.scrollUpButtonBottom }};
  287.             }
  288.             .product-detail-configurator-groups-toggle-preview .option-color {
  289.                 border-radius: {{ styles.badgeRadius }};
  290.             }
  291.         </style>
  292.         {% if config('zenitAppFloatingBuybox.config.customCSS') %}
  293.             <style data-plugin=\"zenitAppFloatingBuybox\">
  294.                 {{ config('zenitAppFloatingBuybox.config.customCSS')|raw }}
  295.             </style>
  296.         {% endif %}
  297.     {% endblock %}
  298. {% endblock %}
  299. ""@zenitAppFloatingBuybox/storefront/layout/meta.html.twig""/var/customers/webs/youksakka/htdocs/custom/apps/zenitAppFloatingBuybox/Resources/views/storefront/layout/meta.html.twig");
  300.     }
  301. }