app/template/flapshop/Shopping/index.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. {% extends 'default_frame.twig' %}
  9. {% form_theme form 'Form/form_div_layout.twig' %}
  10. {% block javascript %}
  11.     <script>
  12.         $(function() {
  13.             var $redirectCallback = function() {
  14.                 loadingOverlay();
  15.                 $('#shopping_order_redirect_to').val($(this).attr('data-path'));
  16.                 $('#shopping-form').attr('action', '{{ url("shopping_redirect_to") }}').submit();
  17.                 setTimeout(function () {
  18.                     loadingOverlay("hide");
  19.                 }, 2000);
  20.             };
  21.             $('[data-trigger]').each(function() {
  22.                 $(this).on($(this).attr('data-trigger'), $redirectCallback);
  23.             });
  24.             {% if is_granted('ROLE_USER') == false %}
  25.             var edit = $('.customer-edit');
  26.             var hidden = $('.customer-in');
  27.             var form = $('.customer-form');
  28.             $('#customer').click(function() {
  29.                 $(edit).each(function(index) {
  30.                     var name = $(this).text();
  31.                     var input = $('<input id="edit' + index + '" type="text" />').val(name);
  32.                     $(form[index]).empty().append(input);
  33.                 });
  34.                 $('.non-customer-display').hide();
  35.                 $('.non-customer-edit').show();
  36.                 $('.mod-button').show();
  37.             });
  38.             $('#customer-ok').click(function() {
  39.                 $(form).each(function(index) {
  40.                     $(hidden[index]).val($(form[index]).children('input').val());
  41.                 });
  42.                 var postData = {};
  43.                 $(hidden).each(function() {
  44.                     postData[$(this).attr('name')] = $(this).val();
  45.                 });
  46.                 loadingOverlay();
  47.                 $.ajax({
  48.                     url: "{{ url('shopping_customer') }}",
  49.                     type: 'POST',
  50.                     data: postData,
  51.                     dataType: 'json'
  52.                 }).done(function(data) {
  53.                     if (data.status == 'OK') {
  54.                         $(form).each(function(index) {
  55.                             $(edit[index]).empty().text($(form[index]).children('input').val());
  56.                             $(form[index]).empty();
  57.                         });
  58.                         // kana field
  59.                         $(edit[2]).empty().text(data.kana01);
  60.                         $(edit[3]).empty().text(data.kana02);
  61.                         $('#customer-kana01').val(data.kana01);
  62.                         $('#customer-kana02').val(data.kana02);
  63.                     }
  64.                 }).fail(function() {
  65.                     alert('更新に失敗しました。入力内容を確認してください。');
  66.                 }).always(function(data) {
  67.                     // overlayを無効
  68.                     loadingOverlay('hide');
  69.                 });
  70.                 $('.non-customer-display').show();
  71.                 $('.non-customer-edit').hide();
  72.                 $('.mod-button').hide();
  73.             });
  74.             $('#customer-cancel').click(function() {
  75.                 $('.non-customer-display').show();
  76.                 $('.non-customer-edit').hide();
  77.                 $('.mod-button').hide();
  78.             });
  79.             {% endif %}
  80.         });
  81.     </script>
  82. {% endblock javascript %}
  83. {% block main %}
  84.     <div class="ec-role">
  85.         <div class="ec-pageHeader">
  86.             <h1>{{ 'ご注文手続き'|trans }}</h1>
  87.         </div>
  88.     </div>
  89.     <div class="ec-cartRole">
  90.         <div class="ec-cartRole__progress">
  91.             <ul class="ec-progress">
  92.                 {% set step = 1 %}
  93.                 <li class="ec-progress__item">
  94.                     <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  95.                     </div>
  96.                     <div class="ec-progress__label">{{ 'カートの商品'|trans }}
  97.                     </div>
  98.                 </li>
  99.                 {% if is_granted('ROLE_USER') == false %}
  100.                     <li class="ec-progress__item">
  101.                         <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  102.                         </div>
  103.                         <div class="ec-progress__label">{{ 'お客様情報'|trans }}
  104.                         </div>
  105.                     </li>
  106.                 {% endif %}
  107.                 <li class="ec-progress__item is-complete">
  108.                     <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  109.                     </div>
  110.                     <div class="ec-progress__label">{{ 'ご注文手続き'|trans }}
  111.                     </div>
  112.                 </li>
  113.                 <li class="ec-progress__item">
  114.                     <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  115.                     </div>
  116.                     <div class="ec-progress__label">{{ 'ご注文内容確認'|trans }}
  117.                     </div>
  118.                 </li>
  119.                 <li class="ec-progress__item">
  120.                     <div class="ec-progress__number">{{ step }}{% set step = step + 1 %}
  121.                     </div>
  122.                     <div class="ec-progress__label">{{ '完了'|trans }}
  123.                     </div>
  124.                 </li>
  125.             </ul>
  126.         </div>
  127.         <!-- アラートメッセージ -->
  128.         {{ include('Shopping/alert.twig') }}
  129.     </div>
  130.     <form id="shopping-form" method="post" action="{{ url('shopping_confirm') }}">
  131.         {{ form_widget(form._token) }}
  132.         {{ form_widget(form.redirect_to) }}
  133.         <div class="ec-orderRole">
  134.             <div class="ec-orderRole__detail">
  135.                 <div class="ec-orderAccount">
  136.                     <div class="ec-rectHeading">
  137.                         <h2>{{ 'お客様情報'|trans }}</h2>
  138.                     </div>
  139.                     {% if is_granted('ROLE_USER') == false %}
  140.                         <div class="ec-orderAccount__change non-customer-display">
  141.                             <button id="customer" class="ec-inlineBtn" type="button">{{ '変更'|trans }}</button>
  142.                         </div>
  143.                     {% endif %}
  144.                     <div class="ec-orderAccount__account non-customer-display">
  145.                         <p class="ec-halfInput">{{ ''|trans }}<span class="customer-edit customer-name01">{{ Order.name01 }}</span> <span class="customer-edit customer-name02">{{ Order.name02 }}</span>{{ ' 様'|trans }}</p>
  146.                         <p class="ec-halfInput"><span class="customer-edit customer-kana01">{{ Order.kana01 }}</span> <span class="customer-edit customer-kana02">{{ Order.kana02 }}</span></p>
  147.                         <p class="ec-input"><span class="customer-edit customer-company_name">{{ Order.companyName }}</span></p>
  148.                         <p class="ec-zipInput">〒<span class="customer-edit customer-postal_code">{{ Order.postal_code }}</span></p>
  149.                         <p class="ec-input"><span class="customer-edit customer-pref">{{ Order.pref }}</span><span class="customer-edit customer-addr01">{{ Order.addr01 }}</span><span class="customer-edit customer-addr02">{{ Order.addr02 }}</span></p>
  150.                         <p class="ec-telInput"><span class="customer-edit customer-phone_number">{{ Order.phone_number }}</span></p>
  151.                         <p class="ec-input"><span class="customer-edit customer-email">{{ Order.email }}</span></p>
  152.                     </div>
  153.                     {% if is_granted('ROLE_USER') == false %}
  154.                         <div class="ec-borderedDefs  non-customer-edit" style="display:none;">
  155.                             <dl>
  156.                                 <dt>
  157.                                     <label class="ec-label required">{{ 'お名前'|trans }}</label>
  158.                                     <span class="ec-required">{{ '必須'|trans }}</span>
  159.                                 </dt>
  160.                                 <dd>
  161.                                     <div class="ec-halfInput">
  162.                                         <span class="customer-form customer-name01"></span>
  163.                                         <span class="customer-form customer-name02"></span>
  164.                                     </div>
  165.                                 </dd>
  166.                             </dl>
  167.                             <dl>
  168.                                 <dt>
  169.                                     <label class="ec-label required">{{ 'お名前(カナ)'|trans }}</label>
  170.                                     <span class="ec-required">{{ '必須'|trans }}</span>
  171.                                 </dt>
  172.                                 <dd>
  173.                                     <div class="ec-halfInput">
  174.                                         <span class="customer-form customer-kana01"></span>
  175.                                         <span class="customer-form customer-kana02"></span>
  176.                                     </div>
  177.                                 </dd>
  178.                             </dl>
  179.                             <dl>
  180.                                 <dt>
  181.                                     <label class="ec-label" for="nonmember_company_name">{{ '会社名'|trans }}</label>
  182.                                 </dt>
  183.                                 <dd>
  184.                                     <div class="ec-halfInput">
  185.                                         <span class="customer-form customer-company_name"></span>
  186.                                     </div>
  187.                                 </dd>
  188.                             </dl>
  189.                             <dl>
  190.                                 <dt>
  191.                                     <label class="ec-label required">{{ '住所'|trans }}</label>
  192.                                     <span class="ec-required">{{ '必須'|trans }}</span>
  193.                                 </dt>
  194.                                 <dd>
  195.                                     <div class="ec-zipInput">
  196.                                         <span>{{ '〒'|trans }}</span>
  197.                                         <span class="customer-form customer-postal_code"></span>
  198.                                         <div class="ec-zipInputHelp">
  199.                                             <div class="ec-zipInputHelp__icon">
  200.                                                 <div class="ec-icon">
  201.                                                     <img src="{{ asset('assets/icon/question-white.svg') }}" alt="">
  202.                                                 </div>
  203.                                             </div>
  204.                                             <a href="https://www.post.japanpost.jp/zipcode/" target="_blank">
  205.                                                 <span>{{ '郵便番号検索'|trans }}</span>
  206.                                             </a>
  207.                                         </div>
  208.                                     </div>
  209.                                     <div class="ec-select">
  210.                                         <span class="customer-form customer-address_pref"></span>
  211.                                     </div>
  212.                                     <div class="ec-input">
  213.                                         <span class="customer-form customer-address_addr01"></span>
  214.                                     </div>
  215.                                     <div class="ec-input">
  216.                                         <span class="customer-form customer-address_addr02"></span>
  217.                                     </div>
  218.                                 </dd>
  219.                             </dl>
  220.                             <dl>
  221.                                 <dt>
  222.                                     <label class="ec-label required" for="nonmember_phone_number">{{ '電話番号'|trans }}</label>
  223.                                     <span class="ec-required">{{ '必須'|trans }}</span>
  224.                                 </dt>
  225.                                 <dd>
  226.                                     <div class="ec-telInput">
  227.                                         <span class="customer-form customer-phone_number"></span>
  228.                                     </div>
  229.                                 </dd>
  230.                             </dl>
  231.                             <dl>
  232.                                 <dt>
  233.                                     <label class="ec-label required">{{ 'メールアドレス'|trans }}</label>
  234.                                     <span class="ec-required">{{ '必須'|trans }}</span>
  235.                                 </dt>
  236.                                 <dd>
  237.                                     <div class="ec-input">
  238.                                         <span class="customer-form customer-email"></span>
  239.                                     </div>
  240.                                 </dd>
  241.                             </dl>
  242.                         </div>
  243.                         <div class="mod-button" style="display:none;">
  244.                             <span id="customer-ok"><button type="button" class="ec-inlineBtn">{{ 'OK'|trans }}</button></span>
  245.                             <span id="customer-cancel"><button type="button" class="ec-inlineBtn">{{ 'キャンセル'|trans }}</button></span>
  246.                         </div>
  247.                         <input type="hidden" id="customer-name01" class="customer-in" name="customer_name01" value="{{ Order.name01 }}">
  248.                         <input type="hidden" id="customer-name02" class="customer-in" name="customer_name02" value="{{ Order.name02 }}">
  249.                         <input type="hidden" id="customer-kana01" class="customer-in" name="customer_kana01" value="{{ Order.kana01 }}">
  250.                         <input type="hidden" id="customer-kana02" class="customer-in" name="customer_kana02" value="{{ Order.kana02 }}">
  251.                         <input type="hidden" id="customer-company-name" class="customer-in" name="customer_company_name" value="{{ Order.companyName }}">
  252.                         <input type="hidden" id="customer-postal_code" class="customer-in" name="customer_postal_code" value="{{ Order.postal_code }}">
  253.                         <input type="hidden" id="customer-pref" class="customer-in" name="customer_pref" value="{{ Order.pref }}">
  254.                         <input type="hidden" id="customer-addr01" class="customer-in" name="customer_addr01" value="{{ Order.addr01 }}">
  255.                         <input type="hidden" id="customer-addr02" class="customer-in" name="customer_addr02" value="{{ Order.addr02 }}">
  256.                         <input type="hidden" id="customer-phone_number" class="customer-in" name="customer_phone_number" value="{{ Order.phone_number }}">
  257.                         <input type="hidden" id="customer-email" class="customer-in" name="customer_email" value="{{ Order.email }}">
  258.                     {% endif %}
  259.                 </div>
  260.                 <div class="ec-orderDelivery">
  261.                     <div class="ec-rectHeading">
  262.                         <h2>{{ '配送情報'|trans }}</h2>
  263.                     </div>
  264.                     {% for shipping in Order.shippings %}
  265.                         {% set idx = loop.index0 %}
  266.                         {% set isShowReducedTaxMess = false %}
  267.                         <div class="ec-orderDelivery__title">{{ 'お届け先'|trans }}{% if Order.multiple %}({{ loop.index }}){% endif %}
  268.                             <div class="ec-orderDelivery__change">
  269.                                 {% if is_granted('ROLE_USER') %}
  270.                                     <button class="ec-inlineBtn" data-id="{{ shipping.id }}" data-trigger="click" data-path="{{ path('shopping_shipping', {'id': shipping.id}) }}">{{ '変更'|trans }}</button>
  271.                                 {% else %}
  272.                                     <button class="ec-inlineBtn" data-id="{{ shipping.id }}" data-trigger="click" data-path="{{ path('shopping_shipping_edit', {'id': shipping.id}) }}">{{ '変更'|trans }}</button>
  273.                                 {% endif %}
  274.                             </div>
  275.                         </div>
  276.                         <div class="ec-orderDelivery__item">
  277.                             <ul class="ec-borderedList">
  278.                                 {% for orderItem in shipping.productOrderItems %}
  279.                                     <li>
  280.                                         <div class="ec-imageGrid">
  281.                                             <div class="ec-imageGrid__img"><img src="{{ asset((orderItem.product is null ? null : orderItem.product.MainListImage)|no_image_product, 'save_image') }}" alt="{{ orderItem.productName }}"></div>
  282.                                             <div class="ec-imageGrid__content">
  283.                                                 <p>{{ orderItem.productName }}{% if is_reduced_tax_rate(orderItem) %}{{ '※'|trans }}{% set isShowReducedTaxMess = true %}{% endif %}</p>
  284.                                                 {% if orderItem.productClass is not null and orderItem.productClass.classCategory1 %}
  285.                                                     <p>{{ orderItem.productClass.classCategory1.className.name }}:{{ orderItem.productClass.classCategory1 }}</p>
  286.                                                 {% endif %}
  287.                                                 {% if orderItem.productClass is not null and orderItem.productClass.classCategory2 %}
  288.                                                     <p>{{ orderItem.productClass.classCategory2.className.name }}:{{ orderItem.productClass.classCategory2 }}</p>
  289.                                                 {% endif %}
  290.                                                 <p>{{ orderItem.priceIncTax|price }} × {{ orderItem.quantity|number_format }}<span>{{ '小計:'|trans }}{{ orderItem.totalPrice|price }}</span></p>
  291.                                             </div>
  292.                                         </div>
  293.                                     </li>
  294.                                 {% endfor %}
  295.                             </ul>
  296.                             <p>{{ isShowReducedTaxMess ? '※ は軽減税率対象商品です。'|trans }}</p>
  297.                         </div>
  298.                         <div class="ec-orderDelivery__address">
  299.                             <p>{{ ''|trans }}{{ shipping.name01 }} {{ shipping.name02 }} ({{ shipping.kana01 }} {{ shipping.kana02 }}){{ ' 様'|trans }}</p>
  300.                             <p>{{ '〒'|trans }}{{ shipping.postal_code }} {{ shipping.pref }}{{ shipping.addr01 }}{{ shipping.addr02 }}</p>
  301.                             <p>{{ shipping.phone_number }}</p>
  302.                         </div>
  303.                         <div class="ec-orderDelivery__actions">
  304.                             <div class="ec-selects">
  305.                                 <div class="ec-select">
  306.                                     <label>{{ '配送方法'|trans }}</label>
  307.                                     {{ form_widget(form.Shippings[idx].Delivery, { 'attr': { 'class': 'form-control', 'data-trigger': 'change' }}) }}
  308.                                     {{ form_errors(form.Shippings[idx].Delivery) }}
  309.                                 </div>
  310.                                 <div class="ec-select ec-select__delivery">
  311.                                     <label>{{ 'お届け日'|trans }}</label>
  312.                                     {{ form_widget(form.Shippings[idx].shipping_delivery_date, {'attr': {'class': 'form-control'}}) }}
  313.                                     {{ form_errors(form.Shippings[idx].shipping_delivery_date) }}
  314.                                 </div>
  315.                                 <div class="ec-select ec-select__time">
  316.                                     <label>{{ 'お届け時間'|trans }}</label>
  317.                                     {{ form_widget(form.Shippings[idx].DeliveryTime, {'attr': {'class': 'form-control'}}) }}
  318.                                     {{ form_errors(form.Shippings[idx].DeliveryTime) }}
  319.                                 </div>
  320.                             </div>
  321.                         </div>
  322.                     {% endfor %}
  323.                     <div class="ec-orderDelivery__edit">
  324.                         <button type="button" class="ec-inlineBtn" data-trigger="click" data-path="{{ path('shopping_shipping_multiple') }}">{{ 'お届け先を追加する'|trans }}</button>
  325.                     </div>
  326.                 </div>
  327.                 <div class="ec-orderPayment">
  328.                     <div class="ec-rectHeading">
  329.                         <h2>{{ 'お支払方法'|trans }}</h2>
  330.                     </div>
  331.                     <div class="ec-radio">
  332.                         {% for key, child in form.Payment %}
  333.                             <div style="display: block;">
  334.                                 {% set Payment = form.Payment.vars.choices[key].data %}
  335.                                 {{ form_widget(child, { 'attr': { 'data-trigger': 'change' }}) }}
  336.                                 {% if Payment.payment_image is not null %}
  337.                                     <p><img src="{{ asset(Payment.payment_image, 'save_image') }}"></p>
  338.                                 {% endif %}
  339.                             </div>
  340.                         {% endfor %}
  341.                     </div>
  342.                     <div class="ec-input {{ has_errors(form.Payment) ? ' error' }}">{{ form_errors(form.Payment) }}</div>
  343.                                         <p><font color="#FF1493">【ポイントご利用の場合】<br/>
  344.                         1pt =1円<br/>
  345.                         ご希望の支払い方法を選択後<br/>
  346.                         下記【利用ポイント】へ利用するポイントをご記入ください。</font><br/>
  347.                         <br/>
  348.                         【 送料 】(税込)<br/>
  349.                         ・九州:660円<br/>
  350.                         ・その他(四国・本州):880円<br/>
  351.                         ・北海道・沖縄:1,100円<br/>
  352.                         <br/>
  353.                         【 手数料:代金引換 】(税込)<br/>
  354.                         ・0円 ~10,000円:330円<br/>
  355.                         ・10,001円 ~30,000円:440円<br/>
  356.                         ・30,001円 ~100,000円:660円<br/>
  357.                         ・100,001円 ~300,000円:1,100円<br/></p>
  358.                         
  359.                 </div>
  360.                 {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  361.                     <div class="ec-orderPayment">
  362.                         <div class="ec-rectHeading">
  363.                             <h2>{{ '利用ポイント'|trans }}</h2>
  364.                         </div>
  365.                         <div class="ec-input {{ has_errors(form.use_point) ? ' error' }}">
  366.                             <p>{{ '【%point% pt 】が利用可能です。'|trans({ '%point%': Order.Customer.Point|number_format }) }}</p>
  367.                             {{ form_widget(form.use_point, { 'attr': { 'type': 'text', 'class': 'form-control', 'data-trigger': 'change' }}) }}
  368.                             {{ form_errors(form.use_point) }}
  369.                         </div>
  370.                     </div>
  371.                 {% endif %}
  372.                 <div class="ec-orderConfirm">
  373.                     <div class="ec-rectHeading">
  374.                         <h2>{{ 'お問い合わせ'|trans }}</h2>
  375.                     </div>
  376.                     <div class="ec-input">
  377.                         {{ form_widget(form.message, {'attr': {'class': 'form-control', 'placeholder': 'お問い合わせ事項がございましたら、こちらにご入力ください。(3000文字まで)'|trans, 'rows': '6'}}) }}
  378.                         {{ form_errors(form.message) }}
  379.                     </div>
  380.                 </div>
  381.                 {% for activeTradeLaw in activeTradeLaws|filter(t => t.name and t.description) %}
  382.                     <div class="ec-orderConfirm">
  383.                         <div class="ec-rectHeading">
  384.                             <h2>{{ activeTradeLaw.name }}</h2>
  385.                         </div>
  386.                         <div class="ec-input">
  387.                             {{ activeTradeLaw.description|raw }}
  388.                         </div>
  389.                     </div>
  390.                 {% endfor %}
  391.             </div>
  392.             <div class="ec-orderRole__summary">
  393.                 <div class="ec-totalBox">
  394.                     <dl class="ec-totalBox__spec">
  395.                         <dt>{{ '小計'|trans }}</dt>
  396.                         <dd class="ec-totalBox__specTotal">{{ Order.subtotal|price }}</dd>
  397.                     </dl>
  398.                     <dl class="ec-totalBox__spec">
  399.                         <dt>{{ '手数料'|trans }}</dt>
  400.                         <dd>{{ Order.charge|price }}</dd>
  401.                     </dl>
  402.                     <dl class="ec-totalBox__spec">
  403.                         <dt>{{ '送料'|trans }}</dt>
  404.                         <dd>{{ Order.deliveryFeeTotal|price }}</dd>
  405.                     </dl>
  406.                     {% if Order.taxable_discount < 0 %}
  407.                     <dl class="ec-totalBox__spec">
  408.                         <dt>{{ '値引き'|trans }}</dt>
  409.                         <dd>{{ Order.taxable_discount|price }}</dd>
  410.                     </dl>
  411.                     {% endif %}
  412.                     <div class="ec-totalBox__total">{{ '合計'|trans }}<span class="ec-totalBox__price">{{ Order.taxable_total|price }}</span><span class="ec-totalBox__taxLabel">{{ '税込'|trans }}</span></div>
  413.                     {% for item in Order.tax_free_discount_items %}
  414.                         <dl class="ec-totalBox__spec">
  415.                             <dt>{{ item.product_name }}</dt>
  416.                             <dd>{{ item.total_price|price }}</dd>
  417.                         </dl>
  418.                     {% endfor %}
  419.                     <div class="ec-totalBox__paymentTotal">{{ 'お支払い合計'|trans }}<span class="ec-totalBox__price">{{ Order.payment_total|price }}</span><span class="ec-totalBox__taxLabel">{{ '税込'|trans }}</span></div>
  420.                     {% for rate, total in Order.total_by_tax_rate %}
  421.                     <dl class="ec-totalBox__taxRate">
  422.                         <dt>{{ '税率 %rate% %対象'|trans({ '%rate%': rate }) }}</dt>
  423.                         <dd>{{ total|price }} ({{ '内消費税'|trans }} {{ Order.tax_by_tax_rate[rate]|price }})</dd>
  424.                     </dl>
  425.                     {% endfor %}
  426.                     {% if BaseInfo.isOptionPoint and Order.Customer is not null %}
  427.                     <div class="ec-totalBox__pointBlock">
  428.                         <dl class="ec-totalBox__spec">
  429.                             <dt>{{ 'ご利用ポイント'|trans }}</dt>
  430.                             <dd>{{ Order.UsePoint|number_format }} pt</dd>
  431.                         </dl>
  432.                         {#<dl class="ec-totalBox__spec">#}
  433.                         {#    <dt><span class="ec-font-bold">{{ '加算ポイント'|trans }}</span></dt>#}
  434.                         {#    <dd><span class="ec-font-bold">{{ Order.AddPoint|number_format }} pt</span></dd>#}
  435.                         {#</dl>#}
  436.                     </div>
  437.                     {% endif %}
  438.                     <div class="ec-totalBox__btn">
  439.                         <button type="submit" class="ec-blockBtn--action">{{ '確認する'|trans }}</button>
  440.                         <a href="{{ url("cart") }}" class="ec-blockBtn--cancel">{{ 'カートに戻る'|trans }}</a>
  441.                     </div>
  442.                 </div>
  443.             </div>
  444.         </div>
  445.     </form>
  446. {% endblock %}