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

Welcart Square 1.0.18 をリリース

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

ログイン画面の「パスワード」フィールドにオートコンプリートを設置

要素追加: welcart_basic-square/wc_templates/member/wc_login_page.php 43行目あたり
<tr>
    <th><label><?php _e('password', 'usces'); ?></label></th>
    <td><input type="password" name="loginpass" id="loginpass" class="loginpass" size="20" autocomplete="off" /></td>
</tr>

お客様情報入力画面の「パスワード」フィールドにオートコンプリートを設置

要素追加: welcart_basic-square/wc_templates/cart/wc_customer_page.php 53行目あたり
<tr>
    <th scope="row"><?php _e('password', 'usces'); ?></th>
    <td><input name="loginpass" id="loginpass" type="password" value="" autocomplete="off" /></td>
</tr>

パスワードポリシーのタグを設置(4箇所)

タグ追加: welcart_basic-square/wc_templates/cart/wc_customer_page.php 91行目あたり
<?php if( usces_is_membersystem_state() ) : ?>
<tr>
    <th scope="row"><?php if( $member_regmode == 'editmemberfromcart' ) : ?><em><?php _e('*', 'usces'); ?></em><?php endif; ?><?php _e('password', 'usces'); ?></th>
    <td colspan="2"><input name="customer[password1]" style="width:100px" type="password" value="<?php esc_attr_e($usces_entries['customer']['password1']); ?>" autocomplete="new-password" /><?php if( $member_regmode != 'editmemberfromcart' ) _e('When you enroll newly, please fill it out.', 'usces'); ?><?php welcart_basic_password_policy_message(); ?></td>
</tr>
タグ追加: welcart_basic-square/wc_templates/member/wc_new_member_page.php 51行目あたり
<tr>
    <th scope="row"><em><?php _e('*', 'usces'); ?></em><?php _e('password', 'usces'); ?></th>
    <td colspan="2"><input name="member[password1]" id="password1" type="password" value="<?php usces_memberinfo('password1'); ?>" autocomplete="new-password" /><?php welcart_basic_password_policy_message(); ?></td>
</tr>
タグ追加: welcart_basic-square/wc_templates/member/wc_member_page.php 81行目あたり
<tr>
    <th scope="row"><?php _e('password', 'usces'); ?></th>
    <td colspan="2"><input name="member[password1]" id="password1" type="password" value="<?php usces_memberinfo('password1'); ?>" autocomplete="new-password" />
    <?php _e('Leave it blank in case of no change.', 'usces'); ?><?php welcart_basic_password_policy_message(); ?></td>
</tr>
タグ追加: welcart_basic-square/wc_templates/member/wc_changepassword_page.php 34行目あたり
<tr>  
    <th><label><?php _e('password', 'usces'); ?></label></th>
    <td><input type="password" name="loginpass1" id="loginpass1" class="loginpass" value="" size="20" /><?php welcart_basic_password_policy_message(); ?></td>
</tr>

style.css のコメント修正

コメント修正: welcart_basic-square/style.css 11行目あたり
/*
Theme Name:         Welcart Square
Description:        Welcart Square is child theme for Welcart Basic.
Author:             Collne.Inc
Author URI:         http://www.collne.com/
Template:           welcart_basic
Version:            1.0.18
License:            GNU General Public License v2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Tags:               responsive-layout, square, two-columns, right-sidebar. left-sidebar
Requires at least:  5.6
Requires PHP:       7.0 - 7.4
*/