app/template/default/Block/cat_sidemenu.twig line 1

Open in your IDE?
  1. {% set hasCategory = false %}
  2. {% set request_uri = app.request.server.get('REQUEST_URI') %}
  3. {% if 'name=' in request_uri %}
  4.     {% set hasCategory = false %}
  5.     {% set RootCategory = "" %}
  6. {% elseif 'name=' in request_uri and Category != "" %}
  7.     {% set hasCategory = true %}
  8.     {% set RootCategory = Category.RootCategory %}
  9. {% elseif Category != "" %}
  10.     {% set hasCategory = true %}
  11.     {% set RootCategory = Category.RootCategory %}
  12. {% else %}
  13.     {% set hasCategory = false %}
  14.     {% set RootCategory = "" %}
  15. {% endif %}
  16. {% if Category != "" %}
  17.     
  18.     
  19.     {% set RootCategory = Category.RootCategory %}
  20.     {% if RootCategory == '新入荷' or RootCategory ==  "おすすめ商品" %}
  21.            
  22.            <div class="title-box">
  23.                 <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  24.                 <div class="sbbtn-box">
  25.                     <div class="salebtn">
  26.                         <div>
  27.                             <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  28.                         </div>
  29.                     </div>
  30.                     <div class="buybtn">
  31.                         <div>
  32.                             <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  33.                         </div>
  34.                     </div>
  35.                 </div>
  36.             </div>
  37.             <div class="title-box">
  38.                 <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  39.                 <div class="sbbtn-box">
  40.                     <div class="salebtn">
  41.                         <div>
  42.                             <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  43.                         </div>
  44.                     </div>
  45.                     <div class="buybtn">
  46.                         <div>
  47.                             <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  48.                         </div>
  49.                     </div>
  50.                 </div>
  51.             </div>
  52.             {{ render(path('block_side_serch_buy')) }}
  53.             <div class="side-red-btn">
  54.                 <a href="{{url('homepage')}}user_data/flow#flow">
  55.                     <div>
  56.                         <p class="fs32 fwb">ご利用ガイド</p>
  57.                         <p class="fs14">初めてご利用の方はこちらから</p>
  58.                     </div>
  59.                 </a>
  60.             </div>
  61.             <div class="side-red-btn">
  62.                 <a href="{{url('homepage')}}purchase">
  63.                     <div>
  64.                     <p class="fs32 fwb">高価買い取り</p>
  65.                     <p class="fs14">オンラインフォームはこちらから</p>
  66.                     </div>
  67.                 </a>
  68.             </div>
  69.             <div class="side-red-btn">
  70.                 <a href="{{url('homepage')}}user_data/flow#delivery">
  71.                     <div>
  72.                     <p class="fs32 fwb">配送料</p>
  73.                     <p class="fs14">お会計5,000円以上で送料無料</p>
  74.                     </div>
  75.                 </a>
  76.             </div>
  77.             <div class="side-red-btn">
  78.                 <a href="{{url('homepage')}}user_data/flow#payment">
  79.                     <div>
  80.                     <p class="fs32 fwb">お支払い方法</p>
  81.                     <p class="fs14">カード・各種ペイ対応</p>
  82.                     </div>
  83.                 </a>
  84.             </div>
  85.     
  86.     {% elseif RootCategory == '販売' %}
  87.        <!--現在のカテゴリID取得-->
  88.         {% set now_id = app.request.query.get('category_id') %}
  89.         <!--買い取り配下のカテゴリ取得-->
  90.         {% set cate_childs = RootCategory.getDescendants %}
  91.         <!--ルート表示-->
  92.         <!-- 現在カテゴリーから、親カテゴリに遡り「買い取り>ポケモンまで遡りたい」 -->
  93.         <!--現在カテゴリの上のカテゴリを取得 -->
  94.         {% set nowparent = Category.getParent() %}
  95.         {% set h = Category.hierarchy - 1 %}
  96.         <!--孫カテゴリ時に子カテゴリが表示された場合は親カテゴリへ -->
  97.         {% if nowparent == "シュヴァルツサイド" or nowparent == "ヴァイスサイド" %}
  98.         {% set nowparent = "ヴァイスシュヴァルツ" %}
  99.         {% endif %}
  100.         {% for cate in cate_childs %}
  101.             {% if h == cate.hierarchy %}
  102.             {# cate.name #}
  103.             {% endif %}
  104.         {% endfor %}
  105.             {% if nowparent == "ポケモン" or Category == "ポケモン" %}
  106.                 <div class="title-box">
  107.                     <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  108.                     <div class="sbbtn-box">
  109.                         <div class="salebtn">
  110.                             <div>
  111.                                 <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  112.                             </div>
  113.             
  114.                         </div>
  115.                         <div class="graybtn">
  116.                             <div>
  117.                                 <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  118.                             </div>
  119.                         </div>
  120.                     </div>
  121.             
  122.                 </div>
  123.             
  124.                 {{ render(path('block_side_serch_buy')) }}
  125.                 {# set Categories = repository('Eccube\\Entity\\Category').findBy({'Parent' : 7} , {'sort_no' : 'DESC'}) #}
  126.                 {% set Categories = repository('Eccube\\Entity\\Category').findByParentSorted(7) %}
  127.             
  128.                 {# @see https://github.com/bolt/bolt/pull/2388 #}
  129.                 {% from _self import tree %}
  130.             
  131.                 <div class="side-cat1">
  132.                     <div class="side-cat-smallbox">
  133.                         <a href="{{url('homepage')}}products/list?category_id=7">ポケモン</a>
  134.                         <ul>
  135.                         {% for Category in Categories %}
  136.                             <li>{{ tree(Category) }}</li>
  137.                         {% endfor %}
  138.                         </ul>
  139.                     </div>
  140.                 </div>
  141.                     
  142.                 {% macro tree(Category) %}
  143.                     {% from _self import tree %}
  144.             
  145.                         <a href="{{ url('product_list') }}?category_id={{ Category.id }}">
  146.                             {{ Category.name }}
  147.                         </a>
  148.                         {% if Category.children|length > 0 %}
  149.                             <ul>
  150.                                 {% for ChildCategory in Category.children %}
  151.                                     <li>
  152.                                         {{ tree(ChildCategory) }}
  153.                                     </li>
  154.                                 {% endfor %}
  155.                             </ul>
  156.                         {% endif %}
  157.             
  158.                 {% endmacro %}
  159.             {% elseif nowparent == "ヴァイスシュヴァルツ" or Category == "ヴァイスシュヴァルツ" %}
  160.                 <div class="title-box">
  161.                     <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  162.                     <div class="sbbtn-box">
  163.                         <div class="graybtn">
  164.                             <div>
  165.                                 <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  166.                             </div>
  167.             
  168.                         </div>
  169.                         <div class="buybtn">
  170.                             <div>
  171.                                 <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  172.                             </div>
  173.                         </div>
  174.                     </div>
  175.                 </div>
  176.             
  177.                 {{ render(path('block_side_serch_buy')) }}
  178.             
  179.             
  180.                 {# set Categories = repository('Eccube\\Entity\\Category').findBy({'Parent' : 9},{'sort_no' : 'DESC'}) #}
  181.                 {% set Categories = repository('Eccube\\Entity\\Category').findByParentSorted(9) %}
  182.             
  183.             
  184.                 {# @see https://github.com/bolt/bolt/pull/2388 #}
  185.                 {% from _self import tree %}
  186.             
  187.             
  188.             
  189.                 <div class="side-cat1">
  190.                     <div class="side-cat-smallbox">
  191.                         <a href="{{url('homepage')}}products/list?category_id=9">シュヴァルツサイド</a>
  192.                         <ul>
  193.                         {% for Category in Categories %}
  194.                             <li>{{ tree(Category) }}</li>
  195.                         {% endfor %}
  196.                         </ul>
  197.                     </div>
  198.                 </div>
  199.             
  200.             
  201.                 {# set Categories = repository('Eccube\\Entity\\Category').findBy({'Parent' : 10},{'sort_no' : 'DESC'}) #}
  202.                 {% set Categories = repository('Eccube\\Entity\\Category').findByParentSorted(10) %}
  203.                 {# @see https://github.com/bolt/bolt/pull/2388 #}
  204.                 {% from _self import tree %}
  205.             
  206.             
  207.             
  208.                 <div class="side-cat1">
  209.                     <div class="side-cat-smallbox">
  210.                         <a href="{{url('homepage')}}products/list?category_id=10">ヴァイスサイド</a>
  211.                         <ul>
  212.                         {% for Category in Categories %}
  213.                             <li>{{ tree(Category) }}</li>
  214.                         {% endfor %}
  215.                         </ul>
  216.                     </div>
  217.                 </div>
  218.             {% else %}
  219. <div class="title-box">
  220.         <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  221.         <div class="sbbtn-box">
  222.             <div class="salebtn">
  223.                 <div>
  224.                     <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  225.                 </div>
  226.             </div>
  227.             <div class="buybtn">
  228.                 <div>
  229.                     <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  230.                 </div>
  231.             </div>
  232.         </div>
  233.     </div>
  234.     <div class="title-box">
  235.         <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  236.         <div class="sbbtn-box">
  237.             <div class="salebtn">
  238.                 <div>
  239.                     <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  240.                 </div>
  241.             </div>
  242.             <div class="buybtn">
  243.                 <div>
  244.                     <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  245.                 </div>
  246.             </div>
  247.         </div>
  248.     </div>
  249.     {{ render(path('block_side_serch')) }}
  250.     <div class="side-red-btn">
  251.         <a href="{{url('homepage')}}user_data/flow#flow">
  252.             <div>
  253.                 <p class="fs32 fwb">ご利用ガイド</p>
  254.                 <p class="fs14">初めてご利用の方はこちらから</p>
  255.             </div>
  256.         </a>
  257.     </div>
  258.     <div class="side-red-btn">
  259.         <a href="{{url('homepage')}}purchase">
  260.             <div>
  261.             <p class="fs32 fwb">高価買い取り</p>
  262.             <p class="fs14">オンラインフォームはこちらから</p>
  263.             </div>
  264.         </a>
  265.     </div>
  266.     <div class="side-red-btn">
  267.         <a href="{{url('homepage')}}user_data/flow#delivery">
  268.             <div>
  269.             <p class="fs32 fwb">配送料</p>
  270.             <p class="fs14">お会計5,000円以上で送料無料</p>
  271.             </div>
  272.         </a>
  273.     </div>
  274.     <div class="side-red-btn">
  275.         <a href="{{url('homepage')}}user_data/flow#payment">
  276.             <div>
  277.             <p class="fs32 fwb">お支払い方法</p>
  278.             <p class="fs14">カード・各種ペイ対応</p>
  279.             </div>
  280.         </a>
  281.     </div>
  282.             {% endif %}
  283.     
  284.     {% elseif  RootCategory == '買い取り' %}
  285.         <!--現在のカテゴリID取得-->
  286.         {% set now_id = app.request.query.get('category_id') %}
  287.         <!--買い取り配下のカテゴリ取得-->
  288.         {% set cate_childs = RootCategory.getDescendants %}
  289.         <!--ルート表示-->
  290.         <!-- 現在カテゴリーから、親カテゴリに遡り「買い取り>ポケモンまで遡りたい」 -->
  291.         <!--現在カテゴリの上のカテゴリを取得 -->
  292.         {% set nowparent = Category.getParent() %}
  293.         {% set h = Category.hierarchy - 1 %}
  294.         <!--孫カテゴリ時に子カテゴリが表示された場合は親カテゴリへ -->
  295.         {% if nowparent == "シュヴァルツサイド" or nowparent == "ヴァイスサイド" %}
  296.         {% set nowparent = "ヴァイスシュヴァルツ" %}
  297.         {% endif %}
  298.         {% for cate in cate_childs %}
  299.             {% if h == cate.hierarchy %}
  300.             {# cate.name #}
  301.             {% endif %}
  302.         {% endfor %}
  303.             {% if nowparent == "ポケモン" or Category == "ポケモン" %}
  304.                 <div class="title-box">
  305.                     <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  306.                     <div class="sbbtn-box">
  307.                         <div class="salebtn">
  308.                             <div>
  309.                                 <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  310.                             </div>
  311.             
  312.                         </div>
  313.                         <div class="graybtn">
  314.                             <div>
  315.                                 <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  316.                             </div>
  317.                         </div>
  318.                     </div>
  319.             
  320.                 </div>
  321.             
  322.                 {{ render(path('block_side_serch_buy')) }}
  323.                 {# set Categories = repository('Eccube\\Entity\\Category').findBy({'Parent' : 219},{'sort_no' : 'DESC'}) #}
  324.                 {% set Categories = repository('Eccube\\Entity\\Category').findByParentSorted(219) %}
  325.             
  326.                 {# @see https://github.com/bolt/bolt/pull/2388 #}
  327.                 {% from _self import tree %}
  328.             
  329.                 <div class="side-cat1">
  330.                     <div class="side-cat-smallbox">
  331.                         <a href="{{url('homepage')}}products/list?category_id=219">ポケモン</a>
  332.                         <ul>
  333.                         {% for Category in Categories %}
  334.                                 {% if loop.index == 8 %}
  335.                                     <div class="catdn">
  336.                                 {% endif %}
  337.                             <li>{{ tree(Category) }}</li>
  338.                                 {% if loop.last %}
  339.                                     </div>
  340.                                 {% endif %}
  341.                         {% endfor %}
  342.                         </ul>
  343.                     </div>
  344.                 </div>
  345.             {% elseif nowparent == "ヴァイスシュヴァルツ" or Category == "ヴァイスシュヴァルツ" %}
  346.                 <div class="title-box">
  347.                     <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  348.                     <div class="sbbtn-box">
  349.                         <div class="salebtn">
  350.                             <div>
  351.                                 <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  352.                             </div>
  353.             
  354.                         </div>
  355.                         <div class="graybtn">
  356.                             <div>
  357.                                 <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  358.                             </div>
  359.                         </div>
  360.                     </div>
  361.                 </div>
  362.             
  363.                 {{ render(path('block_side_serch_buy')) }}
  364.             
  365.             
  366.                 {# set Categories = repository('Eccube\\Entity\\Category').findBy({'Parent' : 221},{'sort_no' : 'DESC'}) #}
  367.                 {% set Categories = repository('Eccube\\Entity\\Category').findByParentSorted(221) %}
  368.             
  369.             
  370.                 {# @see https://github.com/bolt/bolt/pull/2388 #}
  371.                 {% from _self import tree %}
  372.             
  373.             
  374.             
  375.                 <div class="side-cat1">
  376.                     <div class="side-cat-smallbox">
  377.                         <a href="{{url('homepage')}}products/list?category_id=221">シュヴァルツサイド</a>
  378.                         <ul>
  379.                         {% for Category in Categories %}
  380.                                 {% if loop.index == 8 %}
  381.                                     <div class="catdn2">
  382.                                 {% endif %}
  383.                             <li>{{ tree(Category) }}</li>
  384.                                 {% if loop.last %}
  385.                                     </div>
  386.                                 {% endif %}
  387.                         {% endfor %}
  388.                         </ul>
  389.                     </div>
  390.                 </div>
  391.             
  392.             
  393.                 {# set Categories = repository('Eccube\\Entity\\Category').findBy({'Parent' : 220},{'sort_no' : 'DESC'}) #}
  394.                 {% set Categories = repository('Eccube\\Entity\\Category').findByParentSorted(220) %}
  395.                 {# @see https://github.com/bolt/bolt/pull/2388 #}
  396.                 {% from _self import tree %}
  397.             
  398.             
  399.             
  400.                 <div class="side-cat1">
  401.                     <div class="side-cat-smallbox">
  402.                         <a href="{{url('homepage')}}products/list?category_id=220">ヴァイスサイド</a>
  403.                         <ul>
  404.                         {% for Category in Categories %}
  405.                                 {% if loop.index == 8 %}
  406.                                     <div class="catdn3">
  407.                                 {% endif %}
  408.                             <li>{{ tree(Category) }}</li>
  409.                                 {% if loop.last %}
  410.                                     </div>
  411.                                 {% endif %}
  412.                         {% endfor %}
  413.                         </ul>
  414.                     </div>
  415.                 </div>
  416.             {% else %}
  417.             <div class="title-box">
  418.                 <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  419.                 <div class="sbbtn-box">
  420.                     <div class="salebtn">
  421.                         <div>
  422.                             <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  423.                         </div>
  424.                     </div>
  425.                     <div class="buybtn">
  426.                         <div>
  427.                             <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  428.                         </div>
  429.                     </div>
  430.                 </div>
  431.             </div>
  432.             <div class="title-box">
  433.                 <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  434.                 <div class="sbbtn-box">
  435.                     <div class="salebtn">
  436.                         <div>
  437.                             <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  438.                         </div>
  439.                     </div>
  440.                     <div class="buybtn">
  441.                         <div>
  442.                             <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  443.                         </div>
  444.                     </div>
  445.                 </div>
  446.             </div>
  447.             {{ render(path('block_side_serch_buy')) }}
  448.             <div class="side-red-btn">
  449.                 <a href="{{url('homepage')}}user_data/flow#flow">
  450.                     <div>
  451.                         <p class="fs32 fwb">ご利用ガイド</p>
  452.                         <p class="fs14">初めてご利用の方はこちらから</p>
  453.                     </div>
  454.                 </a>
  455.             </div>
  456.             <div class="side-red-btn">
  457.                 <a href="{{url('homepage')}}purchase">
  458.                     <div>
  459.                     <p class="fs32 fwb">高価買い取り</p>
  460.                     <p class="fs14">オンラインフォームはこちらから</p>
  461.                     </div>
  462.                 </a>
  463.             </div>
  464.             <div class="side-red-btn">
  465.                 <a href="{{url('homepage')}}user_data/flow#delivery">
  466.                     <div>
  467.                     <p class="fs32 fwb">配送料</p>
  468.                     <p class="fs14">お会計5,000円以上で送料無料</p>
  469.                     </div>
  470.                 </a>
  471.             </div>
  472.             <div class="side-red-btn">
  473.                 <a href="{{url('homepage')}}user_data/flow#payment">
  474.                     <div>
  475.                     <p class="fs32 fwb">お支払い方法</p>
  476.                     <p class="fs14">カード・各種ペイ対応</p>
  477.                     </div>
  478.                 </a>
  479.             </div>
  480.             {% endif %}
  481.     {% else %}
  482.         <div class="title-box">
  483.                 <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  484.                 <div class="sbbtn-box">
  485.                     <div class="salebtn">
  486.                         <div>
  487.                             <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  488.                         </div>
  489.                     </div>
  490.                     <div class="buybtn">
  491.                         <div>
  492.                             <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  493.                         </div>
  494.                     </div>
  495.                 </div>
  496.             </div>
  497.             <div class="title-box">
  498.                 <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  499.                 <div class="sbbtn-box">
  500.                     <div class="salebtn">
  501.                         <div>
  502.                             <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  503.                         </div>
  504.                     </div>
  505.                     <div class="buybtn">
  506.                         <div>
  507.                             <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  508.                         </div>
  509.                     </div>
  510.                 </div>
  511.             </div>
  512.             {{ render(path('block_side_serch_buy')) }}
  513.             <div class="side-red-btn">
  514.                 <a href="{{url('homepage')}}user_data/flow#flow">
  515.                     <div>
  516.                         <p class="fs32 fwb">ご利用ガイド</p>
  517.                         <p class="fs14">初めてご利用の方はこちらから</p>
  518.                     </div>
  519.                 </a>
  520.             </div>
  521.             <div class="side-red-btn">
  522.                 <a href="{{url('homepage')}}purchase">
  523.                     <div>
  524.                     <p class="fs32 fwb">高価買い取り</p>
  525.                     <p class="fs14">オンラインフォームはこちらから</p>
  526.                     </div>
  527.                 </a>
  528.             </div>
  529.             <div class="side-red-btn">
  530.                 <a href="{{url('homepage')}}user_data/flow#delivery">
  531.                     <div>
  532.                     <p class="fs32 fwb">配送料</p>
  533.                     <p class="fs14">お会計5,000円以上で送料無料</p>
  534.                     </div>
  535.                 </a>
  536.             </div>
  537.             <div class="side-red-btn">
  538.                 <a href="{{url('homepage')}}user_data/flow#payment">
  539.                     <div>
  540.                     <p class="fs32 fwb">お支払い方法</p>
  541.                     <p class="fs14">カード・各種ペイ対応</p>
  542.                     </div>
  543.                 </a>
  544.             </div>
  545.     {% endif %}
  546. {% else %}
  547. <div class="title-box">
  548.         <a href="{{url('homepage')}}products/list?category_id=7" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/poke.png') }}" alt=""></a>
  549.         <div class="sbbtn-box">
  550.             <div class="salebtn">
  551.                 <div>
  552.                     <a href="{{url('homepage')}}products/list?category_id=7">買う</a>
  553.                 </div>
  554.             </div>
  555.             <div class="buybtn">
  556.                 <div>
  557.                     <a href="{{url('homepage')}}products/list?category_id=219">売る</a>
  558.                 </div>
  559.             </div>
  560.         </div>
  561.     </div>
  562.     <div class="title-box">
  563.         <a href="{{url('homepage')}}products/list?category_id=8" class="titlebtn"><img src="{{ asset('/html/user_data/assets/img/weis.png') }}" alt=""></a>
  564.         <div class="sbbtn-box">
  565.             <div class="salebtn">
  566.                 <div>
  567.                     <a href="{{url('homepage')}}products/list?category_id=8">買う</a>
  568.                 </div>
  569.             </div>
  570.             <div class="buybtn">
  571.                 <div>
  572.                     <a href="{{url('homepage')}}products/list?category_id=218">売る</a>
  573.                 </div>
  574.             </div>
  575.         </div>
  576.     </div>
  577.     {{ render(path('block_side_serch')) }}
  578.     <div class="side-red-btn">
  579.         <a href="{{url('homepage')}}user_data/flow#flow">
  580.             <div>
  581.                 <p class="fs32 fwb">ご利用ガイド</p>
  582.                 <p class="fs14">初めてご利用の方はこちらから</p>
  583.             </div>
  584.         </a>
  585.     </div>
  586.     <div class="side-red-btn">
  587.         <a href="{{url('homepage')}}purchase">
  588.             <div>
  589.             <p class="fs32 fwb">高価買い取り</p>
  590.             <p class="fs14">オンラインフォームはこちらから</p>
  591.             </div>
  592.         </a>
  593.     </div>
  594.     <div class="side-red-btn">
  595.         <a href="{{url('homepage')}}user_data/flow#delivery">
  596.             <div>
  597.             <p class="fs32 fwb">配送料</p>
  598.             <p class="fs14">お会計5,000円以上で送料無料</p>
  599.             </div>
  600.         </a>
  601.     </div>
  602.     <div class="side-red-btn">
  603.         <a href="{{url('homepage')}}user_data/flow#payment">
  604.             <div>
  605.             <p class="fs32 fwb">お支払い方法</p>
  606.             <p class="fs14">カード・各種ペイ対応</p>
  607.             </div>
  608.         </a>
  609.     </div>
  610. {% endif %}