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

Welcart Voll 1.5.1 をリリース

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

【DL Seller】自動継続課金情報ページのスタイル調整

WCEX DL Seller 3.5 で追加された自動継続課金情報ページのスタイル調整をおこなっております。
Welcart Voll をカスタマイズしてアップデートできない場合は、Welcart Basic を最新バージョンにアップデートしていただき、下記を参考にスタイル追加・削除をおこなってください。

スタイル削除・追加 : dlseller.css 90行目〜

1. Welcart Voll 1.5 で追加したスタイルに不要なスタイルがございますので、まず下記のスタイルを削除してください。

#memberinfo .auto_billing_contents table {
    border-collapse: collapse;
}

#memberinfo .auto_billing_contents table tbody td {
    margin: 0;
}

#memberinfo .auto_billing_contents table tr:first-child th:first-child {
    border-width: 1px;
    border-style: solid;
}

.auto_billing_contents .billing-year-select {
    top: .9em;
}


@media screen and (min-width: 46.25em) {

    #wc_customer #nav {
        margin: .714em 0 0;
    }

    /* DL Seller | Member Auto Billing Info
    -------------------------------------------------------------- */

    #wc_member_auto_billing_info #memberinfo h3 {
        padding-top: 1.3rem;
    }

    .auto_billing_contents .billing-year-select {
        top: 1em;
    }
}

2. 続いて、削除した部分に下記のスタイルを追加ください。

#memberinfo .auto_billing_contents table tbody td {
    margin: 0;
}

#wc_member_auto_billing_info .auto_billing_contents dt {
    background: none;
    color: inherit;
}

#wc_member_auto_billing_info .auto_billing_contents .billing-year-select select {
    height: auto;
    line-height: initial;
}

#wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a {
    text-decoration: underline;
}

#wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a:hover {
    text-decoration: none;
}

スタイル追加 : inc/theme-customizer.php 1624行目〜 / 1650行目〜 / 2094行目〜

function wcct_customizer_footer_styles() {
・・・

    /* 追加場所1: 1624行目〜 */
    .comment-area li,
    .comment-area li:last-child,
    #amount_each_time th,
    #amount_each_time td,
    #wc_member_auto_billing_info .auto_billing_contents .subscription_block,
    #wc_member_auto_billing_info .auto_billing_contents dt,
    #wc_member_auto_billing_info .auto_billing_contents dd,
    #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody,
    #memberinfo .auto_billing_contents table tbody td,
    #memberinfo .auto_billing_contents table tbody td:nth-child(even),
    #memberinfo .auto_billing_contents p.nodata  {
        border-color: <?php echo esc_attr( $main_border ); ?>;
    }

    .tab-list li::before {
        border-top-color: <?php echo esc_attr( $main_border ); ?>;
        border-bottom-color: <?php echo esc_attr( $main_bg ); ?>;
    }

・・・

    /* 追加場所2: 1650行目〜 */
    #confirm_table .ttl h3 {
        color: <?php echo esc_attr( $main_th_color ); ?>;
    }

    #cart_table th,
    #cart_table th.subtotal em.tax,
    #memberinfo #history_head th,
    #wc_member_auto_billing_info #memberinfo .data-table-wrap h2,
    #wc_member_auto_billing_info #memberinfo .auto_billing_contents table thead th {
        color: <?php echo esc_attr( $main_th_color ); ?>;
        background-color: <?php echo esc_attr( $main_th_bg ); ?>      
        background-color: <?php echo esc_attr( $main_th_bg ); ?>
    }

    #cart_table tfoot th {
        color: inherit;
        background: none;
    }

・・・

    /* 追加場所3: 2094行目〜 */
    #wc_member h3 {
        color: <?php echo esc_attr( $main_color ); ?>;
    }

    #memberinfo #history_head td.retail a,
    #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a {
        color: <?php echo esc_attr( $main_link ); ?>;
    }

    #memberinfo #history_head td.retail a:hover,
    #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a:hover {
        color: <?php echo esc_attr( $main_link_hov ); ?>;
    }

    @media screen and (min-width: 38.75em) {

        #wc_member_auto_billing_info .auto_billing_contents dl::after {
            background-color: <?php echo esc_attr( $main_border ); ?>;
        }

        #wc_member_auto_billing_info #memberinfo .data-table-wrap h2 {
            background: none;
            color: inherit;
        }

        #wc_member_auto_billing_info #memberinfo .auto_billing_contents table thead th,
        #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td,
        #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td:last-child,
        #wc_member_auto_billing_info .auto_billing_contents dd:nth-of-type(odd) {
            border-color: <?php echo esc_attr( $main_border ); ?>;
        }
    }

    /**
     * 16.4 Desktop Small 1000px
     */
    @media screen and (min-width: 62.5em) {
・・・

get_option() 関数を使用して情報を取得する際の不具合を修正

テンプレート修正 : inc/term-customized.php

上記のテンプレートの修正内容につきましては該当箇所が多岐に渡る為、内容を照らし合わせて修正をお願いいたします。

テンプレート修正 : inc/theme-customizer.php 1348行目〜1350行目

テンプレートに不要なコードがございますので、下記のコードを削除してください。

        if ( ! isset( $options['instagram_button'] ) ) {
            $options['instagram_button'] = false;
        }
        if ( ! isset( $options['home_layout'] ) ) {
            $options['home_layout'] = 'value1';
        }
        if ( ! isset( $options['home_cat_title'] ) ) {