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

Welcart Voll 1.0.14 をリリース

Welcart Voll 1.0.14 をリリースしました。


注意

Welcart Voll 1.0.14 を利用する場合の注意点

Welcart Voll 1.0.14 を利用する場合は、必ず Welcart Basic(親テーマ)を最新バージョン(1.3.2以降)にしてご利用ください。

[更新内容]

style.css 推奨環境の修正

コメント修正: welcart_basic-voll/style.css 11行目あたり

/*
Theme Name:     Welcart Voll
Description:        Welcart Voll is child theme for Welcart Basic.
Author:         Collne.Inc
Author URI:     http://www.collne.com/
Template:       welcart_basic
Version:        1.0.14
License:        GNU General Public License v2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Tags:           responsive-layout, Voll, two-columns, left-sidebar
Requires at least:  5.6
Requires PHP:       7.0 - 7.4
*/

パスワードポリシーのタグ設置

スタイル追加: welcart_basic-voll/usces_cart.css 1082行目あたり

#wc_changepassword table th {
    white-space: nowrap;
}

※ ハイライト部分のスタイルを追加

タグ追加: welcart_basic-voll/wc_templates/member/wc_changepassword_page.php 30行目あたり

<table>
    <tr>
        <th><?php _e('password', 'usces'); ?></th>
        <td><input type="password" name="loginpass1" id="loginpass1" class="loginpass" value="" autocomplete="off" size="20" /><?php welcart_basic_password_policy_message(); ?></td>
    </tr>

タグ追加: welcart_basic-voll/wc_templates/member/wc_member_page.php 85行目あたり

    <?php uesces_addressform( 'member', usces_memberinfo(NULL), 'echo' ); ?>
    <tr>
        <th scope="row"><?php _e('e-mail adress', 'usces'); ?></th>
        <td colspan="2"><input name="member[mailaddress1]" id="mailaddress1" type="text" value="<?php usces_memberinfo('mailaddress1'); ?>" /></td>
    </tr>
    <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_password_policy_message()」を追加

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

コード追加: welcart_basic-voll/wc_templates/member/wc_changepassword_page.php 31・35行目あたり

<table>
    <tr>
        <th><?php _e('password', 'usces'); ?></th>
        <td><input type="password" name="loginpass1" id="loginpass1" class="loginpass" value="" autocomplete="off" size="20" /></td>
    </tr>
    <tr>
        <th><?php _e('Password (confirm)', 'usces'); ?></th>
        <td><input type="password" name="loginpass2" id="loginpass2" class="loginpass" value="" autocomplete="off" size="20" /></td>
    </tr>

コード追加: welcart_basic-voll/wc_templates/member/wc_login_page.php 37行目あたり

    <td><input type="text" name="loginmail" id="loginmail" class="loginmail" value="<?php esc_attr_e(usces_remembername('return')); ?>" size="20" /></td>
</tr>
<tr>
    <th><?php _e('password', 'usces'); ?></th>
    <td><input type="password" name="loginpass" id="loginpass" class="loginpass" autocomplete="off" size="20" /></td>
</tr>

※ 「autocomplete=”off”」を追加

キャンペーン設定時のサイドバーウィジェット(商品一覧)の表示不具合修正

コード追加: welcart_basic-voll/inc/front-customized.php 559行目あたり

$list .= '</div>' . "\n";
$list .= get_welcart_basic_campaign_message( $post_id ) . "\n";
$list .= '<div class="itemname"><a href="' . get_permalink( $post_id ) . '">' . $usces->getItemName( $post_id ) . '</a></div>' . "\n";
$list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return', $post ) . usces_guid_tax('return').'</div>' . "\n";

コード追加: welcart_basic-voll/inc/front-customized.php 595行目あたり

$list .= '</a></div>'."\n";
$list .= get_welcart_basic_campaign_message( $post_id ) . "\n";
$list .= '<div class="itemname"><a href="'.get_permalink($post_id).'">' . $usces->getItemName($post_id).'</a></div>'."\n";
$list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return', $post ) . usces_guid_tax('return') . '</div>'."\n";

※ 「get_welcart_basic_campaign_message()」に「$post_id」を追加