{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'cart_page' %}
{% block main %}
<!--wrapper start-->
<div id="wrapper" class="clearfix">
<div id="one_column">
<!--left_column start-->
<div id="left_column_mod">
<!--glo start-->
<ul id="glo" class="b5">
<li><a href="{{ url('cart')}}"><span class="white">01</span> 資料請求リストを見る</a></li>
<li><a href="{{ url('abouts')}}"><span class="white">02</span> 当サイトについて</a></li>
<li><a href="{{ url('contact')}}"><span class="white">03</span> お問い合わせ</a></li>
</ul>
<!--/glo end-->
</div>
<!--/left_column end-->
<!--right_column start-->
<div id="right_column_cart">
<h3 style="color:black;width:750px;">現在の資料請求リスト</h3>
<div class="inner" style="width:740px;">
{% if Carts != null %}
<form name="form1" id="form1" method="post" action="/cart/index.php">
<input type="hidden" name="mode" value="confirm" />
<input type="hidden" name="transactionid" value="" />
<input type="hidden" name="cart_no" value="" />
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="table_padding bg_l_brown clear" summary="現在のカゴの中">
<tr>
<th class="bg_cream" style="width:100px;">削除</th>
<th class="bg_cream" style="width:250px;">物件写真</th>
<th class="bg_cream">物件名称</th>
</tr>
{% for CartIndex,Cart in Carts %}
{% for CartItem in Cart.CartItems %}
{% set ProductClass = CartItem.ProductClass %}
{% set Product = ProductClass.Product %}
<tr>
<td class="bg_white orange align_center">
<a href="{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}" {{ csrf_token_for_anchor() }} class="ec-icon" data-method="put" data-message="カートから商品を削除してもよろしいですか?">
<p>削除</p>
</a>
</td>
<td class="bg_white align_center">
<a>
<img src="{{ asset(Product.main_image|no_image_product, 'save_image') }}" style="width:200px;height:150px" alt="" />
</a>
</td>
<td class="bg_white bold"><strong><a href="{{ url('product_detail', {'id': Product.id}) }}">{{Product.name}}</a></strong><br/></td>
</tr>
{% endfor %}
{% endfor %}
</table>
<p class="align_center orange t10 clear">上記内容でよろしければ「資料請求手続きへ」</p>
<p class="align_center t10">
<a href="{{ url('homepage')}}" onmouseover="chgImg('../html/user_data/assets/images/b_buy_h.gif','b_buy');" onmouseout="chgImg('../html/user_data/assets/images/b_buy.gif','b_buy');">
<img src="../html/user_data/assets/images/b_buy.gif" width="114" height="21" alt="物件選択を続ける" name="b_buy" id="b_buy" />
</a>
<a href={{ url('shopping_nonmember') }} onmouseover="chgImgImageSubmit('../html/user_data/assets/images/b_carry_h.gif',this)" onmouseout="chgImgImageSubmit('../html/user_data/assets/images/b_carry.gif',this)" src="../html/user_data/assets/images/images/b_carry.gif" alt="資料請求へ" name="confirm" />
<img src="../html/user_data/assets/images/b_carry.gif" alt="資料請求へ">
</a>
</p>
</form>
{% else %}
<p class="t10 black bold">※ 現在カート内に商品はございません。</p>
{% endif %}
</div>
</div>
<!--/right_column end-->
</div>
</div>
<!--/wrapper end-->
{% endblock %}