2023/04/13更新
+ 追加した行
- 削除した行
定期受注のクーポンをマイページから更新可能にする
mypage > 定期注文詳細画面 基本情報の編集
ec_force/shop/customer/subs_orders/edit.html.liquid
ec_force/shop/customer/subs_orders/edit.html+smartphone.liquid
- <!-- 送信リンク -->
- {% unless subs_order.coupon_id %}
+ <!-- 送信リンク、外すリンク -->
+ {% if subs_order.coupon_id %}
+ <a data-confirm="本当に外しますか?" rel="nofollow" href="javascript:remove_coupon.submit();">外す</a>
+ {% else %}
<input type="submit" name="commit" value="保存" data-disable-with="保存中..." />
- {% endunless %}
+ {% endif %}
<!-- 戻るリンク -->
<a href="/shop/customer/subs_orders/{{ subs_order.number }}">戻る</a>
</form>
+
+ <form name="remove_coupon" action="/shop/customer/subs_orders/{{ subs_order.number }}" accept-charset="UTF-8" method="post">
+ <input type="hidden" name="_method" value="put">
+ <input type="hidden" name="subs_order[coupon_code]">
+ </form>
Google検索結果画面に商品が持つレビュー数やおすすめレベルを表示する
本記述を実施しただけでは Google 検索結果へ表示されません。
検索結果に反映するためにはGoogleのデータベースの更新が必要ですが、 ecforce の設定で Google の検索の表示内容をコントロールできません。
product > 商品詳細画面
ec_force/shop/products/show.html.liquid
ec_force/shop/products/show.html+smartphone.liquid
重要
2023/11/21 にコード修正がリリースされています。
本件につきましては必ず修正版のコードをご利用ください。
<!-- カート追加 -->
<form action="/shop/cart/add" method="post">
<input name="variant_id" type="hidden" value="{{ related_product.related_product_variants_id }}">
<button>カートに追加する</button>
</form>
{% endfor %}
{% endif %}
</div>
+
+<script type="application/ld+json">
+ {
+ "@context": "https://schema.org/",
+ "@type": "Product",
+ "name": {{ @product&.name }},
+ "aggregateRating" : {
+ "@type": "AggregateRating",
+ "bestRating": '5',
+ "worstRating": '1',
+ "reviewRating": {{ @reviews&.count }},
+ "ratingValue": {{ @product&.average_star }}
+ }
+ }
+</script>
ショップ購入フォームに商品カテゴリ単位でカスタム項目を表示する
cart > 注文情報確認画面
ec_force/shop/orders/confirm.html.liquid
ec_force/shop/orders/confirm.html+smartphone.liquid
<!-- カスタム項目 -->
- {% if base_info.use_free_columns? and shop_form_settings['free_column'] and liquid_custom_field %}
+ {% if base_info.use_free_columns? and shop_form_settings['free_column'] and liquid_custom_field != empty %}
{% assign setting = shop_form_settings['free_column_title'] %}
<!-- カスタム項目タイトル名 -->
cart > サンクスオファー確認画面
ec_force/shop/orders/cv_confirm.html.liquid
ec_force/shop/orders/cv_confirm.html+smartphone.liquid
<!-- カスタム項目 -->
- {% if base_info.use_free_columns? and shop_form_settings['free_column'] and liquid_custom_field %}
+ {% if base_info.use_free_columns? and shop_form_settings['free_column'] and liquid_custom_field != empty %}
{% assign setting = shop_form_settings['free_column_title'] %}
<!-- カスタム項目タイトル名 -->
cart > カスタム項目(部分テンプレート)
ec_force/shop/orders/_view_free_columns.html.liquid
ec_force/shop/orders/_view_free_columns.html+smartphone.liquid
<!-- カスタム項目 -->
<!-- id,class,data属性等はJSで制御する際に必要なので変更不可 -->
<div id="view-free_columns">
- {% if base_info.use_free_columns? and shop_form_settings['free_column'] and liquid_custom_field %}
+ {% if base_info.use_free_columns? and shop_form_settings['free_column'] and liquid_custom_field != empty %}
<!-- カスタム項目タイトル名 -->
カートページへ遷移せずにカートへ商品を追加できるボタンを追加(商品詳細画面以外)
2023/02/05 更新の「カートページへ遷移せずにカートへ商品を追加できるボタンを追加」では、対象画面は商品詳細ページのみでした。
本リリースで商品一覧ページ・商品カテゴリー詳細ページ・キーワード検索結果商品一覧画面でも動作可能となりました。
フリーページ上で実現したい場合は、ページ管理 (opens in a new tab)で作成するページの本文部分へ記述します。
参考FAQ:フリーページ上でカートへ遷移せずに商品を追加する方法は (opens in a new tab)
product > 商品一覧画面,商品カテゴリー詳細画面,キーワード検索結果商品一覧画面
ec_force/shop/products/index.html.liquid
ec_force/shop/products/index.html+smartphone.liquid
ec_force/shop/product_categories/show.html.liquid
ec_force/shop/product_categories/show.html+smartphone.liquid
ec_force/shop/searches/show.html.liquid
ec_force/shop/searches/show.html+smartphone.liquid
+<div id="add_product_async_view">
+ <!-- カートに商品を追加用のメッセージ(任意) -->
+ <div id="cart-addition-success" style="display:none;">カートに商品を追加しました。</div>
+ <div id="cart-addition-failure" style="display:none;">
+ <div id="addition-failure-message"></div>
+ <div id="btn-show-addition-failure-details" style="display:none;">さらに詳しく</div>
+ <div id="addition-failure-details" style="display:none;"></div>
+ <div id="btn-hide-addition-failure-details" style="display:none;">閉じる</div>
+ </div>
{% for product in products %}
<!-- 説明 (Mobile) -->
{{ product.parsed_description_mobile | simple_format }}
+ {% unless product.master.out_of_stock? or product.set? %}
+ <button class="btn-add-async" data-variant-id="{{product.master.id}}" data-quantity="{{product.master.min_quantity}}">カートに商品を追加</button>
+ {% endunless %}
{% endfor %}
+</div>
<!-- ページネーション -->
マイページでのポイント有効期限の表示修正
一部条件を満たすときにポイント有効期限が正しく表示されない不具合を修正しました。
mypage > ポイント履歴一覧
ec_force/shop/customer/points/index.html.liquid
ec_force/shop/customer/points/index.html+smartphone.liquid
{% if point_total > 0 or current_customer.grant_plan_point > 0 %}
+ <!-- 付与予定ポイント -->
+ {{ current_customer.grant_plan_point | number_with_delimiter }}
+
<!-- 合計ポイント -->
{{ current_customer.point_total | number_with_delimiter }}
- {% unless is_point_expired_date_taken_each_history %}
+ <!-- 有効期限(ポイント有効期限の設定が「付与する毎に日数更新」かつ有効期限が1種類の場合) -->
+ {% if is_point_expired_date_taken_each_history == false and point_details.size <= 1 %}
<!-- 有効期限 -->
{% if latest_point_expiration == null %}
無制限
{% else %}
{{ latest_point_expiration | date: "%Y/%m/%d %H:%M:%S" }}
{% endif %}
- {% endunless %}
-
- <!-- 付与予定ポイント -->
- {{ current_customer.grant_plan_point }}
+ {% endif %}
- {% if is_point_expired_date_taken_each_history and point_details %}
+ <!-- 有効期限別ポイント数(ポイント有効期限の設定が「付与履歴毎に有効期限を保有」または有効期限が複数ある場合) -->
+ {% if is_point_expired_date_taken_each_history or point_details.size > 1 %}
<!-- 有効期限別 -->
{% for point_detail in point_details %}
{% if point_detail.point_each and point_detail.point_each != 0 %}
<!-- 所有ポイント -->
- {{ point_detail.point_each }}
+ {{ point_detail.point_each | number_with_delimiter }}
<!-- 有効期限 -->
-{% if points %}
+{% if points != null and points.size > 0 %}
<!-- ポイント履歴一覧 -->
<!-- 合計ポイント -->
{{ point.point_total | number_with_delimiter }}
- {% if is_point_expired_date_taken_each_history %}
+ {% if is_point_expired_date_taken_each_history or point_details.size > 1 %}
<!-- 有効期限 -->
顧客情報の入力時の動作改善(オートコンプリート対応)
auth > 会員ログイン,会員登録画面
ec_force/shop/customers/registrations/new.html.liquid
ec_force/shop/customers/registrations/new.html+smartphone.liquid
ec_force/shop/customers/sessions/new.html.liquid
ec_force/shop/customers/sessions/new.html+smartphone.liquid
<!-- メールアドレス -->
<label for="customer_email_si">メールアドレス</label>
- <input class="validate[required,custom[email]]" type="text" name="customer[email]" id="customer_email_si" />
+ <input class="validate[required,custom[email]]" type="text" name="customer[email]" autocomplete="email" id="customer_email_si" />
<!-- パスワード -->
<label for="customer_password_si">パスワード</label>
- <input type="password" class="validate[required]" name="customer[password]" id="customer_password_si" />
+ <input type="password" class="validate[required]" name="customer[password]" autocomplete="current-password" id="customer_password_si" />
<!-- お名前 -->
<label for="customer_billing_address_attributes_name01">お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input class="validate[required]" type="text" value="" name="customer[billing_address_attributes][name01]" id="customer_billing_address_attributes_name01" />
+ <input class="validate[required]" type="text" value="" name="customer[billing_address_attributes][name01]" autocomplete="name" id="customer_billing_address_attributes_name01" />
{% else %}
- <input class="validate[required]" type="text" value="" name="customer[billing_address_attributes][name01]" id="customer_billing_address_attributes_name01" />
- <input class="validate[required]" type="text" value="" name="customer[billing_address_attributes][name02]" id="customer_billing_address_attributes_name02" />
+ <input class="validate[required]" type="text" value="" name="customer[billing_address_attributes][name01]" autocomplete="family-name" id="customer_billing_address_attributes_name01" />
+ <input class="validate[required]" type="text" value="" name="customer[billing_address_attributes][name02]" autocomplete="given-name" id="customer_billing_address_attributes_name02" />
{% endif %}
<label for="customer_billing_address_attributes_zip01">郵便番号</label>
{% if shop_form_settings['zip_1_field'] %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][zip01]" id="customer_billing_address_attributes_zip01" maxlength='7' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][zip01]" autocomplete="postal-code" id="customer_billing_address_attributes_zip01" maxlength='7' />
{% else %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][zip01]" id="customer_billing_address_attributes_zip01" maxlength='3' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][zip01]" autocomplete="postal-code" id="customer_billing_address_attributes_zip01" maxlength='3' />
<span>−</span>
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][zip02]" id="customer_billing_address_attributes_zip02" maxlength='4' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][zip02]" autocomplete="none" id="customer_billing_address_attributes_zip02" maxlength='4' />
{% endif %}
<!-- 電話番号 -->
<label for="customer_billing_address_attributes_tel01">電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel01]" id="customer_billing_address_attributes_tel01" maxlength='12' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel01]" autocomplete="tel" id="customer_billing_address_attributes_tel01" maxlength='12' />
{% else %}
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel01]" id="customer_billing_address_attributes_tel01" maxlength='5' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel01]" autocomplete="none" id="customer_billing_address_attributes_tel01" maxlength='5' />
<span>−</span>
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel02]" id="customer_billing_address_attributes_tel02" maxlength='4' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel02]" autocomplete="none" id="customer_billing_address_attributes_tel02" maxlength='4' />
<span>−</span>
- <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel03]" id="customer_billing_address_attributes_tel03" maxlength='4' />
+ <input class="validate[required,custom[integer]]" type="text" value="" name="customer[billing_address_attributes][tel03]" autocomplete="none" id="customer_billing_address_attributes_tel03" maxlength='4' />
{% endif %}
<!-- 会社名 -->
{% if shop_form_settings['company'] %}
<label for="customer_billing_address_attributes_company_name">会社名</label>
- <input type="text" value="" name="customer[billing_address_attributes][company_name]" id="customer_billing_address_attributes_company_name">
+ <input type="text" value="" name="customer[billing_address_attributes][company_name]" autocomplete="organization" id="customer_billing_address_attributes_company_name">
{% endif %}
<!-- メールアドレス -->
{% if shop_form_settings['email'] %}
<label for="customer_email">メールアドレス</label>
- <input class="js-email-autocomplete validate[required,custom[email]]" type="text" name="customer[email]" id="customer_email" />
+ <input class="js-email-autocomplete validate[required,custom[email]]" type="text" name="customer[email]" autocomplete="email" id="customer_email" />
{% endif %}
<!-- 生年月日 -->
{% if shop_form_settings["birth"] %}
<label for="customer_birth">生年月日</label>
- <select id="customer_birth_1i" name="customer[birth(1i)]" class="validate[condRequired[customer_birth_2i,customer_birth_3i]]">
+ <select id="customer_birth_1i" name="customer[birth(1i)]" autocomplete="bday-year" class="validate[condRequired[customer_birth_2i,customer_birth_3i]]">
- <select id="customer_birth_2i" name="customer[birth(2i)]" class="validate[condRequired[customer_birth_1i,customer_birth_3i]]">
+ <select id="customer_birth_2i" name="customer[birth(2i)]" autocomplete="bday-month" class="validate[condRequired[customer_birth_1i,customer_birth_3i]]">
- <select id="customer_birth_3i" name="customer[birth(3i)]" class="validate[condRequired[customer_birth_1i,customer_birth_2i]]">
+ <select id="customer_birth_3i" name="customer[birth(3i)]" autocomplete="bday-day" class="validate[condRequired[customer_birth_1i,customer_birth_2i]]">
auth > パスワードリセット案内画面
ec_force/shop/customers/passwords/new.html.liquid
ec_force/shop/customers/passwords/new.html+smartphone.liquid
<!-- メールアドレス -->
- <input class="validate[required], custom[email]]" name="customer[email]" id="customer_email" />
+ <input class="validate[required], custom[email]]" name="customer[email]" autocomplete="email" id="customer_email" />
cart > 請求先住所(部分テンプレート)
ec_force/shop/orders/_view_billing_information.html.liquid
ec_force/shop/orders/_view_billing_information.html+smartphone.liquid
<label>お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input type="text" class='validate[required]' id='order_billing_address_attributes_name01' name='order[billing_address_attributes][name01]' value="{% if order.billing_address %}{{ order.billing_address.full_name }}{% else %}{{ order.customer.billing_address.full_name }}{% endif %}">
+ <input type="text" class='validate[required]' id='order_billing_address_attributes_name01' name='order[billing_address_attributes][name01]' autocomplete="name" value="{% if order.billing_address %}{{ order.billing_address.full_name }}{% else %}{{ order.customer.billing_address.full_name }}{% endif %}">
{% else %}
<span>姓</span>
- <input type="text" class='validate[required]' id='order_billing_address_attributes_name01' name='order[billing_address_attributes][name01]' value="{% if order.billing_address %}{{ order.billing_address.name01 }}{% else %}{{ order.customer.billing_address.name01 }}{% endif %}">
+ <input type="text" class='validate[required]' id='order_billing_address_attributes_name01' name='order[billing_address_attributes][name01]' autocomplete="family-name" value="{% if order.billing_address %}{{ order.billing_address.name01 }}{% else %}{{ order.customer.billing_address.name01 }}{% endif %}">
<span>名</span>
- <input type="text" class='validate[required]' id='order_billing_address_attributes_name02' name='order[billing_address_attributes][name02]' value="{% if order.billing_address %}{{ order.billing_address.name02 }}{% else %}{{ order.customer.billing_address.name02 }}{% endif %}">
+ <input type="text" class='validate[required]' id='order_billing_address_attributes_name02' name='order[billing_address_attributes][name02]' autocomplete="given-name" value="{% if order.billing_address %}{{ order.billing_address.name02 }}{% else %}{{ order.customer.billing_address.name02 }}{% endif %}">
{% endif %}
<label>郵便番号</label>
{% if shop_form_settings['zip_1_field'] %}
<span>〒</span>
- <input type="text" class='validate[required,custom[integer]]' id='order_billing_address_attributes_zip01' maxlength='7' name='order[billing_address_attributes][zip01]' value='{% if order.billing_address %}{{ order.billing_address.full_zip }}{% else %}{{ order.customer.billing_address.full_zip }}{% endif %}'>
+ <input type="text" class='validate[required,custom[integer]]' id='order_billing_address_attributes_zip01' maxlength='7' name='order[billing_address_attributes][zip01]' autocomplete="postal-code" value='{% if order.billing_address %}{{ order.billing_address.full_zip }}{% else %}{{ order.customer.billing_address.full_zip }}{% endif %}'>
{% else %}
<span>〒</span>
- <input type="text" class='validate[required,custom[integer]]' id='order_billing_address_attributes_zip01' maxlength='3' name='order[billing_address_attributes][zip01]' value='{% if order.billing_address %}{{ order.billing_address.zip01 }}{% else %}{{ order.customer.billing_address.zip01 }}{% endif %}'>
+ <input type="text" class='validate[required,custom[integer]]' id='order_billing_address_attributes_zip01' maxlength='3' name='order[billing_address_attributes][zip01]' autocomplete="postal-code" value='{% if order.billing_address %}{{ order.billing_address.zip01 }}{% else %}{{ order.customer.billing_address.zip01 }}{% endif %}'>
<span>−</span>
- <input type="text" class='validate[required,custom[integer]]' id='order_billing_address_attributes_zip02' maxlength='4' name='order[billing_address_attributes][zip02]' value='{% if order.billing_address %}{{ order.billing_address.zip02 }}{% else %}{{ order.customer.billing_address.zip02 }}{% endif %}'>
+ <input type="text" class='validate[required,custom[integer]]' id='order_billing_address_attributes_zip02' maxlength='4' name='order[billing_address_attributes][zip02]' autocomplete="none" value='{% if order.billing_address %}{{ order.billing_address.zip02 }}{% else %}{{ order.customer.billing_address.zip02 }}{% endif %}'>
{% endif %}
<label>電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input type="tel" class='validate[required,custom[integer]]' maxlength='12' name='order[billing_address_attributes][tel01]' value='{% if order.billing_address %}{{ order.billing_address.full_tel }}{% else %}{{ order.customer.billing_address.full_tel }}{% endif %}'>
+ <input type="tel" class='validate[required,custom[integer]]' maxlength='12' name='order[billing_address_attributes][tel01]' autocomplete="tel" value='{% if order.billing_address %}{{ order.billing_address.full_tel }}{% else %}{{ order.customer.billing_address.full_tel }}{% endif %}'>
{% else %}
- <input type="tel" class='validate[required,custom[integer]]' maxlength='5' name='order[billing_address_attributes][tel01]' value='{% if order.billing_address %}{{ order.billing_address.tel01 }}{% else %}{{ order.customer.billing_address.tel01 }}{% endif %}'>
+ <input type="tel" class='validate[required,custom[integer]]' maxlength='5' name='order[billing_address_attributes][tel01]' autocomplete="none" value='{% if order.billing_address %}{{ order.billing_address.tel01 }}{% else %}{{ order.customer.billing_address.tel01 }}{% endif %}'>
<span>-</span>
- <input type="tel" class='validate[required,custom[integer]]' maxlength='4' name='order[billing_address_attributes][tel02]' value='{% if order.billing_address %}{{ order.billing_address.tel02 }}{% else %}{{ order.customer.billing_address.tel02 }}{% endif %}'>
+ <input type="tel" class='validate[required,custom[integer]]' maxlength='4' name='order[billing_address_attributes][tel02]' autocomplete="none" value='{% if order.billing_address %}{{ order.billing_address.tel02 }}{% else %}{{ order.customer.billing_address.tel02 }}{% endif %}'>
<span>-</span>
- <input type="tel" class='validate[required,custom[integer]]' maxlength='4' name='order[billing_address_attributes][tel03]' value='{% if order.billing_address %}{{ order.billing_address.tel03 }}{% else %}{{ order.customer.billing_address.tel03 }}{% endif %}'>
+ <input type="tel" class='validate[required,custom[integer]]' maxlength='4' name='order[billing_address_attributes][tel03]' autocomplete="none" value='{% if order.billing_address %}{{ order.billing_address.tel03 }}{% else %}{{ order.customer.billing_address.tel03 }}{% endif %}'>
{% endif %}
<label>会社名</label>
- <input type="text" name='order[billing_address_attributes][company_name]' value='{% if order.billing_address %}{{ order.billing_address.company_name }}{% else %}{{ order.customer.billing_address.company_name }}{% endif %}'>
+ <input type="text" name='order[billing_address_attributes][company_name]' autocomplete="organization" value='{% if order.billing_address %}{{ order.billing_address.company_name }}{% else %}{{ order.customer.billing_address.company_name }}{% endif %}'>
<label>メールアドレス</label>
{% if customer_signed_in %}
<input disabled id='email' type='email' value='{{ current_customer.email }}'>
<input name='order[email]' type='hidden' value='{{ current_customer.email }}'>
<input name='order[customer_attributes][email]' type='hidden' value='{{ current_customer.email }}'>
{% else %}
- <input type="email" name='order[email]' id='email' class='js-email-autocomplete validate[required,custom[email],ajax[emailCheck]]' value="{% if order.email %}{{ order.email }}{% elsif line_email %}{{ line_email }}{% endif %}">
+ <input type="email" name='order[email]' autocomplete="email" id='email' class='js-email-autocomplete validate[required,custom[email],ajax[emailCheck]]' value="{% if order.email %}{{ order.email }}{% elsif line_email %}{{ line_email }}{% endif %}">
<input name='order[customer_attributes][email]' type='hidden' value='{{ order.email }}' id='customer_email'>
{% endif %}
<!-- 生年月日 -->
{% if shop_form_settings["birth"] or order.age_check_required? %}
<label>生年月日</label>
- <select class='{% if order.age_check_required? %}validate[required,custom[ageCheck]]{% elsif shop_form_settings["birth_require"] %}validate[required]{% else %}validate[condRequired[order_customer_attributes_birth_2i,order_customer_attributes_birth_3i]]{% endif %}' id='order_customer_attributes_birth_1i' name='order[customer_attributes][birth(1i)]'>
+ <select class='{% if order.age_check_required? %}validate[required,custom[ageCheck]]{% elsif shop_form_settings["birth_require"] %}validate[required]{% else %}validate[condRequired[order_customer_attributes_birth_2i,order_customer_attributes_birth_3i]]{% endif %}' id='order_customer_attributes_birth_1i' name='order[customer_attributes][birth(1i)]' autocomplete="bday-year">
- <select class='{% if order.age_check_required? %}validate[required,custom[ageCheck]]{% elsif shop_form_settings["birth_require"] %}validate[required]{% else %}validate[condRequired[order_customer_attributes_birth_1i,order_customer_attributes_birth_3i]]{% endif %}' id='order_customer_attributes_birth_2i' name='order[customer_attributes][birth(2i)]'>
+ <select class='{% if order.age_check_required? %}validate[required,custom[ageCheck]]{% elsif shop_form_settings["birth_require"] %}validate[required]{% else %}validate[condRequired[order_customer_attributes_birth_1i,order_customer_attributes_birth_3i]]{% endif %}' id='order_customer_attributes_birth_2i' name='order[customer_attributes][birth(2i)]' autocomplete="bday-month">
- <select class='{% if order.age_check_required? %}validate[required,custom[ageCheck]]{% elsif shop_form_settings["birth_require"] %}validate[required]{% else %}validate[condRequired[order_customer_attributes_birth_1i,order_customer_attributes_birth_2i]]{% endif %}' id='order_customer_attributes_birth_3i' name='order[customer_attributes][birth(3i)]'>
+ <select class='{% if order.age_check_required? %}validate[required,custom[ageCheck]]{% elsif shop_form_settings["birth_require"] %}validate[required]{% else %}validate[condRequired[order_customer_attributes_birth_1i,order_customer_attributes_birth_2i]]{% endif %}' id='order_customer_attributes_birth_3i' name='order[customer_attributes][birth(3i)]' autocomplete="bday-day">
cart > お届け先住所(部分テンプレート)
ec_force/shop/orders/_view_shipping_information.html.liquid
ec_force/shop/orders/_view_shipping_information.html+smartphone.liquid
<!-- お名前 -->
<label>お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input type="text" class="validate[required]" id="order_shipping_address_attributes_name01" name="order[shipping_address_attributes][name01]" value="{% if order.shipping_address %}{{ order.shipping_address.full_name }}{% else %}{{ order.customer.shipping_address.full_name }}{% endif %}">
+ <input type="text" class="validate[required]" id="order_shipping_address_attributes_name01" name="order[shipping_address_attributes][name01]" autocomplete="name" value="{% if order.shipping_address %}{{ order.shipping_address.full_name }}{% else %}{{ order.customer.shipping_address.full_name }}{% endif %}">
{% else %}
<span>姓</span>
- <input type="text" class="validate[required]" id="order_shipping_address_attributes_name01" name="order[shipping_address_attributes][name01]" value="{% if order.shipping_address %}{{ order.shipping_address.name01 }}{% else %}{{ order.customer.shipping_address.name01 }}{% endif %}">
+ <input type="text" class="validate[required]" id="order_shipping_address_attributes_name01" name="order[shipping_address_attributes][name01]" autocomplete="family-name" value="{% if order.shipping_address %}{{ order.shipping_address.name01 }}{% else %}{{ order.customer.shipping_address.name01 }}{% endif %}">
<span>名</span>
- <input type="text" class="validate[required]" id="order_shipping_address_attributes_name02" name="order[shipping_address_attributes][name02]" value="{% if order.shipping_address %}{{ order.shipping_address.name02 }}{% else %}{{ order.customer.shipping_address.name02 }}{% endif %}">
+ <input type="text" class="validate[required]" id="order_shipping_address_attributes_name02" name="order[shipping_address_attributes][name02]" autocomplete="given-name" value="{% if order.shipping_address %}{{ order.shipping_address.name02 }}{% else %}{{ order.customer.shipping_address.name02 }}{% endif %}">
{% endif %}
<label>郵便番号</label>
{% if shop_form_settings['zip_1_field'] %}
<span>〒</span>
- <input type="tel" class="validate[required,custom[integer]]" id="order_shipping_address_attributes_zip01" maxlength="7" name="order[shipping_address_attributes][zip01]" value="{% if order.shipping_address %}{{ order.shipping_address.full_zip }}{% else %}{{ order.customer.shipping_address.full_zip }}{% endif %}">
+ <input type="tel" class="validate[required,custom[integer]]" id="order_shipping_address_attributes_zip01" maxlength="7" name="order[shipping_address_attributes][zip01]" autocomplete="postal-code" value="{% if order.shipping_address %}{{ order.shipping_address.full_zip }}{% else %}{{ order.customer.shipping_address.full_zip }}{% endif %}">
{% else %}
<span>〒</span>
- <input type="tel" class="validate[required,custom[integer]]" id="order_shipping_address_attributes_zip01" maxlength="3" name="order[shipping_address_attributes][zip01]" value="{% if order.shipping_address %}{{ order.shipping_address.zip01 }}{% else %}{{ order.customer.shipping_address.zip01 }}{% endif %}">
+ <input type="tel" class="validate[required,custom[integer]]" id="order_shipping_address_attributes_zip01" maxlength="3" name="order[shipping_address_attributes][zip01]" autocomplete="postal-code" value="{% if order.shipping_address %}{{ order.shipping_address.zip01 }}{% else %}{{ order.customer.shipping_address.zip01 }}{% endif %}">
<span>−</span>
- <input type="tel" class="validate[required,custom[integer]]" id="order_shipping_address_attributes_zip02" maxlength="4" name="order[shipping_address_attributes][zip02]" value="{% if order.shipping_address %}{{ order.shipping_address.zip02 }}{% else %}{{ order.customer.shipping_address.zip01 }}{% endif %}">
+ <input type="tel" class="validate[required,custom[integer]]" id="order_shipping_address_attributes_zip02" maxlength="4" name="order[shipping_address_attributes][zip02]" autocomplete="none" value="{% if order.shipping_address %}{{ order.shipping_address.zip02 }}{% else %}{{ order.customer.shipping_address.zip01 }}{% endif %}">
{% endif %}
<!-- 電話番号 -->
<label>電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input type="tel" class="validate[required,custom[integer]]" maxlength="12" name="order[shipping_address_attributes][tel01]" value="{{ order.shipping_address.full_tel }}">
+ <input type="tel" class="validate[required,custom[integer]]" maxlength="12" name="order[shipping_address_attributes][tel01]" autocomplete="tel" value="{{ order.shipping_address.full_tel }}">
{% else %}
- <input type="tel" class="validate[required,custom[integer]]" maxlength="5" name="order[shipping_address_attributes][tel01]" value="{{ order.shipping_address.tel01 }}">
+ <input type="tel" class="validate[required,custom[integer]]" maxlength="5" name="order[shipping_address_attributes][tel01]" autocomplete="none" value="{{ order.shipping_address.tel01 }}">
<span>-</span>
- <input type="tel" class="validate[required,custom[integer]]" maxlength="4" name="order[shipping_address_attributes][tel02]" value="{{ order.shipping_address.tel02 }}">
+ <input type="tel" class="validate[required,custom[integer]]" maxlength="4" name="order[shipping_address_attributes][tel02]" autocomplete="none" value="{{ order.shipping_address.tel02 }}">
<span>-</span>
- <input type="tel" class="validate[required,custom[integer]]" maxlength="4" name="order[shipping_address_attributes][tel03]" value="{{ order.shipping_address.tel03 }}">
+ <input type="tel" class="validate[required,custom[integer]]" maxlength="4" name="order[shipping_address_attributes][tel03]" autocomplete="none" value="{{ order.shipping_address.tel03 }}">
{% endif %}
mypage > 会員情報変更画面
ec_force/shop/customer/base/edit.html.liquid
ec_force/shop/customer/base/edit.html+smartphone.liquid
<!-- お名前 -->
<label for="customer_billing_address_attributes_name01">お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input class="validate[required]" type="text" value="{{ current_customer.billing_address.full_name }}" name="customer[billing_address_attributes][name01]" id="customer_billing_address_attributes_name01">
+ <input class="validate[required]" type="text" value="{{ current_customer.billing_address.full_name }}" name="customer[billing_address_attributes][name01]" autocomplete="name" id="customer_billing_address_attributes_name01">
{% else %}
- <input class="validate[required]" type="text" value="{{ current_customer.billing_address.name01 }}" name="customer[billing_address_attributes][name01]" id="customer_billing_address_attributes_name01">
- <input class="validate[required]" type="text" value="{{ current_customer.billing_address.name02 }}" name="customer[billing_address_attributes][name02]" id="customer_billing_address_attributes_name02">
+ <input class="validate[required]" type="text" value="{{ current_customer.billing_address.name01 }}" name="customer[billing_address_attributes][name01]" autocomplete="family-name" id="customer_billing_address_attributes_name01">
+ <input class="validate[required]" type="text" value="{{ current_customer.billing_address.name02 }}" name="customer[billing_address_attributes][name02]" autocomplete="given-name" id="customer_billing_address_attributes_name02">
{% endif %}
<label for="customer_billing_address_attributes_zip01">郵便番号</label>
〒
{% if shop_form_settings['zip_1_field'] %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.full_zip }}" name="customer[billing_address_attributes][zip01]" id="customer_billing_address_attributes_zip01" maxlength='7'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.full_zip }}" name="customer[billing_address_attributes][zip01]" autocomplete="postal-code" id="customer_billing_address_attributes_zip01" maxlength='7'>
{% else %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.zip01 }}" name="customer[billing_address_attributes][zip01]" id="customer_billing_address_attributes_zip01" maxlength='3'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.zip01 }}" name="customer[billing_address_attributes][zip01]" autocomplete="postal-code" id="customer_billing_address_attributes_zip01" maxlength='3'>
−
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.zip02 }}" name="customer[billing_address_attributes][zip02]" id="customer_billing_address_attributes_zip02" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.zip02 }}" name="customer[billing_address_attributes][zip02]" autocomplete="none" id="customer_billing_address_attributes_zip02" maxlength='4'>
{% endif %}
<!-- 電話番号 -->
<label for="customer_billing_address_attributes_tel01">電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.full_tel }}" name="customer[billing_address_attributes][tel01]" id="customer_billing_address_attributes_tel01" maxlength='12'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.full_tel }}" name="customer[billing_address_attributes][tel01]" autocomplete="tel" id="customer_billing_address_attributes_tel01" maxlength='12'>
{% else %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.tel01 }}" name="customer[billing_address_attributes][tel01]" id="customer_billing_address_attributes_tel01" maxlength='5'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.tel01 }}" name="customer[billing_address_attributes][tel01]" autocomplete="none" id="customer_billing_address_attributes_tel01" maxlength='5'>
−
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.tel02 }}" name="customer[billing_address_attributes][tel02]" id="customer_billing_address_attributes_tel02" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.tel02 }}" name="customer[billing_address_attributes][tel02]" autocomplete="none" id="customer_billing_address_attributes_tel02" maxlength='4'>
−
- <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.tel03 }}" name="customer[billing_address_attributes][tel03]" id="customer_billing_address_attributes_tel03" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ current_customer.billing_address.tel03 }}" name="customer[billing_address_attributes][tel03]" autocomplete="none" id="customer_billing_address_attributes_tel03" maxlength='4'>
{% endif %}
<!-- 会社名 -->
{% if shop_form_settings['company'] %}
<label for="customer_billing_address_attributes_company_name">会社名</label>
- <input type="text" value="{{ current_customer.billing_address.company_name}}" name="customer[billing_address_attributes][company_name]" id="customer_billing_address_attributes_company_name">
+ <input type="text" value="{{ current_customer.billing_address.company_name}}" name="customer[billing_address_attributes][company_name]" autocomplete="organization" id="customer_billing_address_attributes_company_name">
{% endif %}
<!-- メールアドレス -->
{% if shop_form_settings['email'] %}
<label for="customer_email">メールアドレス</label>
- <input class="validate[required,custom[email]]" type="email" value="{{ current_customer.email }}" name="customer[email]" id="customer_email">
+ <input class="validate[required,custom[email]]" type="email" value="{{ current_customer.email }}" name="customer[email]" autocomplete="email" id="customer_email">
{% endif %}
<!-- 生年月日 -->
{% if shop_form_settings['birth'] %}
<label for="customer_birth">生年月日</label>
- <select id="customer_birth_1i" name="customer[birth(1i)]" class="validate[condRequired[customer_birth_2i,customer_birth_3i]]">
+ <select id="customer_birth_1i" name="customer[birth(1i)]" autocomplete="bday-year" class="validate[condRequired[customer_birth_2i,customer_birth_3i]]">
- <select id="customer_birth_2i" name="customer[birth(2i)]" class="validate[condRequired[customer_birth_1i,customer_birth_3i]]">
+ <select id="customer_birth_2i" name="customer[birth(2i)]" autocomplete="bday-month" class="validate[condRequired[customer_birth_1i,customer_birth_3i]]">
- <select id="customer_birth_3i" name="customer[birth(3i)]" class="validate[condRequired[customer_birth_1i,customer_birth_2i]]">
+ <select id="customer_birth_3i" name="customer[birth(3i)]" autocomplete="bday-day" class="validate[condRequired[customer_birth_1i,customer_birth_2i]]">
mypage > お届け先情報フォーム(部分テンプレート)
ec_force/shop/customer/shipping_addresses/_form.html.liquid
ec_force/shop/customer/shipping_addresses/_form.html+smartphone.liquid
<!-- お名前 -->
<label for="address_customer_shipping_name01">お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input class="validate[required]" type="text" value="{{ shipping_address.full_name }}" name="address_customer_shipping[name01]" id="address_customer_shipping_name01">
+ <input class="validate[required]" type="text" value="{{ shipping_address.full_name }}" name="address_customer_shipping[name01]" autocomplete="name" id="address_customer_shipping_name01">
{% else %}
- <input class="validate[required]" type="text" value="{{ shipping_address.name01 }}" name="address_customer_shipping[name01]" id="address_customer_shipping_name01">
- <input class="validate[required]" type="text" value="{{ shipping_address.name02 }}" name="address_customer_shipping[name02]" id="address_customer_shipping_name02">
+ <input class="validate[required]" type="text" value="{{ shipping_address.name01 }}" name="address_customer_shipping[name01]" autocomplete="family-name" id="address_customer_shipping_name01">
+ <input class="validate[required]" type="text" value="{{ shipping_address.name02 }}" name="address_customer_shipping[name02]" autocomplete="given-name" id="address_customer_shipping_name02">
{% endif %}
<label for="address_customer_shipping_zip01">郵便番号</label>
{% if shop_form_settings['zip_1_field'] %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.full_zip }}" name="address_customer_shipping[zip01]" id="address_customer_shipping_zip01" maxlength='7'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.full_zip }}" name="address_customer_shipping[zip01]" autocomplete="postal-code" id="address_customer_shipping_zip01" maxlength='7'>
{% else %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.zip01 }}" name="address_customer_shipping[zip01]" id="address_customer_shipping_zip01" maxlength='3'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.zip01 }}" name="address_customer_shipping[zip01]" autocomplete="postal-code" id="address_customer_shipping_zip01" maxlength='3'>
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.zip02 }}" name="address_customer_shipping[zip02]" id="address_customer_shipping_zip02" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.zip02 }}" name="address_customer_shipping[zip02]" autocomplete="none" id="address_customer_shipping_zip02" maxlength='4'>
{% endif %}
<!-- 電話番号 -->
<label for="address_customer_shipping_tel01">電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.full_tel }}" name="address_customer_shipping[tel01]" id="address_customer_shipping_tel01" maxlength='12'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.full_tel }}" name="address_customer_shipping[tel01]" autocomplete="tel" id="address_customer_shipping_tel01" maxlength='12'>
{% else %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.tel01 }}" name="address_customer_shipping[tel01]" id="address_customer_shipping_tel01" maxlength='5'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.tel01 }}" name="address_customer_shipping[tel01]" autocomplete="none" id="address_customer_shipping_tel01" maxlength='5'>
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.tel02 }}" name="address_customer_shipping[tel02]" id="address_customer_shipping_tel02" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.tel02 }}" name="address_customer_shipping[tel02]" autocomplete="none" id="address_customer_shipping_tel02" maxlength='4'>
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.tel03 }}" name="address_customer_shipping[tel03]" id="address_customer_shipping_tel03" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ shipping_address.tel03 }}" name="address_customer_shipping[tel03]" autocomplete="none" id="address_customer_shipping_tel03" maxlength='4'>
{% endif %}
<!-- 会社名 -->
{% if shop_form_settings['company'] %}
<label for="address_customer_shipping_company_name">会社名</label>
- <input type="text" value="{{ shipping_address.company_name }}" name="address_customer_shipping[company_name]" id="address_customer_shipping_company_name">
+ <input type="text" value="{{ shipping_address.company_name }}" name="address_customer_shipping[company_name]" autocomplete="organization" id="address_customer_shipping_company_name">
{% endif %}
mypage > お届け先情報の編集画面
ec_force/shop/customer/orders/shipping_addresses/edit.html.liquid
ec_force/shop/customer/orders/shipping_addresses/edit.html+smartphone.liquid
<!-- お名前 -->
<label for="address_order_shipping_name01">お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input class="validate[required]" type="text" value="{{ order.shipping_address.full_name }}" name="address_order_shipping[name01]" id="address_order_shipping_name01">
+ <input class="validate[required]" type="text" value="{{ order.shipping_address.full_name }}" name="address_order_shipping[name01]" autocomplete="name" id="address_order_shipping_name01">
{% else %}
- <input class="validate[required]" type="text" value="{{ order.shipping_address.name01 }}" name="address_order_shipping[name01]" id="address_order_shipping_name01">
- <input class="validate[required]" type="text" value="{{ order.shipping_address.name02 }}" name="address_order_shipping[name02]" id="address_order_shipping_name02">
+ <input class="validate[required]" type="text" value="{{ order.shipping_address.name01 }}" name="address_order_shipping[name01]" autocomplete="family-name" id="address_order_shipping_name01">
+ <input class="validate[required]" type="text" value="{{ order.shipping_address.name02 }}" name="address_order_shipping[name02]" autocomplete="given-name" id="address_order_shipping_name02">
{% endif %}
<label for="address_order_shipping_zip01">郵便番号</label>
{% if shop_form_settings['zip_1_field'] %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.full_zip }}" name="address_order_shipping[zip01]" id="address_order_shipping_zip01">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.full_zip }}" name="address_order_shipping[zip01]" autocomplete="postal-code" id="address_order_shipping_zip01" maxlength="7">
{% else %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.zip01 }}" name="address_order_shipping[zip01]" id="address_order_shipping_zip01">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.zip01 }}" name="address_order_shipping[zip01]" autocomplete="postal-code" id="address_order_shipping_zip01" maxlength="3">
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.zip02 }}" name="address_order_shipping[zip02]" id="address_order_shipping_zip02">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.zip02 }}" name="address_order_shipping[zip02]" autocomplete="none" id="address_order_shipping_zip02" maxlength="4">
{% endif %}
<!-- 電話番号 -->
<label for="address_order_shipping_tel01">電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.full_tel }}" name="address_order_shipping[tel01]" id="address_order_shipping_tel01">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.full_tel }}" name="address_order_shipping[tel01]" autocomplete="tel" id="address_order_shipping_tel01" maxlength="12">
{% else %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.tel01 }}" name="address_order_shipping[tel01]" id="address_order_shipping_tel01">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.tel01 }}" name="address_order_shipping[tel01]" autocomplete="none" id="address_order_shipping_tel01" maxlength="5">
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.tel02 }}" name="address_order_shipping[tel02]" id="address_order_shipping_tel02">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.tel02 }}" name="address_order_shipping[tel02]" autocomplete="none" id="address_order_shipping_tel02" maxlength="4">
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.tel03 }}" name="address_order_shipping[tel03]" id="address_order_shipping_tel03">
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ order.shipping_address.tel03 }}" name="address_order_shipping[tel03]" autocomplete="none" id="address_order_shipping_tel03" maxlength="4">
{% endif %}
<!-- 会社名 -->
{% if shop_form_settings['company'] %}
<label for="address_order_shipping_company_name">会社名</label>
- <input type="text" value="{{ order.shipping_address.company_name }}" name="address_order_shipping[company_name]" id="address_order_shipping_company_name">
+ <input type="text" value="{{ order.shipping_address.company_name }}" name="address_order_shipping[company_name]" autocomplete="organization" id="address_order_shipping_company_name">
{% endif %}
mypage > 定期注文詳細画面 お届け先情報の編集
ec_force/shop/customer/subs_orders/shipping_addresses/edit.html.liquid
ec_force/shop/customer/subs_orders/shipping_addresses/edit.html+smartphone.liquid
<!-- お名前 -->
<label for="address_subs_order_shipping_name01">お名前</label>
{% if shop_form_settings['name_1_field'] %}
- <input class="validate[required]" type="text" value="{{ subs_order.shipping_address.full_name }}" name="address_subs_order_shipping[name01]" id="address_subs_order_shipping_name01">
+ <input class="validate[required]" type="text" value="{{ subs_order.shipping_address.full_name }}" name="address_subs_order_shipping[name01]" autocomplete="name" id="address_subs_order_shipping_name01">
{% else %}
- <input class="validate[required]" type="text" value="{{ subs_order.shipping_address.name01 }}" name="address_subs_order_shipping[name01]" id="address_subs_order_shipping_name01">
- <input class="validate[required]" type="text" value="{{ subs_order.shipping_address.name02 }}" name="address_subs_order_shipping[name02]" id="address_subs_order_shipping_name02">
+ <input class="validate[required]" type="text" value="{{ subs_order.shipping_address.name01 }}" name="address_subs_order_shipping[name01]" autocomplete="family-name" id="address_subs_order_shipping_name01">
+ <input class="validate[required]" type="text" value="{{ subs_order.shipping_address.name02 }}" name="address_subs_order_shipping[name02]" autocomplete="given-name" id="address_subs_order_shipping_name02">
{% endif %}
<label for="address_subs_order_shipping_zip01">郵便番号</label>
{% if shop_form_settings['zip_1_field'] %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.full_zip }}" name="address_subs_order_shipping[zip01]" id="address_subs_order_shipping_zip01" maxlength='7'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.full_zip }}" name="address_subs_order_shipping[zip01]" autocomplete="postal-code" id="address_subs_order_shipping_zip01" maxlength='7'>
{% else %}
<span>〒</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.zip01 }}" name="address_subs_order_shipping[zip01]" id="address_subs_order_shipping_zip01" maxlength='3'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.zip01 }}" name="address_subs_order_shipping[zip01]" autocomplete="postal-code" id="address_subs_order_shipping_zip01" maxlength='3'>
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.zip02 }}" name="address_subs_order_shipping[zip02]" id="address_subs_order_shipping_zip02" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.zip02 }}" name="address_subs_order_shipping[zip02]" autocomplete="none" id="address_subs_order_shipping_zip02" maxlength='4'>
{% endif %}
<!-- 電話番号 -->
<label for="address_subs_order_shipping_tel01">電話番号</label>
{% if shop_form_settings['tel_1_field'] %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.full_tel }}" name="address_subs_order_shipping[tel01]" id="address_subs_order_shipping_tel01" maxlength='12'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.full_tel }}" name="address_subs_order_shipping[tel01]" autocomplete="tel" id="address_subs_order_shipping_tel01" maxlength='12'>
{% else %}
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.tel01 }}" name="address_subs_order_shipping[tel01]" id="address_subs_order_shipping_tel01" maxlength='5'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.tel01 }}" name="address_subs_order_shipping[tel01]" autocomplete="none" id="address_subs_order_shipping_tel01" maxlength='5'>
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.tel02 }}" name="address_subs_order_shipping[tel02]" id="address_subs_order_shipping_tel02" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.tel02 }}" name="address_subs_order_shipping[tel02]" autocomplete="none" id="address_subs_order_shipping_tel02" maxlength='4'>
<span>−</span>
- <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.tel03 }}" name="address_subs_order_shipping[tel03]" id="address_subs_order_shipping_tel03" maxlength='4'>
+ <input class="validate[required,custom[integer]]" type="tel" value="{{ subs_order.shipping_address.tel03 }}" name="address_subs_order_shipping[tel03]" autocomplete="none" id="address_subs_order_shipping_tel03" maxlength='4'>
{% endif %}
<!-- 会社名 -->
{% if shop_form_settings['company'] %}
<label for="address_subs_order_shipping_company_name">会社名</label>
- <input type="text" value="{{ subs_order.shipping_address.company_name }}" name="address_subs_order_shipping[company_name]" id="address_subs_order_shipping_company_name">
+ <input type="text" value="{{ subs_order.shipping_address.company_name }}" name="address_subs_order_shipping[company_name]" autocomplete="organization" id="address_subs_order_shipping_company_name">
{% endif %}