var/cache/dev/twig/9c/9c0a4d29a71066ff3e3bef2a330da48d8927de414242a567712fa764c7952573.php line 52

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. /* @user_data/tel_service_product.twig */
  14. class __TwigTemplate_91572b0b80a6c6ef26fc1ba3610e27a3ae485679f53d8638319a384bdf802e3f 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.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/tel_service_product.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/tel_service_product.twig"));
  39.         // line 3
  40.         $context["body_class"] = "product_page";
  41.         // line 1
  42.         $this->parent $this->loadTemplate("default_frame.twig""@user_data/tel_service_product.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 5
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 6
  58.         echo "    <script>
  59.         (function(d) {
  60.             var config = {
  61.             kitId: 'pki8bzh',
  62.             scriptTimeout: 3000,
  63.             async: true
  64.             },
  65.             h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\\bwf-loading\\b/g,\"\")+\" wf-inactive\";},config.scriptTimeout),tk=d.createElement(\"script\"),f=false,s=d.getElementsByTagName(\"script\")[0],a;h.className+=\" wf-loading\";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!=\"complete\"&&a!=\"loaded\")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
  66.         })(document);
  67.     </script>
  68.     
  69.     <script>
  70.         eccube.productsClassCategories = {
  71.             ";
  72.         // line 19
  73.         $context['_parent'] = $context;
  74.         $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); })()));
  75.         $context['loop'] = [
  76.           'parent' => $context['_parent'],
  77.           'index0' => 0,
  78.           'index'  => 1,
  79.           'first'  => true,
  80.         ];
  81.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  82.             $length count($context['_seq']);
  83.             $context['loop']['revindex0'] = $length 1;
  84.             $context['loop']['revindex'] = $length;
  85.             $context['loop']['length'] = $length;
  86.             $context['loop']['last'] = === $length;
  87.         }
  88.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  89.             // line 20
  90.             echo "            \"";
  91.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse20), "js"), "html"nulltrue);
  92.             echo "\": ";
  93.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  94.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse20) == false)) {
  95.                 echo ", ";
  96.             }
  97.             // line 21
  98.             echo "            ";
  99.             ++$context['loop']['index0'];
  100.             ++$context['loop']['index'];
  101.             $context['loop']['first'] = false;
  102.             if (isset($context['loop']['length'])) {
  103.                 --$context['loop']['revindex0'];
  104.                 --$context['loop']['revindex'];
  105.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  106.             }
  107.         }
  108.         $_parent $context['_parent'];
  109.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  110.         $context array_intersect_key($context$_parent) + $_parent;
  111.         // line 22
  112.         echo "        };
  113.         \$(function() {
  114.             // 検索条件を追加
  115.             \$('.btn-condition').click(function() {
  116.                 \$('#active_idx').val(\$(this).index());
  117.             });
  118.             \$('.form-check-input').change(function() {
  119.                 \$(\"#form1\").submit();
  120.             });
  121.             // 表示件数を変更
  122.             \$('.disp-number').change(function() {
  123.                 var dispNumber = \$(this).val();
  124.                 \$('#disp_number').val(dispNumber);
  125.                 \$('#pageno').val(1);
  126.                 \$(\"#form1\").submit();
  127.             });
  128.             // 並び順を変更
  129.             \$('.order-by').change(function() {
  130.                 var orderBy = \$(this).val();
  131.                 \$('#orderby').val(orderBy);
  132.                 \$('#pageno').val(1);
  133.                 \$(\"#form1\").submit();
  134.             });
  135.             \$('.add-cart').on('click', function(e) {
  136.                 var \$form = \$(this).parents('li').find('form');
  137.                 // 規格1フォームの必須チェック
  138.                 var \$form_select = \$form.parent().find('.form-select');
  139.                 if (\$form_select.val() == '__unselected' || \$form_select.val() == '') {
  140.                     \$form_select[0].setCustomValidity('";
  141.         // line 55
  142.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  143.         echo "');
  144.                     setTimeout(function() {
  145.                         loadingOverlay('hide');
  146.                     }, 100);
  147.                     return true;
  148.                 } else {
  149.                     \$form_select[0].setCustomValidity('');
  150.                 }
  151.                 // 個数フォームのチェック
  152.                 var \$quantity = \$form.parent().find('.quantity');
  153.                 if (\$quantity.val() < 1) {
  154.                     \$quantity[0].setCustomValidity('";
  155.         // line 67
  156.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  157.         echo "');
  158.                     setTimeout(function() {
  159.                         loadingOverlay('hide');
  160.                     }, 100);
  161.                     return true;
  162.                 } else {
  163.                     \$quantity[0].setCustomValidity('');
  164.                 }
  165.                 e.preventDefault();
  166.                 \$.ajax({
  167.                     url: \$form.attr('action'),
  168.                     type: \$form.attr('method'),
  169.                     data: \$form.serialize(),
  170.                     dataType: 'json',
  171.                     beforeSend: function(xhr, settings) {
  172.                         // Buttonを無効にする
  173.                         \$('.add-cart').prop('disabled', true);
  174.                     }
  175.                 }).done(function(data) {
  176.                     // レスポンス内のメッセージをalertで表示
  177.                     \$.each(data.messages, function() {
  178.                         \$('#ec-modal-header').text(this);
  179.                     });
  180.                     \$('.ec-modal').show()
  181.                     // カートブロックを更新する
  182.                     \$.ajax({
  183.                         url: '";
  184.         // line 95
  185.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  186.         echo "',
  187.                         type: 'GET',
  188.                         dataType: 'html'
  189.                     }).done(function(html) {
  190.                         \$('.ec-headerRole__cart').html(html);
  191.                     });
  192.                 }).fail(function(data) {
  193.                     alert('";
  194.         // line 102
  195.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  196.         echo "');
  197.                 }).always(function(data) {
  198.                     // Buttonを有効にする
  199.                     \$('.add-cart').prop('disabled', false);
  200.                 });
  201.             });
  202.             \$('.favorite').click(function(event) {
  203.                 if (\$(this).attr('disabled') != 'disabled') {
  204.                     \$(this).closest('li.product').find('.list-add-favorite').submit();
  205.                 }
  206.             });
  207.         });
  208.         \$('.ec-modal-wrap').on('click', function(e) {
  209.             // モーダル内の処理は外側にバブリングさせない
  210.             e.stopPropagation();
  211.         });
  212.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  213.             \$('.ec-modal').hide()
  214.         });
  215.     </script>
  216.     <script>
  217.         \$(document).ready(function(){
  218.             \$(\".left .list-btn .btn-condition\").eq(\$('#active_idx').val()).addClass('active');
  219.             \$(\".right .item\").eq(\$('#active_idx').val()).addClass('active');
  220.             \$(\".left .list-btn .btn-condition\").click(function(e){
  221.                 if (!\$(this).hasClass(\"active\")) {
  222.                     var tabNum = \$(this).index();
  223.                     var nthChild = tabNum+1;
  224.                     \$(\".left .list-btn .btn-condition.active\").removeClass(\"active\");
  225.                     \$(this).addClass(\"active\");
  226.                     \$(\".right .item.active\").removeClass(\"active\");
  227.                     \$(\".right .item:nth-child(\"+nthChild+\")\").addClass(\"active\");
  228.                 }
  229.             });
  230.             \$(\".reset\").click(function(e){
  231.                 \$(\".right .item input[type='checkbox']:checked\").prop('checked', false);
  232.                 \$(\"#form1\").submit();
  233.             });
  234.         });
  235.     </script>
  236. ";
  237.         
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  239.         
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  241.     }
  242.     // line 149
  243.     public function block_main($context, array $blocks = [])
  244.     {
  245.         $macros $this->macros;
  246.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  250.         // line 150
  251.         echo "    <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  252.         ";
  253.         // line 151
  254.         $context['_parent'] = $context;
  255.         $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.'151$this->source); })()));
  256.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  257.             // line 152
  258.             echo "            ";
  259.             if ( !twig_test_iterable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse152), "value", [], "any"falsefalsefalse152))) {
  260.                 // line 153
  261.                 echo "                <input type=\"hidden\" id=\"";
  262.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse153), "id", [], "any"falsefalsefalse153), "html"nulltrue);
  263.                 echo "\"
  264.                 name=\"";
  265.                 // line 154
  266.                 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);
  267.                 echo "\"
  268.                 ";
  269.                 // line 155
  270.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse155), "value", [], "any"falsefalsefalse155))) {
  271.                     echo "value=\"";
  272.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse155), "value", [], "any"falsefalsefalse155), "html"nulltrue);
  273.                     echo "\" ";
  274.                 }
  275.                 echo "/>
  276.             ";
  277.             }
  278.             // line 157
  279.             echo "        ";
  280.         }
  281.         $_parent $context['_parent'];
  282.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  283.         $context array_intersect_key($context$_parent) + $_parent;
  284.         // line 158
  285.         echo "    </form>
  286.     <div class=\"ec-featured-product-page\">
  287.         <div class=\"ec-banner\">
  288.             <div class=\"ec-banner__inner\">
  289.                 <div class=\"inner\">
  290.                     <h2>
  291.                         電話完結型サービス
  292.                     </h2>
  293.                 </div>
  294.             </div>
  295.             <div class=\"ec-breadcrumb\">
  296.                 <ul class=\"ec-breadcrumb__menu\">
  297.                     <li class=\"ec-breadcrumb__item\"><a href=\"";
  298.         // line 171
  299.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  300.         echo "\">TOP</a></li>
  301.                     <li class=\"ec-breadcrumb__item\"><span>></span></li>
  302.                     <li class=\"ec-breadcrumb__item\"><p>電話完結型サービス</p></li>
  303.                 </ul>
  304.             </div>
  305.         </div>
  306.         <div class=\"ec-product-main\">
  307.             <div class=\"ec-product__inner\">
  308.                 <div class=\"inner\">
  309.                     ";
  310.         // line 189
  311.         echo "                    <div class=\"ec-reCommended\">
  312.                         <div class=\"message\">
  313.                             <div class=\"group\">
  314.                                 <img src=\"";
  315.         // line 192
  316.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/kuma-student.png"), "html"nulltrue);
  317.         echo "\" alt=\"\">
  318.                             </div>
  319.                             <div class=\"mess\">
  320.                                 <p>ネット購入が苦手・心配な方でも安心!<br />
  321.                                 下記の商品はお電話での購入が可能です。お気軽にお問い合わせください!</p>
  322.                             </div>
  323.                         </div>
  324.                     </div>
  325.                     ";
  326.         // line 201
  327.         echo "                    ";
  328.         $context["is_first"] = true;
  329.         // line 202
  330.         echo "                    ";
  331.         $context['_parent'] = $context;
  332.         $context['_seq'] = twig_ensure_traversable((isset($context["recommendCats"]) || array_key_exists("recommendCats"$context) ? $context["recommendCats"] : (function () { throw new RuntimeError('Variable "recommendCats" does not exist.'202$this->source); })()));
  333.         foreach ($context['_seq'] as $context["_key"] => $context["recommendCatId"]) {
  334.             // line 203
  335.             echo "
  336.                         ";
  337.             // line 204
  338.             if (($context["recommendCatId"] == 30)) {
  339.                 // line 205
  340.                 echo "                            ";
  341.                 if (((isset($context["is_first"]) || array_key_exists("is_first"$context) ? $context["is_first"] : (function () { throw new RuntimeError('Variable "is_first" does not exist.'205$this->source); })()) == true)) {
  342.                     // line 206
  343.                     echo "                            ";
  344.                     $context["is_first"] = false;
  345.                     // line 207
  346.                     echo "                            <div class=\"ec-product__group first\">
  347.                             ";
  348.                 } else {
  349.                     // line 209
  350.                     echo "                            <div class=\"ec-product__group\">
  351.                             ";
  352.                 }
  353.                 // line 211
  354.                 echo "                                <div class=\"ec-product__poster\">
  355.                                     <img src=\"";
  356.                 // line 212
  357.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/product/recomment-"), "html"nulltrue);
  358.                 echo twig_escape_filter($this->env$context["recommendCatId"], "html"nulltrue);
  359.                 echo ".png\">
  360.                                 </div>
  361.                                 ";
  362.                 // line 215
  363.                 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.'215$this->source); })()), "totalItemCount", [], "any"falsefalsefalse215) > 0)) {
  364.                     // line 216
  365.                     echo "                                    <ul class=\"list-product-v2\">
  366.                                         ";
  367.                     // line 217
  368.                     $context['_parent'] = $context;
  369.                     $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'217$this->source); })()));
  370.                     foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  371.                         // line 218
  372.                         echo "                                            ";
  373.                         $context["in_cat"] = false;
  374.                         // line 219
  375.                         echo "                                            ";
  376.                         $context['_parent'] = $context;
  377.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse219));
  378.                         foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  379.                             // line 220
  380.                             echo "                                                ";
  381.                             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse220), "id", [], "any"falsefalsefalse220) == $context["recommendCatId"])) {
  382.                                 // line 221
  383.                                 echo "                                                    ";
  384.                                 $context["in_cat"] = true;
  385.                                 // line 222
  386.                                 echo "                                                ";
  387.                             }
  388.                             // line 223
  389.                             echo "                                            ";
  390.                         }
  391.                         $_parent $context['_parent'];
  392.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  393.                         $context array_intersect_key($context$_parent) + $_parent;
  394.                         // line 224
  395.                         echo "
  396.                                             ";
  397.                         // line 225
  398.                         if ((((isset($context["in_cat"]) || array_key_exists("in_cat"$context) ? $context["in_cat"] : (function () { throw new RuntimeError('Variable "in_cat" does not exist.'225$this->source); })()) == true) && (twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse225) <= 106))) {
  399.                             // line 226
  400.                             echo "                                                ";
  401.                             $context["num_1"] = (twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse226) / 1000);
  402.                             // line 227
  403.                             echo "                                                ";
  404.                             $context["num_2"] = (twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse227) % 1000);
  405.                             // line 228
  406.                             echo "                                                ";
  407.                             $context["num_2_formatted"] = (isset($context["num_2"]) || array_key_exists("num_2"$context) ? $context["num_2"] : (function () { throw new RuntimeError('Variable "num_2" does not exist.'228$this->source); })());
  408.                             // line 229
  409.                             echo "
  410.                                                 ";
  411.                             // line 230
  412.                             if (((isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'230$this->source); })()) < 100)) {
  413.                                 // line 231
  414.                                 echo "                                                    ";
  415.                                 $context["num_2_formatted"] = ("0" . (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'231$this->source); })()));
  416.                                 // line 232
  417.                                 echo "                                                ";
  418.                             }
  419.                             // line 233
  420.                             echo "                                                <li class=\"product-v2\">
  421.                                                     <a href=\"";
  422.                             // line 234
  423.                             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"falsefalsefalse234)]), "html"nulltrue);
  424.                             echo "\">
  425.                                                         <span class=\"circle\">
  426.                                                             <img src=\"";
  427.                             // line 236
  428.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/ic-arrow-blue.png"), "html"nulltrue);
  429.                             echo "\" alt=\"\">
  430.                                                         </span>
  431.                                                         <div class=\"group\">
  432.                                                             <div class=\"code\">
  433.                                                                 ";
  434.                             // line 240
  435.                             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse240))) {
  436.                                 // line 241
  437.                                 echo "                                                                    ";
  438.                                 $context['_parent'] = $context;
  439.                                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse241));
  440.                                 foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  441.                                     // line 242
  442.                                     echo "                                                                        ";
  443.                                     if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse242), "Parent", [], "any"falsefalsefalse242))) {
  444.                                         // line 243
  445.                                         echo "                                                                            ";
  446.                                         $context["parentCat"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse243), "Parent", [], "any"falsefalsefalse243);
  447.                                         // line 244
  448.                                         echo "                                                                            ";
  449.                                         if ((twig_get_attribute($this->env$this->source, (isset($context["parentCat"]) || array_key_exists("parentCat"$context) ? $context["parentCat"] : (function () { throw new RuntimeError('Variable "parentCat" does not exist.'244$this->source); })()), "id", [], "any"falsefalsefalse244) == 19)) {
  450.                                             // line 245
  451.                                             echo "                                                                                <span>主に";
  452.                                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse245), "name", [], "any"falsefalsefalse245), "html"nulltrue);
  453.                                             echo "</span>
  454.                                                                             ";
  455.                                         }
  456.                                         // line 247
  457.                                         echo "                                                                        ";
  458.                                     }
  459.                                     // line 248
  460.                                     echo "                                                                    ";
  461.                                 }
  462.                                 $_parent $context['_parent'];
  463.                                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  464.                                 $context array_intersect_key($context$_parent) + $_parent;
  465.                                 // line 249
  466.                                 echo "                                                                ";
  467.                             }
  468.                             // line 250
  469.                             echo "                                                                <p>";
  470.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "code_min", [], "any"falsefalsefalse250), "html"nulltrue);
  471.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "code_min", [], "any"falsefalsefalse250) != twig_get_attribute($this->env$this->source$context["Product"], "code_max", [], "any"falsefalsefalse250))) {
  472.                                 echo " ~ ";
  473.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "code_max", [], "any"falsefalsefalse250), "html"nulltrue);
  474.                             }
  475.                             echo "</p>
  476.                                                             </div>
  477.                                                             <span class=\"text\">標準工事費込み</span>
  478.                                                             <div class=\"price\">
  479.                                                                 <p class=\"price__val\">
  480.                                                                     <span class=\"yen\" title=\"¥\">¥</span><span class=\"num-1\" title=\"";
  481.                             // line 255
  482.                             echo twig_escape_filter($this->envtwig_round((isset($context["num_1"]) || array_key_exists("num_1"$context) ? $context["num_1"] : (function () { throw new RuntimeError('Variable "num_1" does not exist.'255$this->source); })()), 0"floor"), "html"nulltrue);
  483.                             echo ",\">";
  484.                             echo twig_escape_filter($this->envtwig_round((isset($context["num_1"]) || array_key_exists("num_1"$context) ? $context["num_1"] : (function () { throw new RuntimeError('Variable "num_1" does not exist.'255$this->source); })()), 0"floor"), "html"nulltrue);
  485.                             echo ",</span><span class=\"num-2\" title=\"";
  486.                             echo twig_escape_filter($this->env, (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'255$this->source); })()), "html"nulltrue);
  487.                             echo "\">";
  488.                             echo twig_escape_filter($this->env, (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'255$this->source); })()), "html"nulltrue);
  489.                             echo "</span>
  490.                                                                 </p>
  491.                                                                 <span class=\"price__tax\">(税込)</span>
  492.                                                             </div>
  493.                                                         </div>
  494.                                                     </a>
  495.                                                 </li>
  496.                                             ";
  497.                         }
  498.                         // line 263
  499.                         echo "                                        ";
  500.                     }
  501.                     $_parent $context['_parent'];
  502.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  503.                     $context array_intersect_key($context$_parent) + $_parent;
  504.                     // line 264
  505.                     echo "                                    </ul>
  506.                                 ";
  507.                 }
  508.                 // line 266
  509.                 echo "                            </div>
  510.                             <div class=\"ec-product__group\">
  511.                                 <div class=\"ec-product__poster\">
  512.                                     <img src=\"";
  513.                 // line 270
  514.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/product/recomment-"), "html"nulltrue);
  515.                 echo twig_escape_filter($this->env$context["recommendCatId"], "html"nulltrue);
  516.                 echo "-2.png\">
  517.                                 </div>
  518.                                 ";
  519.                 // line 273
  520.                 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.'273$this->source); })()), "totalItemCount", [], "any"falsefalsefalse273) > 0)) {
  521.                     // line 274
  522.                     echo "                                    <ul class=\"list-product-v2\">
  523.                                         ";
  524.                     // line 275
  525.                     $context['_parent'] = $context;
  526.                     $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'275$this->source); })()));
  527.                     foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  528.                         // line 276
  529.                         echo "                                            ";
  530.                         $context["in_cat"] = false;
  531.                         // line 277
  532.                         echo "                                            ";
  533.                         $context['_parent'] = $context;
  534.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse277));
  535.                         foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  536.                             // line 278
  537.                             echo "                                                ";
  538.                             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse278), "id", [], "any"falsefalsefalse278) == $context["recommendCatId"])) {
  539.                                 // line 279
  540.                                 echo "                                                    ";
  541.                                 $context["in_cat"] = true;
  542.                                 // line 280
  543.                                 echo "                                                ";
  544.                             }
  545.                             // line 281
  546.                             echo "                                            ";
  547.                         }
  548.                         $_parent $context['_parent'];
  549.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  550.                         $context array_intersect_key($context$_parent) + $_parent;
  551.                         // line 282
  552.                         echo "
  553.                                             ";
  554.                         // line 283
  555.                         if ((((isset($context["in_cat"]) || array_key_exists("in_cat"$context) ? $context["in_cat"] : (function () { throw new RuntimeError('Variable "in_cat" does not exist.'283$this->source); })()) == true) && (twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse283) > 106))) {
  556.                             // line 284
  557.                             echo "                                                ";
  558.                             $context["num_1"] = (twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse284) / 1000);
  559.                             // line 285
  560.                             echo "                                                ";
  561.                             $context["num_2"] = (twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse285) % 1000);
  562.                             // line 286
  563.                             echo "                                                ";
  564.                             $context["num_2_formatted"] = (isset($context["num_2"]) || array_key_exists("num_2"$context) ? $context["num_2"] : (function () { throw new RuntimeError('Variable "num_2" does not exist.'286$this->source); })());
  565.                             // line 287
  566.                             echo "
  567.                                                 ";
  568.                             // line 288
  569.                             if (((isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'288$this->source); })()) < 100)) {
  570.                                 // line 289
  571.                                 echo "                                                    ";
  572.                                 $context["num_2_formatted"] = ("0" . (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'289$this->source); })()));
  573.                                 // line 290
  574.                                 echo "                                                ";
  575.                             }
  576.                             // line 291
  577.                             echo "                                                <li class=\"product-v2\">
  578.                                                     <a href=\"";
  579.                             // line 292
  580.                             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"falsefalsefalse292)]), "html"nulltrue);
  581.                             echo "\">
  582.                                                         <span class=\"circle\">
  583.                                                             <img src=\"";
  584.                             // line 294
  585.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/ic-arrow-blue.png"), "html"nulltrue);
  586.                             echo "\" alt=\"\">
  587.                                                         </span>
  588.                                                         <div class=\"group\">
  589.                                                             <div class=\"code\">
  590.                                                                 ";
  591.                             // line 298
  592.                             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse298))) {
  593.                                 // line 299
  594.                                 echo "                                                                    ";
  595.                                 $context['_parent'] = $context;
  596.                                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse299));
  597.                                 foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  598.                                     // line 300
  599.                                     echo "                                                                        ";
  600.                                     if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse300), "Parent", [], "any"falsefalsefalse300))) {
  601.                                         // line 301
  602.                                         echo "                                                                            ";
  603.                                         $context["parentCat"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse301), "Parent", [], "any"falsefalsefalse301);
  604.                                         // line 302
  605.                                         echo "                                                                            ";
  606.                                         if ((twig_get_attribute($this->env$this->source, (isset($context["parentCat"]) || array_key_exists("parentCat"$context) ? $context["parentCat"] : (function () { throw new RuntimeError('Variable "parentCat" does not exist.'302$this->source); })()), "id", [], "any"falsefalsefalse302) == 19)) {
  607.                                             // line 303
  608.                                             echo "                                                                                <span>主に";
  609.                                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse303), "name", [], "any"falsefalsefalse303), "html"nulltrue);
  610.                                             echo "</span>
  611.                                                                             ";
  612.                                         }
  613.                                         // line 305
  614.                                         echo "                                                                        ";
  615.                                     }
  616.                                     // line 306
  617.                                     echo "                                                                    ";
  618.                                 }
  619.                                 $_parent $context['_parent'];
  620.                                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  621.                                 $context array_intersect_key($context$_parent) + $_parent;
  622.                                 // line 307
  623.                                 echo "                                                                ";
  624.                             }
  625.                             // line 308
  626.                             echo "                                                                <p>";
  627.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "code_min", [], "any"falsefalsefalse308), "html"nulltrue);
  628.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "code_min", [], "any"falsefalsefalse308) != twig_get_attribute($this->env$this->source$context["Product"], "code_max", [], "any"falsefalsefalse308))) {
  629.                                 echo " ~ ";
  630.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "code_max", [], "any"falsefalsefalse308), "html"nulltrue);
  631.                             }
  632.                             echo "</p>
  633.                                                             </div>
  634.                                                             <span class=\"text\">標準工事費込み</span>
  635.                                                             <div class=\"price\">
  636.                                                                 <p class=\"price__val\">
  637.                                                                     <span class=\"yen\" title=\"¥\">¥</span><span class=\"num-1\" title=\"";
  638.                             // line 313
  639.                             echo twig_escape_filter($this->envtwig_round((isset($context["num_1"]) || array_key_exists("num_1"$context) ? $context["num_1"] : (function () { throw new RuntimeError('Variable "num_1" does not exist.'313$this->source); })()), 0"floor"), "html"nulltrue);
  640.                             echo ",\">";
  641.                             echo twig_escape_filter($this->envtwig_round((isset($context["num_1"]) || array_key_exists("num_1"$context) ? $context["num_1"] : (function () { throw new RuntimeError('Variable "num_1" does not exist.'313$this->source); })()), 0"floor"), "html"nulltrue);
  642.                             echo ",</span><span class=\"num-2\" title=\"";
  643.                             echo twig_escape_filter($this->env, (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'313$this->source); })()), "html"nulltrue);
  644.                             echo "\">";
  645.                             echo twig_escape_filter($this->env, (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'313$this->source); })()), "html"nulltrue);
  646.                             echo "</span>
  647.                                                                 </p>
  648.                                                                 <span class=\"price__tax\">(税込)</span>
  649.                                                             </div>
  650.                                                         </div>
  651.                                                     </a>
  652.                                                 </li>
  653.                                             ";
  654.                         }
  655.                         // line 321
  656.                         echo "                                        ";
  657.                     }
  658.                     $_parent $context['_parent'];
  659.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  660.                     $context array_intersect_key($context$_parent) + $_parent;
  661.                     // line 322
  662.                     echo "                                    </ul>
  663.                                 ";
  664.                 }
  665.                 // line 324
  666.                 echo "                            </div>
  667.                         ";
  668.             } else {
  669.                 // line 327
  670.                 echo "                            ";
  671.                 if (((isset($context["is_first"]) || array_key_exists("is_first"$context) ? $context["is_first"] : (function () { throw new RuntimeError('Variable "is_first" does not exist.'327$this->source); })()) == true)) {
  672.                     // line 328
  673.                     echo "                            ";
  674.                     $context["is_first"] = false;
  675.                     // line 329
  676.                     echo "                            <div class=\"ec-product__group first\">
  677.                             ";
  678.                 } else {
  679.                     // line 331
  680.                     echo "                            <div class=\"ec-product__group\">
  681.                             ";
  682.                 }
  683.                 // line 333
  684.                 echo "
  685.                                 <div class=\"ec-product__poster\">
  686.                                     <img src=\"";
  687.                 // line 335
  688.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/product/recomment-"), "html"nulltrue);
  689.                 echo twig_escape_filter($this->env$context["recommendCatId"], "html"nulltrue);
  690.                 echo ".png\">
  691.                                 </div>
  692.                                 ";
  693.                 // line 338
  694.                 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.'338$this->source); })()), "totalItemCount", [], "any"falsefalsefalse338) > 0)) {
  695.                     // line 339
  696.                     echo "                                    <ul class=\"list-product-v2\">
  697.                                         ";
  698.                     // line 340
  699.                     $context['_parent'] = $context;
  700.                     $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'340$this->source); })()));
  701.                     foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  702.                         // line 341
  703.                         echo "                                            ";
  704.                         $context["in_cat"] = false;
  705.                         // line 342
  706.                         echo "                                            ";
  707.                         $context['_parent'] = $context;
  708.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse342));
  709.                         foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  710.                             // line 343
  711.                             echo "                                                ";
  712.                             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse343), "id", [], "any"falsefalsefalse343) == $context["recommendCatId"])) {
  713.                                 // line 344
  714.                                 echo "                                                    ";
  715.                                 $context["in_cat"] = true;
  716.                                 // line 345
  717.                                 echo "                                                ";
  718.                             }
  719.                             // line 346
  720.                             echo "                                            ";
  721.                         }
  722.                         $_parent $context['_parent'];
  723.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  724.                         $context array_intersect_key($context$_parent) + $_parent;
  725.                         // line 347
  726.                         echo "
  727.                                             ";
  728.                         // line 348
  729.                         if (((isset($context["in_cat"]) || array_key_exists("in_cat"$context) ? $context["in_cat"] : (function () { throw new RuntimeError('Variable "in_cat" does not exist.'348$this->source); })()) == true)) {
  730.                             // line 349
  731.                             echo "                                                ";
  732.                             $context["num_1"] = (twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse349) / 1000);
  733.                             // line 350
  734.                             echo "                                                ";
  735.                             $context["num_2"] = (twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse350) % 1000);
  736.                             // line 351
  737.                             echo "                                                ";
  738.                             $context["num_2_formatted"] = (isset($context["num_2"]) || array_key_exists("num_2"$context) ? $context["num_2"] : (function () { throw new RuntimeError('Variable "num_2" does not exist.'351$this->source); })());
  739.                             // line 352
  740.                             echo "
  741.                                                 ";
  742.                             // line 353
  743.                             if (((isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'353$this->source); })()) < 100)) {
  744.                                 // line 354
  745.                                 echo "                                                    ";
  746.                                 $context["num_2_formatted"] = ("0" . (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'354$this->source); })()));
  747.                                 // line 355
  748.                                 echo "                                                ";
  749.                             }
  750.                             // line 356
  751.                             echo "                                                <li class=\"product-v2\">
  752.                                                     <a href=\"";
  753.                             // line 357
  754.                             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"falsefalsefalse357)]), "html"nulltrue);
  755.                             echo "\">
  756.                                                         <span class=\"circle\">
  757.                                                             <img src=\"";
  758.                             // line 359
  759.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/ic-arrow-blue.png"), "html"nulltrue);
  760.                             echo "\" alt=\"\">
  761.                                                         </span>
  762.                                                         <div class=\"group\">
  763.                                                             <div class=\"code\">
  764.                                                                 ";
  765.                             // line 363
  766.                             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse363))) {
  767.                                 // line 364
  768.                                 echo "                                                                    ";
  769.                                 $context['_parent'] = $context;
  770.                                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductCategories", [], "any"falsefalsefalse364));
  771.                                 foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  772.                                     // line 365
  773.                                     echo "                                                                        ";
  774.                                     if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse365), "Parent", [], "any"falsefalsefalse365))) {
  775.                                         // line 366
  776.                                         echo "                                                                            ";
  777.                                         $context["parentCat"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse366), "Parent", [], "any"falsefalsefalse366);
  778.                                         // line 367
  779.                                         echo "                                                                            ";
  780.                                         if ((twig_get_attribute($this->env$this->source, (isset($context["parentCat"]) || array_key_exists("parentCat"$context) ? $context["parentCat"] : (function () { throw new RuntimeError('Variable "parentCat" does not exist.'367$this->source); })()), "id", [], "any"falsefalsefalse367) == 19)) {
  781.                                             // line 368
  782.                                             echo "                                                                                <span>主に";
  783.                                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse368), "name", [], "any"falsefalsefalse368), "html"nulltrue);
  784.                                             echo "</span>
  785.                                                                             ";
  786.                                         }
  787.                                         // line 370
  788.                                         echo "                                                                        ";
  789.                                     }
  790.                                     // line 371
  791.                                     echo "                                                                    ";
  792.                                 }
  793.                                 $_parent $context['_parent'];
  794.                                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  795.                                 $context array_intersect_key($context$_parent) + $_parent;
  796.                                 // line 372
  797.                                 echo "                                                                ";
  798.                             }
  799.                             // line 373
  800.                             echo "                                                                <p>";
  801.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "code_min", [], "any"falsefalsefalse373), "html"nulltrue);
  802.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "code_min", [], "any"falsefalsefalse373) != twig_get_attribute($this->env$this->source$context["Product"], "code_max", [], "any"falsefalsefalse373))) {
  803.                                 echo " ~ ";
  804.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "code_max", [], "any"falsefalsefalse373), "html"nulltrue);
  805.                             }
  806.                             echo "</p>
  807.                                                             </div>
  808.                                                             <span class=\"text\">標準工事費込み</span>
  809.                                                             <div class=\"price\">
  810.                                                                 <p class=\"price__val\">
  811.                                                                     <span class=\"yen\" title=\"¥\">¥</span><span class=\"num-1\" title=\"";
  812.                             // line 378
  813.                             echo twig_escape_filter($this->envtwig_round((isset($context["num_1"]) || array_key_exists("num_1"$context) ? $context["num_1"] : (function () { throw new RuntimeError('Variable "num_1" does not exist.'378$this->source); })()), 0"floor"), "html"nulltrue);
  814.                             echo ",\">";
  815.                             echo twig_escape_filter($this->envtwig_round((isset($context["num_1"]) || array_key_exists("num_1"$context) ? $context["num_1"] : (function () { throw new RuntimeError('Variable "num_1" does not exist.'378$this->source); })()), 0"floor"), "html"nulltrue);
  816.                             echo ",</span><span class=\"num-2\" title=\"";
  817.                             echo twig_escape_filter($this->env, (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'378$this->source); })()), "html"nulltrue);
  818.                             echo "\">";
  819.                             echo twig_escape_filter($this->env, (isset($context["num_2_formatted"]) || array_key_exists("num_2_formatted"$context) ? $context["num_2_formatted"] : (function () { throw new RuntimeError('Variable "num_2_formatted" does not exist.'378$this->source); })()), "html"nulltrue);
  820.                             echo "</span>
  821.                                                                 </p>
  822.                                                                 <span class=\"price__tax\">(税込)</span>
  823.                                                             </div>
  824.                                                         </div>
  825.                                                     </a>
  826.                                                 </li>
  827.                                             ";
  828.                         }
  829.                         // line 386
  830.                         echo "                                        ";
  831.                     }
  832.                     $_parent $context['_parent'];
  833.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  834.                     $context array_intersect_key($context$_parent) + $_parent;
  835.                     // line 387
  836.                     echo "                                    </ul>
  837.                                 ";
  838.                 }
  839.                 // line 389
  840.                 echo "
  841.                             </div>
  842.                         ";
  843.             }
  844.             // line 392
  845.             echo "
  846.                         
  847.                     ";
  848.         }
  849.         $_parent $context['_parent'];
  850.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recommendCatId'], $context['_parent'], $context['loop']);
  851.         $context array_intersect_key($context$_parent) + $_parent;
  852.         // line 395
  853.         echo "
  854.                 </div>
  855.             </div>
  856.         </div>
  857.     </div>
  858. ";
  859.         
  860.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  861.         
  862.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  863.     }
  864.     public function getTemplateName()
  865.     {
  866.         return "@user_data/tel_service_product.twig";
  867.     }
  868.     public function isTraitable()
  869.     {
  870.         return false;
  871.     }
  872.     public function getDebugInfo()
  873.     {
  874.         return array (  891 => 395,  883 => 392,  878 => 389,  874 => 387,  868 => 386,  851 => 378,  838 => 373,  835 => 372,  829 => 371,  826 => 370,  820 => 368,  817 => 367,  814 => 366,  811 => 365,  806 => 364,  804 => 363,  797 => 359,  792 => 357,  789 => 356,  786 => 355,  783 => 354,  781 => 353,  778 => 352,  775 => 351,  772 => 350,  769 => 349,  767 => 348,  764 => 347,  758 => 346,  755 => 345,  752 => 344,  749 => 343,  744 => 342,  741 => 341,  737 => 340,  734 => 339,  732 => 338,  725 => 335,  721 => 333,  717 => 331,  713 => 329,  710 => 328,  707 => 327,  702 => 324,  698 => 322,  692 => 321,  675 => 313,  662 => 308,  659 => 307,  653 => 306,  650 => 305,  644 => 303,  641 => 302,  638 => 301,  635 => 300,  630 => 299,  628 => 298,  621 => 294,  616 => 292,  613 => 291,  610 => 290,  607 => 289,  605 => 288,  602 => 287,  599 => 286,  596 => 285,  593 => 284,  591 => 283,  588 => 282,  582 => 281,  579 => 280,  576 => 279,  573 => 278,  568 => 277,  565 => 276,  561 => 275,  558 => 274,  556 => 273,  549 => 270,  543 => 266,  539 => 264,  533 => 263,  516 => 255,  503 => 250,  500 => 249,  494 => 248,  491 => 247,  485 => 245,  482 => 244,  479 => 243,  476 => 242,  471 => 241,  469 => 240,  462 => 236,  457 => 234,  454 => 233,  451 => 232,  448 => 231,  446 => 230,  443 => 229,  440 => 228,  437 => 227,  434 => 226,  432 => 225,  429 => 224,  423 => 223,  420 => 222,  417 => 221,  414 => 220,  409 => 219,  406 => 218,  402 => 217,  399 => 216,  397 => 215,  390 => 212,  387 => 211,  383 => 209,  379 => 207,  376 => 206,  373 => 205,  371 => 204,  368 => 203,  363 => 202,  360 => 201,  349 => 192,  344 => 189,  332 => 171,  317 => 158,  311 => 157,  302 => 155,  298 => 154,  293 => 153,  290 => 152,  286 => 151,  283 => 150,  273 => 149,  217 => 102,  207 => 95,  176 => 67,  161 => 55,  126 => 22,  112 => 21,  104 => 20,  87 => 19,  72 => 6,  62 => 5,  51 => 1,  49 => 3,  36 => 1,);
  875.     }
  876.     public function getSourceContext()
  877.     {
  878.         return new Source("{% extends 'default_frame.twig' %}
  879. {% set body_class = 'product_page' %}
  880. {% block javascript %}
  881.     <script>
  882.         (function(d) {
  883.             var config = {
  884.             kitId: 'pki8bzh',
  885.             scriptTimeout: 3000,
  886.             async: true
  887.             },
  888.             h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\\bwf-loading\\b/g,\"\")+\" wf-inactive\";},config.scriptTimeout),tk=d.createElement(\"script\"),f=false,s=d.getElementsByTagName(\"script\")[0],a;h.className+=\" wf-loading\";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!=\"complete\"&&a!=\"loaded\")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
  889.         })(document);
  890.     </script>
  891.     
  892.     <script>
  893.         eccube.productsClassCategories = {
  894.             {% for Product in pagination %}
  895.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  896.             {% endfor %}
  897.         };
  898.         \$(function() {
  899.             // 検索条件を追加
  900.             \$('.btn-condition').click(function() {
  901.                 \$('#active_idx').val(\$(this).index());
  902.             });
  903.             \$('.form-check-input').change(function() {
  904.                 \$(\"#form1\").submit();
  905.             });
  906.             // 表示件数を変更
  907.             \$('.disp-number').change(function() {
  908.                 var dispNumber = \$(this).val();
  909.                 \$('#disp_number').val(dispNumber);
  910.                 \$('#pageno').val(1);
  911.                 \$(\"#form1\").submit();
  912.             });
  913.             // 並び順を変更
  914.             \$('.order-by').change(function() {
  915.                 var orderBy = \$(this).val();
  916.                 \$('#orderby').val(orderBy);
  917.                 \$('#pageno').val(1);
  918.                 \$(\"#form1\").submit();
  919.             });
  920.             \$('.add-cart').on('click', function(e) {
  921.                 var \$form = \$(this).parents('li').find('form');
  922.                 // 規格1フォームの必須チェック
  923.                 var \$form_select = \$form.parent().find('.form-select');
  924.                 if (\$form_select.val() == '__unselected' || \$form_select.val() == '') {
  925.                     \$form_select[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  926.                     setTimeout(function() {
  927.                         loadingOverlay('hide');
  928.                     }, 100);
  929.                     return true;
  930.                 } else {
  931.                     \$form_select[0].setCustomValidity('');
  932.                 }
  933.                 // 個数フォームのチェック
  934.                 var \$quantity = \$form.parent().find('.quantity');
  935.                 if (\$quantity.val() < 1) {
  936.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  937.                     setTimeout(function() {
  938.                         loadingOverlay('hide');
  939.                     }, 100);
  940.                     return true;
  941.                 } else {
  942.                     \$quantity[0].setCustomValidity('');
  943.                 }
  944.                 e.preventDefault();
  945.                 \$.ajax({
  946.                     url: \$form.attr('action'),
  947.                     type: \$form.attr('method'),
  948.                     data: \$form.serialize(),
  949.                     dataType: 'json',
  950.                     beforeSend: function(xhr, settings) {
  951.                         // Buttonを無効にする
  952.                         \$('.add-cart').prop('disabled', true);
  953.                     }
  954.                 }).done(function(data) {
  955.                     // レスポンス内のメッセージをalertで表示
  956.                     \$.each(data.messages, function() {
  957.                         \$('#ec-modal-header').text(this);
  958.                     });
  959.                     \$('.ec-modal').show()
  960.                     // カートブロックを更新する
  961.                     \$.ajax({
  962.                         url: '{{ url('block_cart') }}',
  963.                         type: 'GET',
  964.                         dataType: 'html'
  965.                     }).done(function(html) {
  966.                         \$('.ec-headerRole__cart').html(html);
  967.                     });
  968.                 }).fail(function(data) {
  969.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  970.                 }).always(function(data) {
  971.                     // Buttonを有効にする
  972.                     \$('.add-cart').prop('disabled', false);
  973.                 });
  974.             });
  975.             \$('.favorite').click(function(event) {
  976.                 if (\$(this).attr('disabled') != 'disabled') {
  977.                     \$(this).closest('li.product').find('.list-add-favorite').submit();
  978.                 }
  979.             });
  980.         });
  981.         \$('.ec-modal-wrap').on('click', function(e) {
  982.             // モーダル内の処理は外側にバブリングさせない
  983.             e.stopPropagation();
  984.         });
  985.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  986.             \$('.ec-modal').hide()
  987.         });
  988.     </script>
  989.     <script>
  990.         \$(document).ready(function(){
  991.             \$(\".left .list-btn .btn-condition\").eq(\$('#active_idx').val()).addClass('active');
  992.             \$(\".right .item\").eq(\$('#active_idx').val()).addClass('active');
  993.             \$(\".left .list-btn .btn-condition\").click(function(e){
  994.                 if (!\$(this).hasClass(\"active\")) {
  995.                     var tabNum = \$(this).index();
  996.                     var nthChild = tabNum+1;
  997.                     \$(\".left .list-btn .btn-condition.active\").removeClass(\"active\");
  998.                     \$(this).addClass(\"active\");
  999.                     \$(\".right .item.active\").removeClass(\"active\");
  1000.                     \$(\".right .item:nth-child(\"+nthChild+\")\").addClass(\"active\");
  1001.                 }
  1002.             });
  1003.             \$(\".reset\").click(function(e){
  1004.                 \$(\".right .item input[type='checkbox']:checked\").prop('checked', false);
  1005.                 \$(\"#form1\").submit();
  1006.             });
  1007.         });
  1008.     </script>
  1009. {% endblock %}
  1010. {% block main %}
  1011.     <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  1012.         {% for item in search_form %}
  1013.             {% if item.vars.value is not iterable %}
  1014.                 <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  1015.                 name=\"{{ item.vars.full_name }}\"
  1016.                 {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  1017.             {% endif %}
  1018.         {% endfor %}
  1019.     </form>
  1020.     <div class=\"ec-featured-product-page\">
  1021.         <div class=\"ec-banner\">
  1022.             <div class=\"ec-banner__inner\">
  1023.                 <div class=\"inner\">
  1024.                     <h2>
  1025.                         電話完結型サービス
  1026.                     </h2>
  1027.                 </div>
  1028.             </div>
  1029.             <div class=\"ec-breadcrumb\">
  1030.                 <ul class=\"ec-breadcrumb__menu\">
  1031.                     <li class=\"ec-breadcrumb__item\"><a href=\"{{ url('homepage') }}\">TOP</a></li>
  1032.                     <li class=\"ec-breadcrumb__item\"><span>></span></li>
  1033.                     <li class=\"ec-breadcrumb__item\"><p>電話完結型サービス</p></li>
  1034.                 </ul>
  1035.             </div>
  1036.         </div>
  1037.         <div class=\"ec-product-main\">
  1038.             <div class=\"ec-product__inner\">
  1039.                 <div class=\"inner\">
  1040.                     {# <div class=\"group-text\">
  1041.                         <p>
  1042.                             標準設置工事費は、配管テープ巻き(化粧カバーなし)、配管の長さ4メートル以内となります。<br />
  1043.                             詳細な工事費用をお見積り希望の方は<a href=\"{{ url('contact') }}?type=1\">こちら</a>からお問合せください。
  1044.                         </p>
  1045.                         <p class=\"v2\">
  1046.                             グランドオープン記念!今ならエアコン本体の購入がお得です!エアコン本体のご予算、おすすめ順、機能などから、お好みのエアコンをお選びください。そのほか、エアコンの工事や取り付けや交換もエアココにお任せくださいませ。
  1047.                         </p>
  1048.                     </div> #}
  1049.                     <div class=\"ec-reCommended\">
  1050.                         <div class=\"message\">
  1051.                             <div class=\"group\">
  1052.                                 <img src=\"{{ asset('assets/img/common/kuma-student.png')}}\" alt=\"\">
  1053.                             </div>
  1054.                             <div class=\"mess\">
  1055.                                 <p>ネット購入が苦手・心配な方でも安心!<br />
  1056.                                 下記の商品はお電話での購入が可能です。お気軽にお問い合わせください!</p>
  1057.                             </div>
  1058.                         </div>
  1059.                     </div>
  1060.                     {# TODO: category product #}
  1061.                     {% set is_first = true %}
  1062.                     {% for recommendCatId in recommendCats %}
  1063.                         {% if recommendCatId == 30 %}
  1064.                             {% if is_first == true %}
  1065.                             {% set is_first = false %}
  1066.                             <div class=\"ec-product__group first\">
  1067.                             {% else %}
  1068.                             <div class=\"ec-product__group\">
  1069.                             {% endif %}
  1070.                                 <div class=\"ec-product__poster\">
  1071.                                     <img src=\"{{ asset('assets/img/product/recomment-') }}{{ recommendCatId }}.png\">
  1072.                                 </div>
  1073.                                 {% if pagination.totalItemCount > 0 %}
  1074.                                     <ul class=\"list-product-v2\">
  1075.                                         {% for Product in pagination %}
  1076.                                             {% set in_cat = false %}
  1077.                                             {% for ProductCategory in Product.ProductCategories %}
  1078.                                                 {% if ProductCategory.Category.id == recommendCatId %}
  1079.                                                     {% set in_cat = true %}
  1080.                                                 {% endif %}
  1081.                                             {% endfor %}
  1082.                                             {% if in_cat == true and Product.id <= 106 %}
  1083.                                                 {% set num_1 = (Product.getPrice02IncTaxMin / 1000) %}
  1084.                                                 {% set num_2 = Product.getPrice02IncTaxMin % 1000 %}
  1085.                                                 {% set num_2_formatted = num_2 %}
  1086.                                                 {% if num_2_formatted < 100 %}
  1087.                                                     {% set num_2_formatted = \"0\" ~ num_2_formatted %}
  1088.                                                 {% endif %}
  1089.                                                 <li class=\"product-v2\">
  1090.                                                     <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1091.                                                         <span class=\"circle\">
  1092.                                                             <img src=\"{{ asset('assets/img/common/ic-arrow-blue.png') }}\" alt=\"\">
  1093.                                                         </span>
  1094.                                                         <div class=\"group\">
  1095.                                                             <div class=\"code\">
  1096.                                                                 {% if Product.ProductCategories is not empty %}
  1097.                                                                     {% for ProductCategory in Product.ProductCategories %}
  1098.                                                                         {% if ProductCategory.Category.Parent is not empty %}
  1099.                                                                             {% set parentCat = ProductCategory.Category.Parent %}
  1100.                                                                             {% if parentCat.id == 19 %}
  1101.                                                                                 <span>主に{{ ProductCategory.Category.name }}</span>
  1102.                                                                             {% endif %}
  1103.                                                                         {% endif %}
  1104.                                                                     {% endfor %}
  1105.                                                                 {% endif %}
  1106.                                                                 <p>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</p>
  1107.                                                             </div>
  1108.                                                             <span class=\"text\">標準工事費込み</span>
  1109.                                                             <div class=\"price\">
  1110.                                                                 <p class=\"price__val\">
  1111.                                                                     <span class=\"yen\" title=\"¥\">¥</span><span class=\"num-1\" title=\"{{ num_1|round(0, 'floor') }},\">{{ num_1|round(0, 'floor') }},</span><span class=\"num-2\" title=\"{{ num_2_formatted }}\">{{ num_2_formatted }}</span>
  1112.                                                                 </p>
  1113.                                                                 <span class=\"price__tax\">(税込)</span>
  1114.                                                             </div>
  1115.                                                         </div>
  1116.                                                     </a>
  1117.                                                 </li>
  1118.                                             {% endif %}
  1119.                                         {% endfor %}
  1120.                                     </ul>
  1121.                                 {% endif %}
  1122.                             </div>
  1123.                             <div class=\"ec-product__group\">
  1124.                                 <div class=\"ec-product__poster\">
  1125.                                     <img src=\"{{ asset('assets/img/product/recomment-') }}{{ recommendCatId }}-2.png\">
  1126.                                 </div>
  1127.                                 {% if pagination.totalItemCount > 0 %}
  1128.                                     <ul class=\"list-product-v2\">
  1129.                                         {% for Product in pagination %}
  1130.                                             {% set in_cat = false %}
  1131.                                             {% for ProductCategory in Product.ProductCategories %}
  1132.                                                 {% if ProductCategory.Category.id == recommendCatId %}
  1133.                                                     {% set in_cat = true %}
  1134.                                                 {% endif %}
  1135.                                             {% endfor %}
  1136.                                             {% if in_cat == true and Product.id > 106 %}
  1137.                                                 {% set num_1 = Product.getPrice02IncTaxMin / 1000 %}
  1138.                                                 {% set num_2 = Product.getPrice02IncTaxMin % 1000 %}
  1139.                                                 {% set num_2_formatted = num_2 %}
  1140.                                                 {% if num_2_formatted < 100 %}
  1141.                                                     {% set num_2_formatted = \"0\" ~ num_2_formatted %}
  1142.                                                 {% endif %}
  1143.                                                 <li class=\"product-v2\">
  1144.                                                     <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1145.                                                         <span class=\"circle\">
  1146.                                                             <img src=\"{{ asset('assets/img/common/ic-arrow-blue.png') }}\" alt=\"\">
  1147.                                                         </span>
  1148.                                                         <div class=\"group\">
  1149.                                                             <div class=\"code\">
  1150.                                                                 {% if Product.ProductCategories is not empty %}
  1151.                                                                     {% for ProductCategory in Product.ProductCategories %}
  1152.                                                                         {% if ProductCategory.Category.Parent is not empty %}
  1153.                                                                             {% set parentCat = ProductCategory.Category.Parent %}
  1154.                                                                             {% if parentCat.id == 19 %}
  1155.                                                                                 <span>主に{{ ProductCategory.Category.name }}</span>
  1156.                                                                             {% endif %}
  1157.                                                                         {% endif %}
  1158.                                                                     {% endfor %}
  1159.                                                                 {% endif %}
  1160.                                                                 <p>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</p>
  1161.                                                             </div>
  1162.                                                             <span class=\"text\">標準工事費込み</span>
  1163.                                                             <div class=\"price\">
  1164.                                                                 <p class=\"price__val\">
  1165.                                                                     <span class=\"yen\" title=\"¥\">¥</span><span class=\"num-1\" title=\"{{ num_1|round(0, 'floor') }},\">{{ num_1|round(0, 'floor') }},</span><span class=\"num-2\" title=\"{{ num_2_formatted }}\">{{ num_2_formatted }}</span>
  1166.                                                                 </p>
  1167.                                                                 <span class=\"price__tax\">(税込)</span>
  1168.                                                             </div>
  1169.                                                         </div>
  1170.                                                     </a>
  1171.                                                 </li>
  1172.                                             {% endif %}
  1173.                                         {% endfor %}
  1174.                                     </ul>
  1175.                                 {% endif %}
  1176.                             </div>
  1177.                         {% else %}
  1178.                             {% if is_first == true %}
  1179.                             {% set is_first = false %}
  1180.                             <div class=\"ec-product__group first\">
  1181.                             {% else %}
  1182.                             <div class=\"ec-product__group\">
  1183.                             {% endif %}
  1184.                                 <div class=\"ec-product__poster\">
  1185.                                     <img src=\"{{ asset('assets/img/product/recomment-') }}{{ recommendCatId }}.png\">
  1186.                                 </div>
  1187.                                 {% if pagination.totalItemCount > 0 %}
  1188.                                     <ul class=\"list-product-v2\">
  1189.                                         {% for Product in pagination %}
  1190.                                             {% set in_cat = false %}
  1191.                                             {% for ProductCategory in Product.ProductCategories %}
  1192.                                                 {% if ProductCategory.Category.id == recommendCatId %}
  1193.                                                     {% set in_cat = true %}
  1194.                                                 {% endif %}
  1195.                                             {% endfor %}
  1196.                                             {% if in_cat == true %}
  1197.                                                 {% set num_1 = Product.getPrice02IncTaxMin / 1000 %}
  1198.                                                 {% set num_2 = Product.getPrice02IncTaxMin % 1000 %}
  1199.                                                 {% set num_2_formatted = num_2 %}
  1200.                                                 {% if num_2_formatted < 100 %}
  1201.                                                     {% set num_2_formatted = \"0\" ~ num_2_formatted %}
  1202.                                                 {% endif %}
  1203.                                                 <li class=\"product-v2\">
  1204.                                                     <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1205.                                                         <span class=\"circle\">
  1206.                                                             <img src=\"{{ asset('assets/img/common/ic-arrow-blue.png') }}\" alt=\"\">
  1207.                                                         </span>
  1208.                                                         <div class=\"group\">
  1209.                                                             <div class=\"code\">
  1210.                                                                 {% if Product.ProductCategories is not empty %}
  1211.                                                                     {% for ProductCategory in Product.ProductCategories %}
  1212.                                                                         {% if ProductCategory.Category.Parent is not empty %}
  1213.                                                                             {% set parentCat = ProductCategory.Category.Parent %}
  1214.                                                                             {% if parentCat.id == 19 %}
  1215.                                                                                 <span>主に{{ ProductCategory.Category.name }}</span>
  1216.                                                                             {% endif %}
  1217.                                                                         {% endif %}
  1218.                                                                     {% endfor %}
  1219.                                                                 {% endif %}
  1220.                                                                 <p>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</p>
  1221.                                                             </div>
  1222.                                                             <span class=\"text\">標準工事費込み</span>
  1223.                                                             <div class=\"price\">
  1224.                                                                 <p class=\"price__val\">
  1225.                                                                     <span class=\"yen\" title=\"¥\">¥</span><span class=\"num-1\" title=\"{{ num_1|round(0, 'floor') }},\">{{ num_1|round(0, 'floor') }},</span><span class=\"num-2\" title=\"{{ num_2_formatted }}\">{{ num_2_formatted }}</span>
  1226.                                                                 </p>
  1227.                                                                 <span class=\"price__tax\">(税込)</span>
  1228.                                                             </div>
  1229.                                                         </div>
  1230.                                                     </a>
  1231.                                                 </li>
  1232.                                             {% endif %}
  1233.                                         {% endfor %}
  1234.                                     </ul>
  1235.                                 {% endif %}
  1236.                             </div>
  1237.                         {% endif %}
  1238.                         
  1239.                     {% endfor %}
  1240.                 </div>
  1241.             </div>
  1242.         </div>
  1243.     </div>
  1244. {% endblock %}
  1245. ""@user_data/tel_service_product.twig""/home/gogo002/gogo002.xbiz.jp/public_html/rintec/app/template/user_data/tel_service_product.twig");
  1246.     }
  1247. }