app/template/flapshop/Mail/order.html.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <body bgcolor="#F0F0F0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;">
  11. <br>
  12. <br>
  13. <div align="center"><a href="{{ url('homepage') }}" style="font-family:Helvetica, Arial, sans-serif;font-size:30px;color:#333333;text-decoration:none;">{{ BaseInfo.shop_name }}</a></div>
  14. <!-- 100% background wrapper (grey background) -->
  15. <table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" bgcolor="#F0F0F0" style="border-spacing:0;mso-table-lspace:0pt;mso-table-rspace:0pt;">
  16.     <tr>
  17.         <td align="center" valign="top" bgcolor="#F0F0F0" style="background-color:#F0F0F0;border-collapse:collapse;">
  18.             <br>
  19.             <!-- 600px container (white background) -->
  20.             <table id="html-mail-table1" border="0" width="600px" cellpadding="10" cellspacing="0" class="container" style="border-spacing:0;mso-table-lspace:0pt;mso-table-rspace:0pt;">
  21.                 <tr>
  22.                     <td class="container-padding content" align="left" style="border-collapse:collapse;padding-left:24px;padding-right:24px;padding-top:12px;padding-bottom:12px;background-color:#ffffff;">
  23.                         <br>
  24.                         <div class="title" style="font-family:Helvetica, Arial, sans-serif;font-size:18px;font-weight:600;color:#374550;">この度はご注文いただき誠にありがとうございます。</div>
  25.                         <br>
  26.                         <div class="body-text" style="font-family:Helvetica, Arial, sans-serif;font-size:14px;line-height:20px;text-align:left;color:#333333;">
  27.                             {{ Order.name01 }} {{ Order.name02 }} 様<br/>
  28.                             <br/>
  29. ご注文ありがとうございます。<br/>
  30. 本メールは自動返信メールです。ご注文内容をご確認お願い致します。<br/><br/>
  31. なお、お支払を「クレジットカード/インターネット銀行」を選択されたお客様はお支払情報が表示されていますが<br/>
  32. こちらはお支払が完了されていない方のサイトです。支払いが途中の方はサイトまでお願いします。<br/>
  33. <br/>
  34.                             <br/>
  35.                             <hr style="border-top: 3px double #8c8b8b;">
  36.                              ご請求金額<br/>
  37.                             <hr style="border-top: 3px double #8c8b8b;">
  38.                             ご注文日時:{{ Order.order_date|date_sec }}<br/>
  39.                             ご注文番号:{{ Order.order_no }}<br/>
  40.                             お支払い合計:{{ Order.payment_total|price }}<br/>
  41.                             お支払い方法:{{ Order.payment_method }}<br/>
  42.                             {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  43.                             ご利用ポイント:{{ Order.usePoint|number_format }} pt<br/>
  44.                             {% endif %}
  45.                             お問い合わせ:{{ Order.message }}<br/>
  46.                             <br/>
  47.                             <hr style="border-top: 3px double #8c8b8b;">
  48.                              ご注文商品明細<br/>
  49.                             <hr style="border-top: 3px double #8c8b8b;">
  50.                             {% set isShowReducedTaxMess = false %}
  51.                             {% for OrderItem in Order.MergedProductOrderItems %}
  52.                                 商品コード:{{ OrderItem.product_code }}<br/>
  53.                                 商品名:{{ OrderItem.product_name }}  {{ OrderItem.classcategory_name1 }}  {{ OrderItem.classcategory_name2 }}{% if is_reduced_tax_rate(OrderItem) %}※{% set isShowReducedTaxMess = true %}{% endif %}<br/>
  54.                                 単価:{{ OrderItem.price_inctax|price }}<br/>
  55.                                 数量:{{ OrderItem.quantity|number_format }}<br/>
  56.                                 <br/>
  57.                             {% endfor %}
  58.                             {% if isShowReducedTaxMess %}※は軽減税率対象商品です。{% endif %}
  59.                             <hr style="border-top: 2px dashed #8c8b8b;">
  60.                             小 計:{{ Order.subtotal|price }}<br/>
  61.                             手数料:{{ Order.charge|price }}<br/>
  62.                             送 料:{{ Order.delivery_fee_total|price }}<br/>
  63.                             {% if Order.taxable_discount < 0 %}
  64.                             値引き:{{ Order.taxable_discount|price }}<br/>
  65.                             {% endif %}
  66.                             <hr style="border-top: 1px dotted #8c8b8b;">
  67.                             合 計:{{ Order.taxable_total|price }}<br/>
  68.                             {% for item in Order.tax_free_discount_items %}
  69.                                 <hr style="border-top: 1px dotted #8c8b8b;">
  70.                                 {{ item.product_name }}:{{ item.total_price|price }}<br/>
  71.                             {% endfor %}
  72.                             <hr style="border-top: 1px dotted #8c8b8b;">
  73.                             お支払い合計:{{ Order.payment_total|price }}
  74.                             {% for rate, total in Order.total_by_tax_rate %}
  75.                                 ({{ rate }} %対象:{{ total|price }} 内消費税: {{ Order.tax_by_tax_rate[rate]|price }})<br/>
  76.                             {% endfor %}
  77.                             <br/>
  78.                             <hr style="border-top: 3px double #8c8b8b;">
  79.                             ご注文者情報<br/>
  80.                             <hr style="border-top: 3px double #8c8b8b;">
  81.                             お名前:{{ Order.name01 }} {{ Order.name02 }} 様<br/>
  82.                             お名前(カナ):{{ Order.kana01 }} {{ Order.kana02 }} 様<br/>
  83.                             {% if Order.company_name %}
  84.                                 会社名:{{ Order.company_name }}<br/>
  85.                             {% endif %}
  86.                             郵便番号:〒{{ Order.postal_code }}<br/>
  87.                             住所:{{ Order.Pref.name }}{{ Order.addr01 }}{{ Order.addr02 }}<br/>
  88.                             電話番号:{{ Order.phone_number }}<br/>
  89.                             メールアドレス:{{ Order.email }}<br/>
  90.                             <br/>
  91.                             <hr style="border-top: 3px double #8c8b8b;">
  92.                              配送情報<br/>
  93.                             <hr style="border-top: 3px double #8c8b8b;">
  94.                             {% for Shipping in Order.Shippings %}
  95.                                 ◎お届け先{% if Order.multiple %}{{ loop.index }}{% endif %}<br/>
  96.                                 <br/>
  97.                                 お名前:{{ Shipping.name01 }} {{ Shipping.name02 }} 様<br/>
  98.                                 お名前(カナ):{{ Shipping.kana01 }} {{ Shipping.kana02 }} 様<br/>
  99.                                 {% if Shipping.company_name %}
  100.                                     会社名:{{ Shipping.company_name }}<br/>
  101.                                 {% endif %}
  102.                                 郵便番号:〒{{ Shipping.postal_code }}<br/>
  103.                                 住所:{{ Shipping.Pref.name }}{{ Shipping.addr01 }}{{ Shipping.addr02 }}<br/>
  104.                                 電話番号:{{ Shipping.phone_number }}<br/>
  105.                                 <br/>
  106.                                 配送方法:{{ Shipping.shipping_delivery_name }}<br/>
  107.                                 お届け日:{{ Shipping.shipping_delivery_date is empty ? '指定なし' : Shipping.shipping_delivery_date|date_day }}<br/>
  108.                                 お届け時間:{{ Shipping.shipping_delivery_time|default('指定なし') }}<br/>
  109.                                 <br/>
  110.                                 {% for OrderItem in Shipping.productOrderItems %}
  111.                                     商品コード:{{ OrderItem.product_code }}<br/>
  112.                                     商品名:{{ OrderItem.product_name }}  {{ OrderItem.classcategory_name1 }}  {{ OrderItem.classcategory_name2 }}<br/>
  113.                                     数量:{{ OrderItem.quantity|number_format }}<br/>
  114.                                     <br/>
  115.                                     
  116.                                 {% endfor %}
  117.                             {% endfor %}
  118.                             {% if Order.complete_mail_message is not empty %}
  119.                                 {{ Order.complete_mail_message|nl2br }}<br/>
  120.                             {% endif %}
  121.                             <hr style="border-top: 3px double #8c8b8b;">
  122.                              お振込先(銀行振込をご選択の方のみ)<br/>
  123.                             <hr style="border-top: 3px double #8c8b8b;">
  124. 十八親和銀行 諫早駅前支店<br/>
  125. 口座番号:1079280 普通<br/>
  126. 口座名義:株式会社FLAP&CO 代表取締役社長 花原和子<br/><br/>
  127. [支払期限]<br/>
  128. ・銀行振込をご利用の場合には、注文確認メール受信日から10営業日までに商品代金を弊社指定銀行口座にお振込下さい。<br/>
  129. ・当該期日までにお振込みを確認できない場合、契約をキャンセルさせていただく場合があります。<br/>
  130.                                     <br/>
  131.                             
  132.                         </div>
  133.                     </td>
  134.                 </tr>
  135.             </table>
  136.             <!--/600px container -->
  137.             <br>
  138.             <br>
  139.             <table id="html-mail-table2" border="0" width="600px" cellpadding="10" cellspacing="0" class="container" style="border-spacing:0;mso-table-lspace:0pt;mso-table-rspace:0pt;">
  140.                 <tr>
  141.                     <td class="container-padding content footer-text" align="left" style="border-collapse:collapse;font-family:Helvetica, Arial, sans-serif;font-size:12px;line-height:16px;color:#aaaaaa;padding-left:24px;padding-right:24px;padding-top:12px;padding-bottom:12px;background-color:#ffffff;">
  142. フラップ(web事業部)担当:谷口<br/>
  143. 住所 :長崎県諫早市西里町1686-6<br/>
  144. TEL :0957-46-8370/FAX:0957-35-7073<br/>
  145. </td>
  146.                 </tr>
  147.             </table>
  148.         </td>
  149.     </tr>
  150. </table>
  151. <!--/100% background wrapper-->
  152. <br>
  153. <br>
  154. </body>
  155. </html>