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

Welcart Voll 1.4.2 をリリース

Welcart Voll 1.4.2 をリリースしました。修正点は以下のとおりです。

Auto Deliveryを利用時の商品オプション不具合を修正

テンプレート修正 : inc/front-customized.php 86行目
テンプレート修正 : inc/front-customized.php 209行目
<td><?php usces_the_itemOption( usces_getItemOptName(), '' ); ?></td>
<td><?php wcad_the_itemOption( usces_getItemOptName(), '' ); ?></td>

ログインページにある「パスワードをお忘れですか?」の表示位置を調整

「パスワードをお忘れですか?」のリンクをアクションフックの上に移動しました。 テンプレート修正 : wc_templates/member/wc_login_page.php 50行目あたり
    <?php do_action( 'usces_action_login_page_inform' ); ?>
</form>
<p id="nav"><a href="<?php usces_url( 'lostmemberpassword' ); ?>" title="<?php esc_attr_e( 'Did you forget your password?', 'usces' ); ?>"><?php esc_html_e( 'Did you forget your password?', 'usces' ); ?></a></p>
    <p id="nav"><a href="<?php usces_url( 'lostmemberpassword' ); ?>" title="<?php esc_attr_e( 'Did you forget your password?', 'usces' ); ?>"><?php esc_html_e( 'Did you forget your password?', 'usces' ); ?></a></p>
    <?php do_action( 'usces_action_login_page_inform' ); ?>
</form>

Multiple Shipping 導入時の CSSファイル欠損エラーを修正

テンプレート修正 : functions.php 192行目あたり
if ( defined( 'WCEX_MSA_VERSION' ) ) {


    wp_enqueue_style( 'parent-msa', $template_dir . '/wcex_multi_shipping.css', array( 'msa_style' ), WCEX_MSA_VERSION, false );

}
if ( defined( 'WCEX_MSA_VERSION' ) ) {
    $action = isset( $_REQUEST['msa_action'] ) ? wp_unslash( $_REQUEST['msa_action'] ) : '';
    if ( welcart_basic_is_member_page() || ( 'delivery' === $usces->page && empty( $action ) ) || 'confirm' === $usces->page ) {
        wp_enqueue_style( 'parent-msa', $template_dir . '/wcex_multi_shipping.css', array( 'msa_style' ), WCEX_MSA_VERSION, false );
    }
}

Delivery Address機能拡張のために配送先登録・編集ページを修正

カスタム・デリバリーフィールドで設定した項目を配送先にも適用されるように修正しました。
注意
WCEX Delivery Address を 1.0.1 にアップデート後にテーマアップデートもしくは修正を施してください。
テンプレート修正 : wc_templates/member/wc_member_mda_page.php 72行目あたり
<div class="msa_title"><?php esc_html_e( 'Delivery address', 'wcexda' ); ?> : <span id="destination_title" class="msa_title_inner"></span></div>

<div class="msa_field"><label for="msa_company"><?php esc_html_e( 'Corporation name', 'wcexda' ); ?></label><input id="msa_company" name="msa_company" type="text" /></div>
<div class="msa_title"><?php esc_html_e( 'Delivery address', 'wcexda' ); ?> : <span id="destination_title" class="msa_title_inner"></span></div>
<?php WCEX_DA_Member_Page::custom_delivery_field_input( 'name_pre' ); ?>
<div class="msa_field"><label for="msa_company"><?php esc_html_e( 'Corporation name', 'wcexda' ); ?></label><input id="msa_company" name="msa_company" type="text" /></div>
テンプレート修正 : wc_templates/member/wc_member_mda_page.php 75行目あたり
<div class="msa_field"><label for="msa_furigana"><?php esc_html_e( 'Furigana', 'wcexda' ); ?></label><?php esc_html_e( 'Family name', 'wcexda' ); ?><input id="msa_furigana" name="msa_furigana" type="text" /><?php esc_html_e( 'First name', 'wcexda' ); ?><input id="msa_furigana2" name="msa_furigana2" type="text" /></div>

<div class="msa_field"><label for="zipcode"><?php esc_html_e( 'Postal code', 'wcexda' ); ?>(<?php esc_html_e( 'Required', 'wcexda' ); ?>)</label><input id="zipcode" name="zipcode" type="text" />
<?php
if ( isset( $usces->options['address_search'] ) && 'activate' === $usces->options['address_search'] ) {
echo "<input type='button' id='search_zipcode' class='search-zipcode button' value='住所検索' onclick=\"AjaxZip3.zip2addr('zipcode', '', 'member_pref', 'msa_address1');\">"; }
?>
<span id="zip_message" class="msa_message"></span></div>
<div class="msa_field"><label for="msa_furigana"><?php esc_html_e( 'Furigana', 'wcexda' ); ?></label><span class="member_furigana">セイ</span><input id="msa_furigana" name="msa_furigana" type="text" /><span class="member_furigana">メイ</span><input id="msa_furigana2" name="msa_furigana2" type="text" /></div>
<?php WCEX_DA_Member_Page::custom_delivery_field_input( 'name_after' ); ?>
<div class="msa_field">
    <label for="zipcode"><?php esc_html_e( 'Postal code', 'wcexda' ); ?>(<?php esc_html_e( 'Required', 'wcexda' ); ?>)</label>
    <input id="zipcode" name="zipcode" type="text" />
    <?php
    if ( isset( $usces->options['address_search'] ) && 'activate' === $usces->options['address_search'] ) {
    echo "<input type='button' id='search_zipcode' class='search-zipcode button' value='住所検索' onclick=\"AjaxZip3.zip2addr('zipcode', '', 'member_pref', 'msa_address1');\">";
    }
    ?>
    <span id="zip_message" class="msa_message"></span>
</div>
テンプレート修正 : wc_templates/member/wc_member_mda_page.php 138行目あたり
<div class="msa_field"><label for="msa_tel"><?php esc_html_e( 'FAX number', 'wcexda' ); ?></label><input id="msa_fax" name="msa_fax" type="text" /><span id="fax_message" class="msa_message"></span></div>

<div class="msa_field"><label for="msa_note"><?php esc_html_e( 'Remarks', 'wcexda' ); ?></label><textarea id="msa_note" name="msa_note"></textarea></div>
<div class="msa_field"><label for="msa_fax"><?php esc_html_e( 'FAX number', 'wcexda' ); ?></label><input id="msa_fax" name="msa_fax" type="text" /><span id="fax_message" class="msa_message"></span></div>
<?php WCEX_DA_Member_Page::custom_delivery_field_input( 'fax_after' ); ?>
<div class="msa_field"><label for="msa_note"><?php esc_html_e( 'Remarks', 'wcexda' ); ?></label><textarea id="msa_note" name="msa_note"></textarea></div>