<?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;

/* OfficeBrainCustomBundleThemeBundle:IdmeTheme:CompareProduct/recentCompareProductRowLayout.html.twig */
class __TwigTemplate_8c99dcd5e9ece00dbdf716c11ba8527c6bd1b07a685230401f385c8933747802 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        if (((($context["ob_project_user_type"] ?? null) == "guest") && ($this->getAttribute($this->getAttribute($this->getAttribute(($context["ob_project_transaction_configuration_rule"] ?? null), "wish_list", []), "guest_user", []), "status", []) == 1))) {
            // line 2
            echo "\t";
            $context["prefix"] = "";
        } elseif (((        // line 3
($context["ob_project_user_type"] ?? null) == "registered") && ($this->getAttribute($this->getAttribute($this->getAttribute(($context["ob_project_transaction_configuration_rule"] ?? null), "wish_list", []), "registered_user", []), "status", []) == 1))) {
            // line 4
            echo "\t";
            $context["prefix"] = "coded_";
        }
        // line 6
        echo "<div class=\"list-item\">
\t<a href=\"javascript:void(0);\" class=\"close-btn fa fa-trash-o js-close-but js-btn-delete-compare-product\" data-product-id='";
        // line 7
        echo twig_escape_filter($this->env, ($context["product_id"] ?? null), "html", null, true);
        echo "' data-culture-product-id='";
        echo twig_escape_filter($this->env, ($context["culture_product_id"] ?? null), "html", null, true);
        echo "' data-toggle=\"tooltip\" data-placement=\"left\" data-original-title=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("remove", [], "app"), "html", null, true);
        echo "\" data-confirm=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("alert_message.are_you_sure_want_to_delete", [], "app"), "html", null, true);
        echo "\"></a>
\t<a href=\"";
        // line 8
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getUrl("officebrain_product_bundle_product_detail", ["_locale" => $this->getAttribute($this->getAttribute(($context["app"] ?? null), "request", []), "locale", []), "productSlug" => ($context["product_slug"] ?? null)]), "html", null, true);
        echo "\" class=\"cart-img\">
\t\t";
        // line 9
        if (((($this->getAttribute($this->getAttribute(($context["app"] ?? null), "session", [], "any", false, true), "get", [0 => "virtualsequenceid"], "method", true, true) &&  !twig_test_empty($this->getAttribute($this->getAttribute(($context["app"] ?? null), "session", []), "get", [0 => "virtualsequenceid"], "method"))) && ($this->getAttribute(($context["ob_project_virtual_access_rule"] ?? null), "status", []) == 1)) && ($this->getAttribute($this->getAttribute($this->getAttribute(($context["ob_project_virtual_access_rule"] ?? null), "option", []), "logo_everything", []), "status", []) == 1))) {
            echo "\t\t\t
\t\t\t";
            // line 10
            $context["newUrl"] = ((((((($context["virtual_base_url"] ?? null) . "logo-everything-image/") . ($context["product_sku"] ?? null)) . "/") . ($context["product_supplier_id"] ?? null)) . "/") . $this->getAttribute($this->getAttribute(($context["app"] ?? null), "session", []), "get", [0 => "virtualsequenceid"], "method"));
            // line 11
            echo "\t\t";
        } else {
            // line 12
            echo "\t\t\t";
            $context["newUrl"] = ($context["product_default_image_url"] ?? null);
            // line 13
            echo "\t\t";
        }
        // line 14
        echo "\t\t<img src=\"";
        echo twig_escape_filter($this->env, ($context["newUrl"] ?? null), "html", null, true);
        echo "\" alt=\"";
        echo ($context["product_title"] ?? null);
        echo "\" class=\"img-responsive\"/>
\t</a>
\t<div class=\"col-lg-7 col-md-7 col-sm-7 col-xs-12 detail-col\">\t\t
\t\t<h3>";
        // line 17
        echo twig_truncate_filter($this->env, strip_tags(($context["product_title"] ?? null)), 35, true);
        echo "</h3>
\t\t<h4>";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("transaction.compare_product_item_code", [], "app"), "html", null, true);
        echo " : ";
        echo twig_escape_filter($this->env, ($context["product_sku"] ?? null), "html", null, true);
        echo "</h4>
\t\t  ";
        // line 19
        $context["minPrice"] = twig_split_filter($this->env, ($context["product_minimum_quantity_range"] ?? null), "-");
        // line 20
        echo "\t\t<div class=\"price\">
\t\t";
        // line 21
        if (((isset($context["product_unit_price"]) || array_key_exists("product_unit_price", $context)) && (($context["product_unit_price"] ?? null) > 0))) {
            // line 22
            echo "    \t\t";
            echo twig_escape_filter($this->env, ($context["product_currency_symbol"] ?? null), "html", null, true);
            echo " ";
            echo twig_escape_filter($this->env, $this->env->getExtension('OfficeBrain\Bundle\CoreBundle\TwigExtension\Extension')->currencyFilter(($context["product_unit_price"] ?? null)), "html", null, true);
            echo "
    \t\t";
            // line 23
            if ((($context["prefix"] ?? null) == "coded_")) {
                // line 24
                echo "    \t\t    ";
                echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("goldstar_theme.products_detail.net", [], "goldstar"), "html", null, true);
                echo "
    \t\t";
            }
            // line 26
            echo "    \t\t<span>";
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("search.qty", [], "app"), "html", null, true);
            echo ". ";
            echo twig_escape_filter($this->env, $this->getAttribute(($context["minPrice"] ?? null), 0, [], "array"), "html", null, true);
            echo "</span>
    \t";
        } else {
            // line 28
            echo "    \t\t<span>";
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("call_for_price", [], "app"), "html", null, true);
            echo "</span>
    \t";
        }
        // line 30
        echo "\t\t</div>
\t\t<div class=\"add-button\">";
        // line 31
        echo twig_escape_filter($this->env, ($context["product_transaction_button"] ?? null), "html", null, true);
        echo "</div>
\t</div>
</div>
";
    }

    public function getTemplateName()
    {
        return "OfficeBrainCustomBundleThemeBundle:IdmeTheme:CompareProduct/recentCompareProductRowLayout.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  131 => 31,  128 => 30,  122 => 28,  114 => 26,  108 => 24,  106 => 23,  99 => 22,  97 => 21,  94 => 20,  92 => 19,  86 => 18,  82 => 17,  73 => 14,  70 => 13,  67 => 12,  64 => 11,  62 => 10,  58 => 9,  54 => 8,  44 => 7,  41 => 6,  37 => 4,  35 => 3,  32 => 2,  30 => 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("", "OfficeBrainCustomBundleThemeBundle:IdmeTheme:CompareProduct/recentCompareProductRowLayout.html.twig", "/var/www/html/project/OfficeBrain/CustomBundle/ThemeBundle/Resources/views/IdmeTheme/CompareProduct/recentCompareProductRowLayout.html.twig");
    }
}
