<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* OfficeBrainCustomBundlePageBundle:HomePage:productTag.html.twig */
class __TwigTemplate_d5b5017cc2a064c836c28edcacd3776cc4f2e171bed5d3d5d7a660d70668cd18 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
            'ajax_body' => [$this, 'block_ajax_body'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "::baseAjax.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("::baseAjax.html.twig", "OfficeBrainCustomBundlePageBundle:HomePage:productTag.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 2
    public function block_ajax_body($context, array $blocks = [])
    {
        // line 3
        echo "

";
        // line 5
        $context["newProducts"] = $this->getAttribute(($context["newproduct_private_tag_products"] ?? null), 0, [], "array");
        // line 6
        echo "<section class=\"product-sections\">
\t<div class=\"container\">
\t  <div class=\"row\">
\t\t<div class=\"col-12 p-b-20\">
\t\t  <h3 class=\"h-title\">Exciting and New  <b>Products</b></h3>
\t\t</div>
\t\t<div class=\"col-12\">
\t\t\t<div class=\"owl-carousel owl-theme product-scrolling-slider\">
\t\t\t\t";
        // line 14
        if ($this->getAttribute($this->getAttribute(($context["newProducts"] ?? null), "product_list", [], "any", false, true), "data", [], "any", true, true)) {
            // line 15
            echo "\t\t\t\t";
            $context["product_box_bootstrap_class"] = "item";
            // line 16
            echo "\t\t\t\t";
            $context["transaction_button_class"] = "hidden";
            // line 17
            echo "\t\t\t\t";
            $this->loadTemplate("OfficeBrainSearchBundle:Search:searchProductRow.html.twig", "OfficeBrainCustomBundlePageBundle:HomePage:productTag.html.twig", 17)->display(twig_array_merge($context, ["record_set" => $this->getAttribute($this->getAttribute(($context["newProducts"] ?? null), "product_list", []), "data", []), "total_record" => $this->getAttribute($this->getAttribute(($context["newProducts"] ?? null), "product_list", []), "totalCount", []), "render_model" => 0, "tag_product_box" => 0]));
            // line 18
            echo "\t\t\t";
        }
        // line 19
        echo "\t\t\t</div>
\t\t  </div>
\t\t
\t  </div>
\t</div>
  </section>


  ";
        // line 27
        $context["item"] = $this->getAttribute(($context["promotional_private_tag_products"] ?? null), 0, [], "array");
        // line 28
        echo "
  <section class=\"product-sections\">
\t<div class=\"container\">
\t  <div class=\"row\">
\t\t<div class=\"col-12 \">
\t\t  <h3 class=\"h-title\">Customer Picks for  <b>Top Promotional Products</b></h3>
\t\t  <h4 class=\"p-b-20\">Some of the hottest products we have at the moment!</h4>
\t\t</div>
\t\t<div class=\"col-12\">
\t\t\t<div class=\"owl-carousel owl-theme product-scrolling-slider\">
\t\t\t\t";
        // line 38
        if ($this->getAttribute($this->getAttribute(($context["item"] ?? null), "product_list", [], "any", false, true), "data", [], "any", true, true)) {
            // line 39
            echo "\t\t\t\t";
            $context["product_box_bootstrap_class"] = "item";
            // line 40
            echo "\t\t\t\t";
            $context["transaction_button_class"] = "hidden";
            // line 41
            echo "\t\t\t\t";
            $this->loadTemplate("OfficeBrainSearchBundle:Search:searchProductRow.html.twig", "OfficeBrainCustomBundlePageBundle:HomePage:productTag.html.twig", 41)->display(twig_array_merge($context, ["record_set" => $this->getAttribute($this->getAttribute(($context["item"] ?? null), "product_list", []), "data", []), "total_record" => $this->getAttribute($this->getAttribute(($context["item"] ?? null), "product_list", []), "totalCount", []), "render_model" => 0, "tag_product_box" => 0]));
            // line 42
            echo "\t\t\t";
        }
        // line 43
        echo "\t\t\t</div>
\t\t  </div>
\t  </div>
\t</div>
  </section>



\t";
        // line 54
        echo "\t";
        // line 55
        echo "\t\t";
        // line 56
        echo "\t";
    }

    public function getTemplateName()
    {
        return "OfficeBrainCustomBundlePageBundle:HomePage:productTag.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  124 => 56,  122 => 55,  120 => 54,  110 => 43,  107 => 42,  104 => 41,  101 => 40,  98 => 39,  96 => 38,  84 => 28,  82 => 27,  72 => 19,  69 => 18,  66 => 17,  63 => 16,  60 => 15,  58 => 14,  48 => 6,  46 => 5,  42 => 3,  39 => 2,  29 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "OfficeBrainCustomBundlePageBundle:HomePage:productTag.html.twig", "/var/www/html/project/OfficeBrain/CustomBundle/PageBundle/Resources/views/HomePage/productTag.html.twig");
    }
}
