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

/* Block/recommend_product_block.twig */
class __TwigTemplate_bfe318804411b1d4e4eff1ce3eedcbabd870934325db3f67c6cfa7bd50d01077 extends \Eccube\Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 9
        $context["recommend_products"] = twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('repository')->getCallable(), ["Plugin\\Recommend4\\Entity\\RecommendProduct"]), "getRecommendProduct", [], "any", false, false, false, 9);
        // line 10
        echo "
<!-- ▼recommend_product_list▼ -->
<div id=\"recommend_product_block\">
<div class=\"container\">
    <div class=\"row\">
        <div class=\"col-12 col-md-3\">
            <div class=\"ec-newItemRole__listItemHeading ec-secHeading--tandem\">
                <span class=\"ec-secHeading__en\">";
        // line 17
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("PRODUCTS"), "html", null, true);
        echo "</span>
                <span class=\"ec-secHeading__line\"></span>
                <span class=\"ec-secHeading__ja\">";
        // line 19
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品一覧"), "html", null, true);
        echo "</span>
                <a class=\"white_btn\" href=\"";
        // line 20
        echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_list");
        echo "\">";
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("more"), "html", null, true);
        echo "</a>
            </div>
        </div>

        <div class=\"col-12 col-md-9 row\">
            ";
        // line 25
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["recommend_products"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["RecommendProduct"]) {
            // line 26
            echo "                <div class=\"recommend_product col-xs-6 col-sm-4 col-md-3\">
                    <a href=\"";
            // line 27
            echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RecommendProduct"], "Product", [], "any", false, false, false, 27), "id", [], "any", false, false, false, 27)]), "html", null, true);
            echo "\">
                        <img src=\"";
            // line 28
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RecommendProduct"], "Product", [], "any", false, false, false, 28), "mainFileName", [], "any", false, false, false, 28)), "save_image"), "html", null, true);
            echo "\">
                        ";
            // line 30
            echo "                        <dl>
                            <dt class=\"item_name text-center\">";
            // line 31
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RecommendProduct"], "Product", [], "any", false, false, false, 31), "name", [], "any", false, false, false, 31), "html", null, true);
            echo "</dt>
                            ";
            // line 43
            echo "                        </dl>
                    </a>
                </div>
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['RecommendProduct'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 47
        echo "        </div>
    </div>
</div>
</div>
<!-- ▲recommend_product_list▲ -->";
    }

    public function getTemplateName()
    {
        return "Block/recommend_product_block.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  98 => 47,  89 => 43,  85 => 31,  82 => 30,  78 => 28,  74 => 27,  71 => 26,  67 => 25,  57 => 20,  53 => 19,  48 => 17,  39 => 10,  37 => 9,);
    }

    public function getSourceContext()
    {
        return new Source("", "Block/recommend_product_block.twig", "/home/probiotech2/www/mamebio/app/template/default/Block/recommend_product_block.twig");
    }
}
