var/cache/dev/twig/ac/accf98d13650d2e542eb5670b55525a9.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Product/list.twig */
  14. class __TwigTemplate_186e8d5452f3572b3c0cf8820639c5e3 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'breadcrumb' => [$this'block_breadcrumb'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  40.         // line 14
  41.         $context["body_class"] = "product_page";
  42.         // line 92
  43.         $context["category_id"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'92$this->source); })()), "request", [], "any"falsefalsefalse92), "query", [], "any"falsefalsefalse92), "get", [=> "category_id"], "method"falsefalsefalse92);
  44.         // line 94
  45.         $context["page_type_name"] = (((isset($context["category_id"]) || array_key_exists("category_id"$context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.'94$this->source); })())) ? (twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [=> (isset($context["category_id"]) || array_key_exists("category_id"$context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.'94$this->source); })())], "method"falsefalsefalse94)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'94$this->source); })()), "request", [], "any"falsefalsefalse94), "query", [], "any"falsefalsefalse94), "get", [=> "name"], "method"falsefalsefalse94)));
  46.         // line 11
  47.         $this->parent $this->loadTemplate("default_frame.twig""Product/list.twig"11);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 16
  55.     public function block_javascript($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  62.         // line 17
  63.         echo "\t<script>
  64. \t\teccube.productsClassCategories = {
  65. ";
  66.         // line 19
  67.         $context['_parent'] = $context;
  68.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'19$this->source); })()));
  69.         $context['loop'] = [
  70.           'parent' => $context['_parent'],
  71.           'index0' => 0,
  72.           'index'  => 1,
  73.           'first'  => true,
  74.         ];
  75.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  76.             $length count($context['_seq']);
  77.             $context['loop']['revindex0'] = $length 1;
  78.             $context['loop']['revindex'] = $length;
  79.             $context['loop']['length'] = $length;
  80.             $context['loop']['last'] = === $length;
  81.         }
  82.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  83.             // line 20
  84.             echo "\"";
  85.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse20), "js"), "html"nulltrue);
  86.             echo "\" : ";
  87.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  88.             echo "
  89. ";
  90.             // line 21
  91.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse21) == false)) {
  92.                 echo ",";
  93.             }
  94.             ++$context['loop']['index0'];
  95.             ++$context['loop']['index'];
  96.             $context['loop']['first'] = false;
  97.             if (isset($context['loop']['length'])) {
  98.                 --$context['loop']['revindex0'];
  99.                 --$context['loop']['revindex'];
  100.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  101.             }
  102.         }
  103.         $_parent $context['_parent'];
  104.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  105.         $context array_intersect_key($context$_parent) + $_parent;
  106.         // line 22
  107.         echo "};
  108. \$(function () { // 表示件数を変更
  109. \$('.disp-number').change(function () {
  110. var dispNumber = \$(this).val();
  111. \$('#disp_number').val(dispNumber);
  112. \$('#pageno').val(1);
  113. \$(\"#form1\").submit();
  114. });
  115. // 並び順を変更
  116. \$('.order-by').change(function () {
  117. var orderBy = \$(this).val();
  118. \$('#orderby').val(orderBy);
  119. \$('#pageno').val(1);
  120. \$(\"#form1\").submit();
  121. });
  122. \$('.add-cart').on('click', function (e) {
  123. var \$form = \$(this).parents('li').find('form');
  124. // 個数フォームのチェック
  125. var \$quantity = \$form.parent().find('.quantity');
  126. if (\$quantity.val() < 1) {
  127. \$quantity[0].setCustomValidity('";
  128.         // line 46
  129.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  130.         echo "');
  131. setTimeout(function () {
  132. loadingOverlay('hide');
  133. }, 100);
  134. return true;
  135. } else {
  136. \$quantity[0].setCustomValidity('');
  137. } e.preventDefault();
  138. \$.ajax({
  139. url: \$form.attr('action'),
  140. type: \$form.attr('method'),
  141. data: \$form.serialize(),
  142. dataType: 'json',
  143. beforeSend: function (xhr, settings) { // Buttonを無効にする
  144. \$('.add-cart').prop('disabled', true);
  145. }
  146. }).done(function (data) { // レスポンス内のメッセージをalertで表示
  147. \$.each(data.messages, function () {
  148. \$('#ec-modal-header').text(this);
  149. });
  150. \$('.ec-modal').show()
  151. // カートブロックを更新する
  152. \$.ajax({url: '";
  153.         // line 70
  154.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  155.         echo "', type: 'GET', dataType: 'html'}).done(function (html) {
  156. \$('.ec-headerRole__cart').html(html);
  157. });
  158. }).fail(function (data) {
  159. alert('";
  160.         // line 74
  161.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  162.         echo "');
  163. }).always(function (data) { // Buttonを有効にする
  164. \$('.add-cart').prop('disabled', false);
  165. });
  166. });
  167. });
  168. \$('.ec-modal-wrap').on('click', function (e) { // モーダル内の処理は外側にバブリングさせない
  169. e.stopPropagation();
  170. });
  171. \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function () {
  172. \$('.ec-modal').hide()
  173. });
  174. \t</script>
  175. ";
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.         
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  180.     }
  181.     // line 97
  182.     public function block_breadcrumb($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  189.         // line 98
  190.         echo "\t<div class=\"breadcrumb-root\">
  191. \t\t<div class=\"breadcrumb-wrapper container\">
  192. \t\t\t<ul>
  193. \t\t\t\t<li>
  194. \t\t\t\t\t<a href=\"";
  195.         // line 102
  196.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  197.         echo "\">
  198. \t\t\t\t\t\tトップ
  199. \t\t\t\t\t</a>
  200. \t\t\t\t\t<svg width=\"5\" height=\"8\" viewbox=\"0 0 5 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  201. \t\t\t\t\t\t<path d=\"M0.90918 1L3.63645 4L0.90918 7\" stroke=\"#1A1A1A\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  202. \t\t\t\t\t</svg>
  203. \t\t\t\t\t<span>
  204. \t\t\t\t\t\t";
  205.         // line 109
  206.         echo twig_escape_filter($this->env, (isset($context["page_type_name"]) || array_key_exists("page_type_name"$context) ? $context["page_type_name"] : (function () { throw new RuntimeError('Variable "page_type_name" does not exist.'109$this->source); })()), "html"nulltrue);
  207.         echo "
  208. \t\t\t\t\t</span>
  209. \t\t\t\t</li>
  210. \t\t\t</ul>
  211. \t\t</div>
  212. \t</div>
  213. ";
  214.         
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  216.         
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  218.     }
  219.     // line 117
  220.     public function block_main($context, array $blocks = [])
  221.     {
  222.         $macros $this->macros;
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  227.         // line 118
  228.         echo "\t<div class=\"xs-gutter\">
  229. \t\t<h2 class=\"product-list-page-title\">
  230. \t\t\t";
  231.         // line 120
  232.         echo twig_escape_filter($this->env, (isset($context["page_type_name"]) || array_key_exists("page_type_name"$context) ? $context["page_type_name"] : (function () { throw new RuntimeError('Variable "page_type_name" does not exist.'120$this->source); })()), "html"nulltrue);
  233.         echo "
  234. \t\t</h2>
  235. \t\t";
  236.         // line 122
  237.         if ((isset($context["category_id"]) || array_key_exists("category_id"$context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.'122$this->source); })())) {
  238.             // line 123
  239.             echo "\t\t\t<p class=\"product-list-page-description\">
  240. \t\t\t\t";
  241.             // line 124
  242.             echo twig_get_attribute($this->env$this->source, (isset($context["page_type_name"]) || array_key_exists("page_type_name"$context) ? $context["page_type_name"] : (function () { throw new RuntimeError('Variable "page_type_name" does not exist.'124$this->source); })()), "description", [], "any"falsefalsefalse124);
  243.             echo "
  244. \t\t\t</p>
  245. \t\t";
  246.         }
  247.         // line 127
  248.         echo "\t</div>
  249. \t";
  250.         // line 130
  251.         echo "\t<div class=\"d-lg-none mt-6\">
  252. \t\t<img src=\"";
  253.         // line 131
  254.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/sm-toujitu-banner2.png""user_data"), "html"nulltrue);
  255.         echo "\" alt=\"12時までのご注文で当日発送\" width=\"390\" height=\"auto\" class=\"w-100\"/>
  256. \t</div>
  257. \t";
  258.         // line 135
  259.         echo "\t<div
  260. \t\tclass=\"page-content-root mt-9 mt-md-15\">
  261. \t\t";
  262.         // line 138
  263.         echo "\t\t";
  264.         if ( !twig_test_empty((isset($context["category_id"]) || array_key_exists("category_id"$context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.'138$this->source); })()))) {
  265.             // line 139
  266.             echo "\t\t\t";
  267.             echo twig_include($this->env$context"Block/category_list_child.twig", ["category" =>             // line 140
  268. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'140$this->source); })())]);
  269.             echo "
  270. \t\t";
  271.         } else {
  272.             // line 142
  273.             echo "\t\t\t";
  274.             // line 143
  275.             echo "\t\t\t";
  276.             echo twig_include($this->env$context"Block/category_list.twig", ["label" => "カテゴリーから探す""href_label" => "すべてのカテゴリーを見る"]);
  277.             echo "
  278. \t\t";
  279.         }
  280.         // line 145
  281.         echo "\t\t<div>
  282. \t\t\t";
  283.         // line 146
  284.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'146$this->source); })()), "category_id", [], "any"falsefalsefalse146), "vars", [], "any"falsefalsefalse146), "errors", [], "any"falsefalsefalse146)) > 0)) {
  285.             // line 147
  286.             echo "\t\t\t\t<div class=\"ec-searchnavRole xs-gutter\">
  287. \t\t\t\t\t<p class=\"errormsg text-danger\">";
  288.             // line 148
  289.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  290.             echo "</p>
  291. \t\t\t\t</div>
  292. \t\t\t";
  293.         } else {
  294.             // line 151
  295.             echo "\t\t\t\t<div>
  296. \t\t\t\t\t<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  297. \t\t\t\t\t\t";
  298.             // line 153
  299.             $context['_parent'] = $context;
  300.             $context['_seq'] = twig_ensure_traversable((isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'153$this->source); })()));
  301.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  302.                 // line 154
  303.                 echo "\t\t\t\t\t\t\t<input type=\"hidden\" id=\"";
  304.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse154), "id", [], "any"falsefalsefalse154), "html"nulltrue);
  305.                 echo "\" name=\"";
  306.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse154), "full_name", [], "any"falsefalsefalse154), "html"nulltrue);
  307.                 echo "\" ";
  308.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse154), "value", [], "any"falsefalsefalse154))) {
  309.                     echo " value=\"";
  310.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse154), "value", [], "any"falsefalsefalse154), "html"nulltrue);
  311.                     echo "\" ";
  312.                 }
  313.                 echo "/>
  314. \t\t\t\t\t\t";
  315.             }
  316.             $_parent $context['_parent'];
  317.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  318.             $context array_intersect_key($context$_parent) + $_parent;
  319.             // line 156
  320.             echo "\t\t\t\t\t</form>
  321. \t\t\t\t\t";
  322.             // line 159
  323.             echo "\t\t\t\t\t<div>
  324. \t\t\t\t\t\t<h2 class=\"section-heading mb-4 xs-gutter\">";
  325.             // line 160
  326.             echo twig_escape_filter($this->env, (isset($context["page_type_name"]) || array_key_exists("page_type_name"$context) ? $context["page_type_name"] : (function () { throw new RuntimeError('Variable "page_type_name" does not exist.'160$this->source); })()), "html"nulltrue);
  327.             echo "商品一覧</h2>
  328. \t\t\t\t\t\t<div class=\"product-list-page-list-header\">
  329. \t\t\t\t\t\t\t<div>
  330. \t\t\t\t\t\t\t\t検索結果
  331. \t\t\t\t\t\t\t\t";
  332.             // line 164
  333.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'164$this->source); })()), "category_id", [], "any"falsefalsefalse164), "vars", [], "any"falsefalsefalse164), "errors", [], "any"falsefalsefalse164)) > 0)) {
  334.                 // line 165
  335.                 echo "\t\t\t\t\t\t\t\t\t<span class=\"product-list-page-list-header-label\">0</span>
  336. \t\t\t\t\t\t\t\t";
  337.             } else {
  338.                 // line 167
  339.                 echo "\t\t\t\t\t\t\t\t\t<span class=\"product-list-page-list-header-label\">";
  340.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'167$this->source); })()), "totalItemCount", [], "any"falsefalsefalse167), "html"nulltrue);
  341.                 echo "</span>
  342. \t\t\t\t\t\t\t\t";
  343.             }
  344.             // line 169
  345.             echo "\t\t\t\t\t\t\t\t件
  346. \t\t\t\t\t\t\t</div>
  347. \t\t\t\t\t\t\t";
  348.             // line 171
  349.             if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'171$this->source); })()), "totalItemCount", [], "any"falsefalsefalse171) > 0)) {
  350.                 // line 172
  351.                 echo "\t\t\t\t\t\t\t\t<div class=\"ec-select-custom\">
  352. \t\t\t\t\t\t\t\t\t";
  353.                 // line 173
  354.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'173$this->source); })()), "disp_number", [], "any"falsefalsefalse173), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  355.                 echo "
  356. \t\t\t\t\t\t\t\t\t";
  357.                 // line 174
  358.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'174$this->source); })()), "orderby", [], "any"falsefalsefalse174), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  359.                 echo "
  360. \t\t\t\t\t\t\t\t</div>
  361. \t\t\t\t\t\t\t";
  362.             }
  363.             // line 177
  364.             echo "\t\t\t\t\t\t</div>
  365. \t\t\t\t\t</div>
  366. \t\t\t\t</div>
  367. \t\t\t\t";
  368.             // line 180
  369.             if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'180$this->source); })()), "totalItemCount", [], "any"falsefalsefalse180) > 0)) {
  370.                 // line 181
  371.                 echo "\t\t\t\t\t<div class=\"product-list-page-products-container\">
  372. \t\t\t\t\t\t";
  373.                 // line 182
  374.                 $context['_parent'] = $context;
  375.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'182$this->source); })()));
  376.                 $context['loop'] = [
  377.                   'parent' => $context['_parent'],
  378.                   'index0' => 0,
  379.                   'index'  => 1,
  380.                   'first'  => true,
  381.                 ];
  382.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  383.                     $length count($context['_seq']);
  384.                     $context['loop']['revindex0'] = $length 1;
  385.                     $context['loop']['revindex'] = $length;
  386.                     $context['loop']['length'] = $length;
  387.                     $context['loop']['last'] = === $length;
  388.                 }
  389.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  390.                     // line 183
  391.                     echo "\t\t\t\t\t\t\t<a href=\"";
  392.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse183)]), "html"nulltrue);
  393.                     echo "\" class=\"product-list-page-products-item\">
  394. \t\t\t\t\t\t\t\t<div class=\"product-list-page-products-item__image\">
  395. \t\t\t\t\t\t\t\t\t<img src=\"";
  396.                     // line 185
  397.                     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$context["Product"], "main_list_image", [], "any"falsefalsefalse185)), "save_image"), "html"nulltrue);
  398.                     echo "\" alt=\"";
  399.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse185), "html"nulltrue);
  400.                     echo "\" ";
  401.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse185) > 5)) {
  402.                         echo " loading=\"lazy\" ";
  403.                     }
  404.                     echo ">
  405. \t\t\t\t\t\t\t\t</div>
  406. \t\t\t\t\t\t\t\t<div class=\"flex-1\">
  407. \t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item__name\">";
  408.                     // line 188
  409.                     echo twig_escape_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse188)), "html"nulltrue);
  410.                     echo "</p>
  411. \t\t\t\t\t\t\t\t\t";
  412.                     // line 189
  413.                     if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse189)) {
  414.                         // line 190
  415.                         echo "\t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item__description_list\">";
  416.                         echo twig_escape_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse190)), "html"nulltrue);
  417.                         echo "</p>
  418. \t\t\t\t\t\t\t\t\t";
  419.                     }
  420.                     // line 193
  421.                     echo "\t\t\t\t\t\t\t\t\t<div class=\"product-list-page-products-item-price\">
  422. \t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item-price__number \">
  423. \t\t\t\t\t\t\t\t\t\t\t";
  424.                     // line 195
  425.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse195)) {
  426.                         // line 196
  427.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  428.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsefalse196) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsefalse196))) {
  429.                             // line 197
  430.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  431.                             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse197)), "html"nulltrue);
  432.                             echo "
  433. \t\t\t\t\t\t\t\t\t\t\t\t";
  434.                         } else {
  435.                             // line 199
  436.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  437.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse199)), "html"nulltrue);
  438.                             echo "
  439. \t\t\t\t\t\t\t\t\t\t\t\t\t~
  440. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  441.                             // line 201
  442.                             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse201)), "html"nulltrue);
  443.                             echo "
  444. \t\t\t\t\t\t\t\t\t\t\t\t";
  445.                         }
  446.                         // line 203
  447.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  448.                     } else {
  449.                         // line 204
  450.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  451.                         echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse204)), "html"nulltrue);
  452.                         echo "
  453. \t\t\t\t\t\t\t\t\t\t\t";
  454.                     }
  455.                     // line 206
  456.                     echo "\t\t\t\t\t\t\t\t\t\t</p>
  457. \t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item-price__yen\">
  458. \t\t\t\t\t\t\t\t\t\t\t円
  459. \t\t\t\t\t\t\t\t\t\t</p>
  460. \t\t\t\t\t\t\t\t\t\t";
  461.                     // line 211
  462.                     echo "\t\t\t\t\t\t\t\t\t\t";
  463.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse211) > twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'211$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse211))) {
  464.                         // line 212
  465.                         echo "\t\t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item-price__freeship\">
  466. \t\t\t\t\t\t\t\t\t\t\t\t送料無料
  467. \t\t\t\t\t\t\t\t\t\t\t</p>
  468. \t\t\t\t\t\t\t\t\t\t";
  469.                     }
  470.                     // line 216
  471.                     echo "\t\t\t\t\t\t\t\t\t</div>
  472. \t\t\t\t\t\t\t\t</div>
  473. \t\t\t\t\t\t\t</a>
  474. \t\t\t\t\t\t";
  475.                     ++$context['loop']['index0'];
  476.                     ++$context['loop']['index'];
  477.                     $context['loop']['first'] = false;
  478.                     if (isset($context['loop']['length'])) {
  479.                         --$context['loop']['revindex0'];
  480.                         --$context['loop']['revindex'];
  481.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  482.                     }
  483.                 }
  484.                 $_parent $context['_parent'];
  485.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  486.                 $context array_intersect_key($context$_parent) + $_parent;
  487.                 // line 220
  488.                 echo "\t\t\t\t\t</div>
  489. \t\t\t\t\t<div class=\"ec-pagerRole mt-7 mt-lg-10\">
  490. \t\t\t\t\t\t";
  491.                 // line 223
  492.                 $this->loadTemplate("Block/pager.twig""Product/list.twig"223)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'223$this->source); })()), "paginationData", [], "any"falsefalsefalse223)]));
  493.                 // line 224
  494.                 echo "\t\t\t\t\t</div>
  495. \t\t\t\t";
  496.             } else {
  497.                 // line 226
  498.                 echo "\t\t\t\t\t<div class=\"ec-searchnavRole xs-gutter\">
  499. \t\t\t\t\t\t<p class=\"errormsg text-danger mt-4\">";
  500.                 // line 227
  501.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("検索条件に該当する商品はありませんでした。"), "html"nulltrue);
  502.                 echo "</p>
  503. \t\t\t\t\t</div>
  504. \t\t\t\t";
  505.             }
  506.             // line 230
  507.             echo "\t\t\t";
  508.         }
  509.         // line 231
  510.         echo "\t\t</div>
  511. \t\t";
  512.         // line 234
  513.         echo "\t\t<div class=\"d-none d-md-block\">
  514. \t\t\t";
  515.         // line 235
  516.         echo twig_include($this->env$context"Block/large-banners.twig");
  517.         echo "
  518. \t\t</div>
  519. \t\t";
  520.         // line 238
  521.         echo "\t\t";
  522.         echo twig_include($this->env$context"Block/recommend_list.twig", ["label" => "おすすめ当店在庫品""category_id" => 32]);
  523.         echo "
  524. \t\t";
  525.         // line 240
  526.         echo "\t\t<div class=\"d-none d-md-block\">
  527. \t\t\t";
  528.         // line 241
  529.         echo twig_include($this->env$context"Block/makers.twig");
  530.         echo "
  531. \t\t</div>
  532. \t\t<div class=\"d-md-none\">
  533. \t\t\t";
  534.         // line 245
  535.         echo twig_include($this->env$context"Block/large-banners.twig");
  536.         echo "
  537. \t\t</div>
  538. \t</div>
  539. ";
  540.         
  541.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  542.         
  543.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  544.     }
  545.     public function getTemplateName()
  546.     {
  547.         return "Product/list.twig";
  548.     }
  549.     public function isTraitable()
  550.     {
  551.         return false;
  552.     }
  553.     public function getDebugInfo()
  554.     {
  555.         return array (  573 => 245,  566 => 241,  563 => 240,  558 => 238,  553 => 235,  550 => 234,  546 => 231,  543 => 230,  537 => 227,  534 => 226,  530 => 224,  528 => 223,  523 => 220,  506 => 216,  500 => 212,  497 => 211,  491 => 206,  485 => 204,  482 => 203,  477 => 201,  471 => 199,  465 => 197,  462 => 196,  460 => 195,  456 => 193,  449 => 190,  447 => 189,  443 => 188,  431 => 185,  425 => 183,  408 => 182,  405 => 181,  403 => 180,  398 => 177,  392 => 174,  388 => 173,  385 => 172,  383 => 171,  379 => 169,  373 => 167,  369 => 165,  367 => 164,  360 => 160,  357 => 159,  353 => 156,  336 => 154,  332 => 153,  328 => 151,  322 => 148,  319 => 147,  317 => 146,  314 => 145,  308 => 143,  306 => 142,  301 => 140,  299 => 139,  296 => 138,  292 => 135,  286 => 131,  283 => 130,  279 => 127,  273 => 124,  270 => 123,  268 => 122,  263 => 120,  259 => 118,  249 => 117,  232 => 109,  222 => 102,  216 => 98,  206 => 97,  181 => 74,  174 => 70,  147 => 46,  121 => 22,  105 => 21,  98 => 20,  81 => 19,  77 => 17,  67 => 16,  56 => 11,  54 => 94,  52 => 92,  50 => 14,  37 => 11,);
  556.     }
  557.     public function getSourceContext()
  558.     {
  559.         return new Source("{#
  560. This file is part of EC-CUBE
  561. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  562. http://www.ec-cube.co.jp/
  563. For the full copyright and license information, please view the LICENSE
  564. file that was distributed with this source code.
  565. #}
  566. {% extends 'default_frame.twig' %}
  567. {% set body_class = 'product_page' %}
  568. {% block javascript %}
  569. \t<script>
  570. \t\teccube.productsClassCategories = {
  571. {% for Product in pagination %}
  572. \"{{ Product.id|escape('js') }}\" : {{ class_categories_as_json(Product)|raw }}
  573. {% if loop.last == false %},{% endif %}{% endfor %}
  574. };
  575. \$(function () { // 表示件数を変更
  576. \$('.disp-number').change(function () {
  577. var dispNumber = \$(this).val();
  578. \$('#disp_number').val(dispNumber);
  579. \$('#pageno').val(1);
  580. \$(\"#form1\").submit();
  581. });
  582. // 並び順を変更
  583. \$('.order-by').change(function () {
  584. var orderBy = \$(this).val();
  585. \$('#orderby').val(orderBy);
  586. \$('#pageno').val(1);
  587. \$(\"#form1\").submit();
  588. });
  589. \$('.add-cart').on('click', function (e) {
  590. var \$form = \$(this).parents('li').find('form');
  591. // 個数フォームのチェック
  592. var \$quantity = \$form.parent().find('.quantity');
  593. if (\$quantity.val() < 1) {
  594. \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  595. setTimeout(function () {
  596. loadingOverlay('hide');
  597. }, 100);
  598. return true;
  599. } else {
  600. \$quantity[0].setCustomValidity('');
  601. } e.preventDefault();
  602. \$.ajax({
  603. url: \$form.attr('action'),
  604. type: \$form.attr('method'),
  605. data: \$form.serialize(),
  606. dataType: 'json',
  607. beforeSend: function (xhr, settings) { // Buttonを無効にする
  608. \$('.add-cart').prop('disabled', true);
  609. }
  610. }).done(function (data) { // レスポンス内のメッセージをalertで表示
  611. \$.each(data.messages, function () {
  612. \$('#ec-modal-header').text(this);
  613. });
  614. \$('.ec-modal').show()
  615. // カートブロックを更新する
  616. \$.ajax({url: '{{ url('block_cart') }}', type: 'GET', dataType: 'html'}).done(function (html) {
  617. \$('.ec-headerRole__cart').html(html);
  618. });
  619. }).fail(function (data) {
  620. alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  621. }).always(function (data) { // Buttonを有効にする
  622. \$('.add-cart').prop('disabled', false);
  623. });
  624. });
  625. });
  626. \$('.ec-modal-wrap').on('click', function (e) { // モーダル内の処理は外側にバブリングさせない
  627. e.stopPropagation();
  628. });
  629. \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function () {
  630. \$('.ec-modal').hide()
  631. });
  632. \t</script>
  633. {% endblock %}
  634. {# カテゴリページ #}
  635. {% set category_id = app.request.query.get('category_id') %}
  636. {# カテゴリまたは検索クエリ #}
  637. {% set page_type_name = category_id ? repository('Eccube\\\\Entity\\\\Category').find(category_id) : app.request.query.get('name')  %}
  638. {% block breadcrumb %}
  639. \t<div class=\"breadcrumb-root\">
  640. \t\t<div class=\"breadcrumb-wrapper container\">
  641. \t\t\t<ul>
  642. \t\t\t\t<li>
  643. \t\t\t\t\t<a href=\"{{ url('homepage') }}\">
  644. \t\t\t\t\t\tトップ
  645. \t\t\t\t\t</a>
  646. \t\t\t\t\t<svg width=\"5\" height=\"8\" viewbox=\"0 0 5 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  647. \t\t\t\t\t\t<path d=\"M0.90918 1L3.63645 4L0.90918 7\" stroke=\"#1A1A1A\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  648. \t\t\t\t\t</svg>
  649. \t\t\t\t\t<span>
  650. \t\t\t\t\t\t{{ page_type_name }}
  651. \t\t\t\t\t</span>
  652. \t\t\t\t</li>
  653. \t\t\t</ul>
  654. \t\t</div>
  655. \t</div>
  656. {% endblock %}
  657. {% block main %}
  658. \t<div class=\"xs-gutter\">
  659. \t\t<h2 class=\"product-list-page-title\">
  660. \t\t\t{{ page_type_name }}
  661. \t\t</h2>
  662. \t\t{% if category_id  %}
  663. \t\t\t<p class=\"product-list-page-description\">
  664. \t\t\t\t{{ page_type_name.description|raw }}
  665. \t\t\t</p>
  666. \t\t{% endif %}
  667. \t</div>
  668. \t{# SP用バナー #}
  669. \t<div class=\"d-lg-none mt-6\">
  670. \t\t<img src=\"{{ asset('assets/img/sm-toujitu-banner2.png','user_data') }}\" alt=\"12時までのご注文で当日発送\" width=\"390\" height=\"auto\" class=\"w-100\"/>
  671. \t</div>
  672. \t{# コンテンツ #}
  673. \t<div
  674. \t\tclass=\"page-content-root mt-9 mt-md-15\">
  675. \t\t{# カテゴリページなら子カテゴリ用のテンプレートを読み込む - カテゴリページならばcategory_idがURLに含まれている #}
  676. \t\t{% if category_id is not empty %}
  677. \t\t\t{{ include('Block/category_list_child.twig', {
  678.             category: Category}) }}
  679. \t\t{% else %}
  680. \t\t\t{# 検索結果ページの場合はデフォルトのカテゴリリストを表示 #}
  681. \t\t\t{{ include('Block/category_list.twig', {label: 'カテゴリーから探す', href_label: 'すべてのカテゴリーを見る'}) }}
  682. \t\t{% endif %}
  683. \t\t<div>
  684. \t\t\t{% if search_form.category_id.vars.errors|length > 0 %}
  685. \t\t\t\t<div class=\"ec-searchnavRole xs-gutter\">
  686. \t\t\t\t\t<p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  687. \t\t\t\t</div>
  688. \t\t\t{% else %}
  689. \t\t\t\t<div>
  690. \t\t\t\t\t<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  691. \t\t\t\t\t\t{% for item in search_form %}
  692. \t\t\t\t\t\t\t<input type=\"hidden\" id=\"{{ item.vars.id }}\" name=\"{{ item.vars.full_name }}\" {% if item.vars.value is not empty %} value=\"{{ item.vars.value }}\" {% endif %}/>
  693. \t\t\t\t\t\t{% endfor %}
  694. \t\t\t\t\t</form>
  695. \t\t\t\t\t{# 商品一覧のタイトルと件数とSelect #}
  696. \t\t\t\t\t<div>
  697. \t\t\t\t\t\t<h2 class=\"section-heading mb-4 xs-gutter\">{{ page_type_name }}商品一覧</h2>
  698. \t\t\t\t\t\t<div class=\"product-list-page-list-header\">
  699. \t\t\t\t\t\t\t<div>
  700. \t\t\t\t\t\t\t\t検索結果
  701. \t\t\t\t\t\t\t\t{% if search_form.category_id.vars.errors|length > 0 %}
  702. \t\t\t\t\t\t\t\t\t<span class=\"product-list-page-list-header-label\">0</span>
  703. \t\t\t\t\t\t\t\t{% else %}
  704. \t\t\t\t\t\t\t\t\t<span class=\"product-list-page-list-header-label\">{{ pagination.totalItemCount }}</span>
  705. \t\t\t\t\t\t\t\t{% endif %}
  706. \t\t\t\t\t\t\t\t件
  707. \t\t\t\t\t\t\t</div>
  708. \t\t\t\t\t\t\t{% if pagination.totalItemCount > 0 %}
  709. \t\t\t\t\t\t\t\t<div class=\"ec-select-custom\">
  710. \t\t\t\t\t\t\t\t\t{{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  711. \t\t\t\t\t\t\t\t\t{{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }}
  712. \t\t\t\t\t\t\t\t</div>
  713. \t\t\t\t\t\t\t{% endif %}
  714. \t\t\t\t\t\t</div>
  715. \t\t\t\t\t</div>
  716. \t\t\t\t</div>
  717. \t\t\t\t{% if pagination.totalItemCount > 0 %}
  718. \t\t\t\t\t<div class=\"product-list-page-products-container\">
  719. \t\t\t\t\t\t{% for Product in pagination %}
  720. \t\t\t\t\t\t\t<a href=\"{{ url('product_detail', {'id': Product.id}) }}\" class=\"product-list-page-products-item\">
  721. \t\t\t\t\t\t\t\t<div class=\"product-list-page-products-item__image\">
  722. \t\t\t\t\t\t\t\t\t<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\" {% endif %}>
  723. \t\t\t\t\t\t\t\t</div>
  724. \t\t\t\t\t\t\t\t<div class=\"flex-1\">
  725. \t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item__name\">{{  Product.name|striptags  }}</p>
  726. \t\t\t\t\t\t\t\t\t{% if Product.description_list %}
  727. \t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item__description_list\">{{ Product.description_list|striptags }}</p>
  728. \t\t\t\t\t\t\t\t\t{% endif %}
  729. \t\t\t\t\t\t\t\t\t<div class=\"product-list-page-products-item-price\">
  730. \t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item-price__number \">
  731. \t\t\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
  732. \t\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice02Min == Product.getPrice02Max %}
  733. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMin|number_format }}
  734. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  735. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMin|price }}
  736. \t\t\t\t\t\t\t\t\t\t\t\t\t~
  737. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMax|number_format }}
  738. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  739. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  740. \t\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMin|number_format }}
  741. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  742. \t\t\t\t\t\t\t\t\t\t</p>
  743. \t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item-price__yen\">
  744. \t\t\t\t\t\t\t\t\t\t\t円
  745. \t\t\t\t\t\t\t\t\t\t</p>
  746. \t\t\t\t\t\t\t\t\t\t{# 送料無料条件よりも商品価格が上だったら表示 9,800 #}
  747. \t\t\t\t\t\t\t\t\t\t{% if Product.getPrice02IncTaxMin > BaseInfo.delivery_free_amount  %}
  748. \t\t\t\t\t\t\t\t\t\t\t<p class=\"product-list-page-products-item-price__freeship\">
  749. \t\t\t\t\t\t\t\t\t\t\t\t送料無料
  750. \t\t\t\t\t\t\t\t\t\t\t</p>
  751. \t\t\t\t\t\t\t\t\t\t{% endif %}
  752. \t\t\t\t\t\t\t\t\t</div>
  753. \t\t\t\t\t\t\t\t</div>
  754. \t\t\t\t\t\t\t</a>
  755. \t\t\t\t\t\t{% endfor %}
  756. \t\t\t\t\t</div>
  757. \t\t\t\t\t<div class=\"ec-pagerRole mt-7 mt-lg-10\">
  758. \t\t\t\t\t\t{% include \"Block/pager.twig\" with {'pages': pagination.paginationData} %}
  759. \t\t\t\t\t</div>
  760. \t\t\t\t{% else %}
  761. \t\t\t\t\t<div class=\"ec-searchnavRole xs-gutter\">
  762. \t\t\t\t\t\t<p class=\"errormsg text-danger mt-4\">{{ '検索条件に該当する商品はありませんでした。'|trans }}</p>
  763. \t\t\t\t\t</div>
  764. \t\t\t\t{% endif %}
  765. \t\t\t{% endif %}
  766. \t\t</div>
  767. \t\t{# 当日発送・送料無料 PC only #}
  768. \t\t<div class=\"d-none d-md-block\">
  769. \t\t\t{{ include('Block/large-banners.twig') }}
  770. \t\t</div>
  771. \t\t{# おすすめ当店在庫品 #}
  772. \t\t{{ include('Block/recommend_list.twig', {label: 'おすすめ当店在庫品', category_id: 32}) }}
  773. \t\t{# 取り扱いメーカー #}
  774. \t\t<div class=\"d-none d-md-block\">
  775. \t\t\t{{ include('Block/makers.twig') }}
  776. \t\t</div>
  777. \t\t<div class=\"d-md-none\">
  778. \t\t\t{{ include('Block/large-banners.twig') }}
  779. \t\t</div>
  780. \t</div>
  781. {% endblock %}
  782. ""Product/list.twig""/home/xs804421/stg.denzai-bluewood.com/public_html/app/template/default/Product/list.twig");
  783.     }
  784. }