2025/06/17更新
+ 更新した行
- 削除した行
会員パスワード設定機能の改善
2025/05/20更新でご案内した、会員パスワード設定機能の改善ついて、以下の画面での対応を追加しました。
パスワードの入力フォームに、入力ルールなどを表示したい場合にご利用ください。
mypage > パスワード変更画面
ec_force/shop/customer/passwords/edit.html.liquid
ec_force/shop/customer/passwords/edit.html+smartphone.liquid
<!-- 現在のパスワード -->
- <input class="validate[required,minSize[8]]" id="current_password" maxlength="99" name="customer[current_password]" type="password">
+ <input class="validate[required,minSize[8]]" id="current_password" maxlength="99" name="customer[current_password]" placeholder="パスワード" type="password">
<!-- 新しいパスワード -->
- <input class="validate[required,custom[validatePasswordForCustomerByAdminSetting]]" id="password" maxlength="99" name="customer[password]" type="password">
+ <input class="validate[required,custom[validatePasswordForCustomerByAdminSetting]]" id="password" maxlength="99" name="customer[password]" placeholder="{{ customer_password_setting.placeholder }}" type="password">
<!-- 新しいパスワード (確認) -->
- <input class="validate[required,equals[password]]" maxlength="99" name="customer[password_confirmation]" type="password">
+ <input class="validate[required,equals[password]]" maxlength="99" name="customer[password_confirmation]" placeholder="{{ customer_password_setting.placeholder }}" type="password">
auth > パスワードリセット画面
ec_force/shop/customers/passwords/edit.html.liquid
ec_force/shop/customers/passwords/edit.html+smartphone.liquid
<!-- 新しいパスワード -->
- <input type="password" class="validate[required,custom[validatePasswordForCustomerByAdminSetting]]" id="password" name="customer[password]">
+ <input type="password" class="validate[required,custom[validatePasswordForCustomerByAdminSetting]]" id="password" name="customer[password]" placeholder="{{ customer_password_setting.placeholder }}">
<!-- 新しいパスワード (確認) -->
- <input type="password" class="validate[required,equals[password]]" id="password_confirmation" name="customer[password_confirmation]" maxlength="99">
+ <input type="password" class="validate[required,equals[password]]" id="password_confirmation" name="customer[password_confirmation]" maxlength="99" placeholder="{{ customer_password_setting.placeholder }}">
SMS会員認証機能における購入フォームのメールアドレス表示設定の機能追加
SMS会員認証機能を利用した購入フォームにおいて、メールアドレス入力フィールドを「任意項目」として設定できるようになりました。
従来はメールアドレスが必須項目のみでしたが、本リリースにより、LP購入フォーム・ショップフォーム・受注作成購入フォームで「メールアドレスを任意入力」として設定できるようになりました。
これにより、すべての顧客が一律でSMS会員認証の従量課金対象とならず、コスト抑制が可能となります。
※SMS会員認証機能 (opens in a new tab)はオプション機能です。ご利用の際は別途お申し込みが必要です。
cart > 注文情報確認画面
ec_force/shop/orders/confirm.html.liquid
ec_force/shop/orders/confirm.html+smartphone.liquid
{% if shop_form_settings['email'] %}
- {{ order.email }}
+ {% unless order.customer.is_auto_generated_email? %}{{ order.email }}{% endunless %}
{% endif %}
cart > サンクスオファー確認画面
ec_force/shop/orders/cv_confirm.html.liquid
ec_force/shop/orders/cv_confirm.html+smartphone.liquid
{% if shop_form_settings['email'] %}
- {{ order.email }}
+ {% unless order.customer.is_auto_generated_email? %}{{ order.email }}{% endunless %}
{% endif %}
cart > 請求先住所
ec_force/shop/orders/_view_billing_information.html.liquid
ec_force/shop/orders/_view_billing_information.html+smartphone.liquid
{% if customer_signed_in %}
{% if current_customer.is_auto_generated_email? %}
- <input type="email" name='order[email]' autocomplete="email" id='email' class='js-email-autocomplete form-control input-sm validate[required,custom[email],ajax[emailCheckShop]] for_password_validate' value='' placeholder="例)○○○@example.com">
+ <input type="{% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}email{% else %}text{% endunless %}" name='order[email]' autocomplete="email" id='email' class='js-email-autocomplete {% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}validate[required,custom[email],ajax[emailCheckShop]] {% endunless %}for_password_validate' value=''>
<input name='order[customer_attributes][email]' type='hidden' value='' id='customer_email'>
<input name='order[customer_attributes][is_auto_generated_email]' type='hidden' value=0>
<input name='order[customer_attributes][mail_delivery_stop]' type='hidden' value=0>
{% else %}
<input class='form-control input-sm for_password_validate' disabled id='email' type='email' value='{{ current_customer.email }}' placeholder="例)○○○@example.com">
<input name='order[email]' type='hidden' value='{{ current_customer.email }}'>
<input name='order[customer_attributes][email]' type='hidden' value='{{ current_customer.email }}'>
{% endif %}
{% else %}
- <input type="email" name='order[email]' autocomplete="email" id='email' class='js-email-autocomplete validate[required,custom[email],ajax[emailCheckShop]] for_password_validate' 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'>
+ <input type="{% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}email{% else %}text{% endunless %}" name='order[email]' autocomplete="email" id='email' class='js-email-autocomplete {% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}validate[required,custom[email],ajax[emailCheckShop]] {% endunless %}for_password_validate' value="{% if order.customer.is_auto_generated_email? == true %}{% if line_email %}{{ line_email }}{% endif %}{% else %}{% if order.email %}{{ order.email }}{% elsif line_email %}{{ line_email }}{% endif %}{% endif %}">
+ <input name='order[customer_attributes][email]' type='hidden' value='{% if order.customer.is_auto_generated_email? == true %}{% if line_email %}{{ line_email }}{% endif %}{% else %}{% if order.email %}{{ order.email }}{% elsif line_email %}{{ line_email }}{% endif %}{% endif %}' id='customer_email'>
{% endif %}
<!-- メールアドレス(確認) -->
<label>メールアドレス(確認)</label>
{% if customer_signed_in %}
{% if current_customer.is_auto_generated_email? %}
- <input class='js-email-autocomplete form-control input-sm validate[required,custom[email],equals[email],ajax[emailCheckShop]]' name='order[email_confirmation]' type='email' value='' placeholder="例)○○○@example.com">
+ <input class='js-email-autocomplete {% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}validate[required,custom[email],equals[email],ajax[emailCheckShop]]{% endunless %}' name='order[email_confirmation]' type='{% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}email{% else %}text{% endunless %}' value=''>
{% else %}
<input class='u-text--input u-color__input--bg u-color__border--input' disabled name='order[email_confirmation]' type='email' value='{{ current_customer.email }}' placeholder="{{ 'customer.placeholder.email.value' | t }}">
{% endif %}
{% else %}
- <input class='js-email-autocomplete validate[required,custom[email],equals[email],ajax[emailCheckShop]]' name='order[email_confirmation]' type='email' value="{% if order.email %}{{ order.email }}{% elsif line_email %}{{ line_email }}{% endif %}">
+ <input class='js-email-autocomplete {% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}validate[required,custom[email],equals[email],ajax[emailCheckShop]]{% endunless %}' name='order[email_confirmation]' type='{% unless base_info.use_sms_active? and shop_form_settings['email_require'] == false %}email{% else %}text{% endunless %}' value="{% if order.customer.is_auto_generated_email? == true %}{% if line_email %}{{ line_email }}{% endif %}{% else %}{% if order.email %}{{ order.email }}{% elsif line_email %}{{ line_email }}{% endif %}{% endif %}">
{% endif %}
{% endif %}