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

Welcart Carina 1.0.5 をリリース

Welcart Carina 1.0.5 をリリースしました。

今回の更新内容は次の通りです。

  1. PCブラウザを狭くした場合のメニュー開閉動作の不具合を修正
  2. 商品タグの修正
  3. WordPress の翻訳変更に伴うテンプレートファイルの修正
  4. テーマカスタマイザーの不具合修正

PCブラウザを狭くした場合のメニュー開閉動作の不具合を修正

コード削除: welcart_basic-carina/js/wcct-menu.js 4行目

 $( document ).ready( function() {
    var windowWidth = window.innerWidth;
    if ( windowWidth <= 1000 ) {
        $('#mobile-menu,.view-cart').css('height', $('body').height() + 'px');
        $('.menu-trigger').click(function(){
            $('.site').toggleClass('menu-on');
        });
    } else {
        $('.site').removeClass('menu-on');
        $('.view-cart').css('height', '');
    }

コード追加: welcart_basic-carina/js/wcct-menu.js 23行目

$(window).on('load resize', function() {
    var windowWidth = window.innerWidth;
    if ( windowWidth <= 1000 ) {
        $('#mobile-menu,.view-cart').css('height', $('body').height() + 'px');
        $('.menu-trigger').on('click', function(){
            $('.site').toggleClass('menu-on');
        });
    } else {
        $('.site').removeClass('menu-on');
        $('.view-cart').css('height', '');
    }
});

商品タグの修正

コード修正・追加: welcart_basic-carina/inc/front-customized.php 244行目

function wcct_get_produt_tag( $post_id = null ) {
    global $post;
    
    ・
    ・
    
    if ( NULL == $post_id )
        $post_id = $post->ID;
    
    $cats = get_the_category( $post_id );

    ・
    ・
    ・
}
function wcct_produt_tag( $post_id = null ) {
    echo wcct_get_produt_tag( $post_id );
}

WordPress の翻訳変更に伴うテンプレートファイルの修正

翻訳修正: front-page.php / 「wc_templates」テンプレートファイル

<p><?php _e( 'Sorry, no posts matched your criteria.', 'usces' ); ?></p>
※「’usces’」を追加

テーマカスタマイザーの不具合修正

コード修正: welcart_basic-carina/inc/theme-customizer.php 940行目

function wcct_get_info_categories() {
    $target_arg = array(
                'hide_empty'    =>   false,
                'exclude_tree'  =>   usces_get_cat_id( 'item' ),
            );
※「’hide_empty’ => false」を追加

スタイル追加: welcart_basic-carina/style.css 1003行目

.info-area p.no-date {
    letter-spacing: normal;
}