ソニーペイメントサービスの2つの決済モジュール

Welcart Square 1.0.10 をリリース

Welcart Square 1.0.10 をリリースしました。

  • Google Chrome メールアドレス・パスワードの自動入力機能の無効化

Google Chrome メールアドレス・パスワードの自動入力機能の無効化

テンプレート修正: welcart_basic-square/wc_templates/cart/wc_customer_page.php 77行目

    <td colspan="2"><input name="customer[mailaddress1]" id="mailaddress1" type="text" value="<?php esc_attr_e($usces_entries['customer']['mailaddress1']); ?>" style="ime-mode: inactive" readonly onfocus="this.removeAttribute('readonly');" /></td>

    <td colspan="2"><input name="customer[mailaddress2]" id="mailaddress2" type="text" value="<?php esc_attr_e($usces_entries['customer']['mailaddress2']); ?>" style="ime-mode: inactive" readonly onfocus="this.removeAttribute('readonly');" /></td>

    <td colspan="2"><input name="customer[password1]" style="width:100px" type="password" value="<?php esc_attr_e($usces_entries['customer']['password1']); ?>" readonly onfocus="this.removeAttribute('readonly');" /><?php if( $member_regmode != 'editmemberfromcart' ) _e('When you enroll newly, please fill it out.', 'usces'); ?>    </td>

    <td colspan="2"><input name="customer[password2]" style="width:100px" type="password" value="<?php esc_attr_e($usces_entries['customer']['password2']); ?>" readonly onfocus="this.removeAttribute('readonly');" /><?php if( $member_regmode != 'editmemberfromcart' ) _e('When you enroll newly, please fill it out.', 'usces'); ?></td>

テンプレート修正: welcart_basic-square/wc_templates/member/wc_member_page.php 71行目

    <td colspan="2"><input name="member[password1]" id="password1" type="password" value="<?php usces_memberinfo('password1'); ?>" readonly onfocus="this.removeAttribute('readonly');" /><?php _e('Leave it blank in case of no change.', 'usces'); ?></td>

    <td colspan="2"><input name="member[password2]" id="password2" type="password" value="<?php usces_memberinfo('password2'); ?>" readonly onfocus="this.removeAttribute('readonly');" /><?php _e('Leave it blank in case of no change.', 'usces'); ?></td>

テンプレート修正: welcart_basic-square/wc_templates/member/wc_newmember_page.php 38行目

    <td colspan="2"><input name="member[mailaddress1]" id="mailaddress1" type="text" value="<?php usces_memberinfo('mailaddress1'); ?>" readonly onfocus="this.removeAttribute('readonly');" /></td>

    <td colspan="2"><input name="member[password1]" id="password1" type="password" value="<?php usces_memberinfo('password1'); ?>" readonly onfocus="this.removeAttribute('readonly');" /></td>

    <td colspan="2"><input name="member[password2]" id="password2" type="password" value="<?php usces_memberinfo('password2'); ?>" readonly onfocus="this.removeAttribute('readonly');" /></td>

※inputタグに「readonly onfocus=”this.removeAttribute(‘readonly’);”」を付与