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

Welcart Nova 1.1.0 をリリース

Welcart Nova 1.1.0 をリリースしました。

【変更点】

キャンペーン期間中の割引率表示機能追加

Welcart Novaの親テーマWelcart Basicの1.2より「キャンペーン期間中の割引率表示」機能が追加されました。 まずは、Welcart Basicを1.2にアップデートしてください。 Welcart Novaをカスタマイズされていない方は、そのまま1.1.0にアップデートしてください。 アップグレード方法については、Welcart Novaのドキュメントを参照してください。 Welcart Nova 1.1 ドキュメント インストールの方法 – アップデート
表示価格より◯◯% OFF ポイント◯倍
nova-campaign01 nova-campaign02
nova-campaign03 nova-campaign04
Welcart Novaをカスタマイズされている方は、ループ内の表示したい位置に下記のテンプレートタグを追加後適宜スタイルを調整してください。
<php welcart_basic_campaign_message(); >

※ループ外では、割引率は表示されませんのでご注意ください。

詳しくはドキュメントを参照してください。 Welcart Bordeaux 1.1 ドキュメント テーマについて – キャンペーン期間中の割引率表示

商品カテゴリー複合検索ページの「検索開始」ボタンのスタイルを調整

welcart_basic-nova/usces_cart.css 748行目
#searchbox input.usces_search_button {
    display: inline-block;
    color: #fff;
    width: auto;
    padding: 0 30px;
    background-color: #c2c3c3;
    border: none;
    line-height: 40px;
    text-align: center;
    -moz-box-shadow: 0 3px #a5a6a7;
    -webkit-box-shadow: 0 3px #a5a6a7;
    box-shadow: 0 3px #a5a6a7;  
}
#searchbox input.usces_search_button {
    
    color: #fff;
    width: auto;
    padding: 0 30px;
    background-color: #c2c3c3;
    border: none;
    line-height: 40px;
    text-align: center;
    -moz-box-shadow: 0 3px #a5a6a7;
    -webkit-box-shadow: 0 3px #a5a6a7;
    box-shadow: 0 3px #a5a6a7;  
}

グローバルナビのサブメニューがブラウザからはみ出した時、はみ出した部分が見れなくなるのを修正

welcart_basic-nova/css/home-parts.css 340行目
header.site-header .inner {
    width: 100%;
    
    padding: 35px 0 100% 0;
    background-color: #1c1c1c;
}
header.site-header .inner {
    width: 100%;
    height: 100%;
    padding: 35px 0 100% 0;
    background-color: #1c1c1c;
}
welcart_basic-nova/css/home-parts.css 472行目あたり
.home #site-navigation ul li {
    position: static;
}
welcart_basic-nova/css/home-parts.css 479行目
.home #site-navigation li a {
    font-size: 13px;
    margin-bottom: 0;
    padding: 0 15px 0 30px;
    line-height: 50px;
    
}
.home #site-navigation li a {
    font-size: 13px;
    margin-bottom: 0;
    padding: 0 15px 0 30px;
    line-height: 50px;
    position: relative;
}
welcart_basic-nova/css/home-parts.css 491行目
.home #site-navigation ul ul {
    display: block;
    width: 100%;
    
    background-color: #1c1c1c;
    border: none;
    opacity: 0;
    
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;  
}
.home #site-navigation ul ul {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #1c1c1c;
    border: none;
    opacity: 0;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;  
}
welcart_basic-nova/css/home-parts.css 523行目
.home #site-navigation ul ul ul {
    position: static;
    opacity: 1;
    
    
}
.home #site-navigation ul ul ul {
    position: static;
    opacity: 1;
    height: auto;
    overflow-y: inherit;
}
welcart_basic-nova/css/home-parts.css 571行目
.home #site-navigation ul ul,
.blog #site-navigation ul ul {
    display: block;
    width: 100%;
    height: 100%;
    
    background-color: #1c1c1c;
    border: none;
    opacity: 0;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;  
}
.home #site-navigation ul ul,
.blog #site-navigation ul ul {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 0 50px;
    background-color: #1c1c1c;
    border: none;
    opacity: 0;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;  
}
welcart_basic-nova/css/ie.css 21行目
.home .snav .membership {
    
    overflow: inherit;  
}
.home .snav .membership,
.blog .snav .membership {
    overflow: inherit;  
}
welcart_basic-nova/css/ie.css 24行目
.home #site-navigation {
    
    position: inherit;
}
.home #site-navigation,
.blog #site-navigation {
    position: inherit;
}
welcart_basic-nova/css/ie.css 29行目あたり
.home #site-navigation ul li:hover ul,
.blog #site-navigation ul li:hover ul {
    height: 100%;
}
.home #site-navigation ul li:hover li,
.blog #site-navigation ul li:hover li {
    height: auto;
}
welcart_basic-nova/css/ie.css 38行目
.home .search-box input[type='text'],
.home .search-box #searchsubmit,
    
    
.widget_search #s {
    height: 30px;
}
.home .search-box input[type='text'],
.home .search-box #searchsubmit,
.blog .search-box input[type='text'],
.blog .search-box #searchsubmit,
.widget_search #s {
    height: 30px;
}
welcart_basic-nova/css/ie.css 47行目
.category #primary .page-header {
    height: 400px;
}
  
  
  

管理画面 > フロントページの表示設定を「固定ページ」に設定しても表示されない不具合を修正

まずは、Welcart Basicを1.2にアップデートしてください。
welcart_basic-nova/front-page.php 31行目
<div class="cat-desc-wrap">
<div class="cf slider cat-slider">
welcart_basic-nova/front-page.php 52行目
<?php if( have_posts() ) : ?>
<section class="front-il cf">

    <?php if(wcct_get_options('home_cat_title')): ?>
        <h2><?php echo get_cat_name( get_query_var( 'cat' ) ); ?></h2>
    <?php endif; ?>

    <div class="slider item-block-slider">
    <?php while( have_posts() ) : the_post(); usces_the_item(); ?>
        <article id="post-<?php the_ID(); ?>">
            <div class="itemimg">
                <a href="<?php the_permalink(); ?>">
                    <?php usces_the_itemImage( 0, 300, 300 ); ?>
                    <?php if( wcct_get_options('display_soldout') && !usces_have_zaiko_anyone() ): ?>
                    <div class="itemsoldout">
                        <div class="inner">
                            <?php _e('SOLD OUT', 'welcart_basic_nova' ); ?>
                            <?php if( wcct_get_options('display_inquiry') ): ?>
                            <span class="text"><?php wcct_options('display_inquiry_text'); ?></span>
                            <?php endif; ?>
                        </div>
                    </div>
                    <?php endif; ?>
                </a>
            </div>
            <?php wcct_produt_tag(); ?>
            <div class="item-info-wrap">
                <div class="itemname"><a href="<?php the_permalink(); ?>"  rel="bookmark"><?php usces_the_itemName(); ?></a></div>
                <div class="itemprice"><?php usces_crform( usces_the_firstPrice('return'), true, false ) . usces_guid_tax(); ?></div>
            </div><!-- item-info-box -->
        </article>
    
    <?php endwhile; ?>
    </div><!-- .item-block-slider -->
</section><!-- .front-il -->
<?php endif; ?>
<?php if ( 'page' == get_option('show_on_front') ): ?>

    <div class="sof">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <article <?php post_class() ?> id="post-<?php the_ID(); ?>">

            <h2 class="entry-title"><?php the_title(); ?></h2>
    
            <div class="entry-content">
                <?php the_content(); ?>
            </div>
        </article>
    <?php endwhile; else: ?>
        <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    </div>

<?php else: ?>

    <?php if( have_posts() ) : ?>
    <section class="front-il cf">
        <?php if(wcct_get_options('home_cat_title')): ?>
            <h2><?php echo get_cat_name( get_query_var( 'cat' ) ); ?></h2>
        <?php endif; ?>

        <div class="slider item-block-slider">
        <?php while( have_posts() ) : the_post(); usces_the_item(); ?>
            <article id="post-<?php the_ID(); ?>">
                <div class="itemimg">
                    <a href="<?php the_permalink(); ?>">
                        <?php usces_the_itemImage( 0, 300, 300 ); ?>
                        <?php if( wcct_get_options('display_soldout') && !usces_have_zaiko_anyone() ): ?>
                        <div class="itemsoldout">
                            <div class="inner">
                                <?php _e('SOLD OUT', 'welcart_basic_nova' ); ?>
                                <?php if( wcct_get_options('display_inquiry') ): ?>
                                <span class="text"><?php wcct_options('display_inquiry_text'); ?></span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <?php endif; ?>
                    </a>
                </div>
                <?php wcct_produt_tag(); ?>
                <?php welcart_basic_campaign_message(); ?>
                <div class="item-info-wrap">
                    <div class="itemname"><a href="<?php the_permalink(); ?>"  rel="bookmark"><?php usces_the_itemName(); ?></a></div>
                    <div class="itemprice"><?php usces_crform( usces_the_firstPrice('return'), true, false ) . usces_guid_tax(); ?></div>
                </div><!-- item-info-box -->
            </article>
        
        <?php endwhile; ?>
        </div><!-- .item-block-slider -->
    </section><!-- .front-il -->
    <?php endif; ?>

<?php endif; ?>
welcart_basic-nova/css/home-parts.css 22行目
.home.blog #content h2 {
    color: #6c6c6c;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}
.home.blog #content h2:after {
    display: block;
    content: " ";
    width: 70px;
    height: 2px;
    background-color: #aaa;
    margin: 15px auto 0;
}
.home.blog #content h2,
#content .info-area h2 {
    color: #6c6c6c;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}
.home.blog #content h2:after,
#content .info-area h2:after {
    display: block;
    content: " ";
    width: 70px;
    height: 2px;
    background-color: #aaa;
    margin: 15px auto 0;
}
welcart_basic-nova/css/home-parts.css 231行目あたり
/*-- if ( 'posts' == get_option( 'show_on_front' ) ) --*/

.home #content .entry-title {
    margin: 30px 15px;
    border: none;
}
.home #content .entry-content {
    margin: 0 15px;
}
welcart_basic-nova/css/home-parts.css 706行目あたり
/*-- if ( 'posts' == get_option( 'show_on_front' ) ) --*/
.home #content .entry-title {
    width: auto;
    font-size: 26px;
    margin: 30px 15px 0;
}
welcart_basic-nova/css/home-parts.css 833行目あたり
/*-- if ( 'posts' == get_option( 'show_on_front' ) ) --*/
.home #content .entry-title,
.home #content .entry-content {
    width: auto;
    margin: 30px 60px 0;
    padding: 0;
}

PHP5.2環境下でテーマが有効化できない不具合を修正

welcart_basic-nova/inc/theme-customizer.php 145行目
'active_callback'  => function() { return !is_front_page() && !is_home() && !welcart_basic_is_cart_page() && !welcart_basic_is_member_page(); },
'active_callback'  => 'callback_is_twocolumn',
welcart_basic-nova/inc/theme-customizer.php 163行目 welcart_basic-nova/inc/theme-customizer.php 205行目
'active_callback'  => function() { return is_front_page() || is_home() || is_archive() || is_search(); },
'active_callback'  => 'callback_is_itemlist',
welcart_basic-nova/inc/theme-customizer.php 266行目 welcart_basic-nova/inc/theme-customizer.php 282行目 welcart_basic-nova/inc/theme-customizer.php 297行目 welcart_basic-nova/inc/theme-customizer.php 314行目
'active_callback'  => function() { return is_single() && usces_is_item(); },
'active_callback'  => 'callback_is_itemsingle',
welcart_basic-nova/inc/theme-customizer.php 331行目
'active_callback'  => function() { return welcart_basic_is_cart_page(); },
'active_callback'  => 'callback_is_cartpage',
welcart_basic-nova/inc/theme-customizer.php 362行目
'active_callback'  => function() { return is_category(); },
'active_callback'  => 'callback_is_category',
welcart_basic-nova/inc/theme-customizer.php 377行目
function callback_is_twocolumn() {
    return !is_front_page() && !is_home() && !welcart_basic_is_cart_page() && !welcart_basic_is_member_page() && !( is_single() && usces_is_item() );
}
function callback_is_itemlist() {
    return is_front_page() || is_home() || is_archive() || is_search();
}
function callback_is_itemsingle() {
    return is_single() && usces_is_item();
}
function callback_is_cartpage() {
    return welcart_basic_is_cart_page();
}
function callback_is_category() {
    return is_category();
}

サブページでヘッダーナビメニューのレイアウトを修正

welcart_basic-nova/css/parts.css 33行目
div.site-title {
    margin: 68px 0 19px;
}
div.site-title {
    position: relative;
    margin: 68px 0 19px;
}
welcart_basic-nova/css/parts.css 174行目
#site-navigation {
    position: static;
    width: 100%;
    height: auto !important;
    top: 0;
    left: 0;
    margin-right:160px;
    padding: 0;
    background: none;
    opacity: 1;
}
#site-navigation {
    position: static;
    width: auto;
    height: auto !important;
    top: 0;
    left: 0;
    margin: 0 160px 0 0;
    padding: 0;
    background: none;
    opacity: 1;
}