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

Welcart Bordeaux 1.6 をリリース

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

【WCEX Auto Delivery】定期購入商品ページ専用のテンプレート追加

WCEX Auto Delivery 1.7 より、定期購入商品のカートボタンのみを表示する商品ページを作成できるようになりました。Auto Delivery 側の機能追加に伴い、下記の定期購入商品ページ専用のテンプレートを追加しています。

  • wc_templates/wc_item_autodelivery.php
  • wc_templates/ wc_sku_select_autodelivery.php
    ※ 拡張プラグイン「WCEX SKU Select」を利用した時の定期購入商品ページ用テンプレートになります。

既にカスタマイズしてアップグレードできない場合は、マイページから最新版のテーマをダウンロードして、上記に記載の専用テンプレートを(テーマ内の wc_templates/ 配下 に)保存してください。

auto_deli_sku

【DL Seller】自動継続課金ページ専用のテンプレート追加

WCEX DL Seller 3.5 で、マイページに自動継続課金履歴が表示されるようになります。自動継続課金ページの表示に伴い、スタイル調整、専用テンプレートの追加をおこなっております。

既にカスタマイズしてアップグレードできない場合は、下記の説明を参考に専用テンプレートの追加とスタイル修正をおこなってください。

テンプレート追加 : wc_templates/member/wc_dlseller_auto_billing_page.php

マイページから最新版のテーマをダウンロードして、上記に記載の専用テンプレートを(テーマ内の wc_templates/member/ 配下 に)保存してください。

auto_billing

CSS追加: dlseller.css 179行目〜

/* DL Seller | Member Auto Billing Info
-------------------------------------------------------------- */
#wc_member_auto_billing_info .member_submenu a {
    border: 1px solid #ccc;
    background-color: #eee;
    color: #333;
    font-size: 14px;
}
#wc_member_auto_billing_info .member_submenu a:hover {
    background-color: #ddd;
}
.auto_billing_contents .subscription_block {
    margin-bottom: 20px;
    overflow: hidden;
}
.auto_billing_contents dl,
#memberinfo .auto_billing_contents table {
    font-size: 14px;
}
#wc_member_auto_billing_info #memberinfo h3 {
    padding-left: 1rem;
    font-size: 1.16667em;
    line-height: 26px;
}
.auto_billing_contents .billing-year-select select {
    padding: .5714285em 2.14286em .5714285em .5714285em;
    font-size: 1em;
}
#memberinfo .auto_billing_contents table tbody td a {
    background-color: #a61536;
}
#memberinfo .auto_billing_contents table tbody td a:hover {
    background-color: #8e122e;
}

X(旧Twitter)のロゴ変更

旧Twitter のロゴを X に変更しています。

twitter-icon

画像の追加 : images/ico-x.svg

※ 既にカスタマイズしてアップグレードできない場合は、マイページから最新版のテーマをダウンロードして、上記に記載の画像を(テーマ内の images/ 配下 に)保存してください。

翻訳修正 : languages/ja.po, languages/ja.mo

※ 既にカスタマイズしてアップグレードできない場合は、マイページから最新版のテーマをダウンロードして、上記に記載のファイルを(テーマ内の languages/ 配下 に)保存してください。

テンプレート修正 : footer.php 37行目あたり

<?php if ( wcct_get_options( 'twitter_button' ) ) : ?>
    <li class="twitter"><a target="_blank" href="https://twitter.com/<?php wcct_options( 'twitter_id' ); ?>" rel="nofollow"><i class="twitter-svg"></i></a></li>
<?php endif; ?>
<?php if ( wcct_get_options( 'twitter_button' ) ) : ?>
    <li class="twitter"><a target="_blank" href="https://x.com/<?php wcct_options( 'twitter_id' ); ?>" rel="nofollow"><i class="twitter-svg"></i></a></li>
<?php endif; ?>

※ x.comのリンクに変更

テンプレート修正 : inc/theme-customizer.php

85行目あたり
$wp_customize->add_control(
        'control_twitter_id',
        array(
            'label'       => __( 'Display twitter', 'welcart_basic_bordeaux' ),
            'section'     => 'title_tagline',
            'settings'    => 'basic_type_options[twitter_id]',
$wp_customize->add_control(
        'control_twitter_id',
        array(
            'label'       => __( 'Display X', 'welcart_basic_bordeaux' ),
            'section'     => 'title_tagline',
            'settings'    => 'basic_type_options[twitter_id]',
105行目あたり
 $wp_customize->add_control(
        'control_twitter_button',
        array(
            'label'    => __( 'Show twitter', 'welcart_basic_bordeaux' ),
            'section'  => 'title_tagline',
            'settings' => 'basic_type_options[twitter_button]',
 $wp_customize->add_control(
        'control_twitter_button',
        array(
            'label'    => __( 'Show X', 'welcart_basic_bordeaux' ),
            'section'  => 'title_tagline',
            'settings' => 'basic_type_options[twitter_button]',

スタイル修正 : style.css 806行目〜809行目

.twitter-svg::before {
    -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22243.768%22%20viewBox%3D%220%200%20300%20243.768%22%3E%20%3Cg%20id%3D%22twitter-logo-2429%22%20transform%3D%22translate(0%20-23.703)%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_5%22%20data-name%3D%22%E3%83%91%E3%82%B9%205%22%20d%3D%22M94.344%2C267.472c113.208%2C0%2C175.129-93.794%2C175.129-175.129%2C0-2.663%2C0-5.317-.18-7.957A125.19%2C125.19%2C0%2C0%2C0%2C300%2C52.526a122.817%2C122.817%2C0%2C0%2C1-35.354%2C9.683%2C61.757%2C61.757%2C0%2C0%2C0%2C27.06-34.044%2C123.32%2C123.32%2C0%2C0%2C1-39.084%2C14.94A61.609%2C61.609%2C0%2C0%2C0%2C147.728%2C99.243%2C174.75%2C174.75%2C0%2C0%2C1%2C20.88%2C34.932%2C61.594%2C61.594%2C0%2C0%2C0%2C39.937%2C117.1%2C61.1%2C61.1%2C0%2C0%2C1%2C12%2C109.393v.78A61.572%2C61.572%2C0%2C0%2C0%2C61.381%2C170.51a61.474%2C61.474%2C0%2C0%2C1-27.794%2C1.057%2C61.617%2C61.617%2C0%2C0%2C0%2C57.5%2C42.744%2C123.513%2C123.513%2C0%2C0%2C1-76.441%2C26.4A125.134%2C125.134%2C0%2C0%2C1%2C0%2C239.821a174.264%2C174.264%2C0%2C0%2C0%2C94.344%2C27.6%22%20transform%3D%22translate(0%200)%22%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22243.768%22%20viewBox%3D%220%200%20300%20243.768%22%3E%20%3Cg%20id%3D%22twitter-logo-2429%22%20transform%3D%22translate(0%20-23.703)%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_5%22%20data-name%3D%22%E3%83%91%E3%82%B9%205%22%20d%3D%22M94.344%2C267.472c113.208%2C0%2C175.129-93.794%2C175.129-175.129%2C0-2.663%2C0-5.317-.18-7.957A125.19%2C125.19%2C0%2C0%2C0%2C300%2C52.526a122.817%2C122.817%2C0%2C0%2C1-35.354%2C9.683%2C61.757%2C61.757%2C0%2C0%2C0%2C27.06-34.044%2C123.32%2C123.32%2C0%2C0%2C1-39.084%2C14.94A61.609%2C61.609%2C0%2C0%2C0%2C147.728%2C99.243%2C174.75%2C174.75%2C0%2C0%2C1%2C20.88%2C34.932%2C61.594%2C61.594%2C0%2C0%2C0%2C39.937%2C117.1%2C61.1%2C61.1%2C0%2C0%2C1%2C12%2C109.393v.78A61.572%2C61.572%2C0%2C0%2C0%2C61.381%2C170.51a61.474%2C61.474%2C0%2C0%2C1-27.794%2C1.057%2C61.617%2C61.617%2C0%2C0%2C0%2C57.5%2C42.744%2C123.513%2C123.513%2C0%2C0%2C1-76.441%2C26.4A125.134%2C125.134%2C0%2C0%2C1%2C0%2C239.821a174.264%2C174.264%2C0%2C0%2C0%2C94.344%2C27.6%22%20transform%3D%22translate(0%200)%22%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E");
}
.twitter-svg::before {
    -webkit-mask-image: url("./images/ico-x.svg");
    mask-image: url("./images/ico-x.svg");
}

SNSアイコンの非表示設定が機能しない不具合修正

テンプレート修正 : inc/theme-customizer.php 411行目あたり

function wcct_sanitize_checkbox( $input ) {
        if ( isset( $input ) ) {
            return true;
        } else {
            return false;
function wcct_sanitize_checkbox( $input ) {
        if ( true === $input ) {
            return true;
        } else {
            return false;

カートページのボタンのスタイル調整

スタイル修正 : usces_cart.css 787行目〜791行目

#wc_customer .send input.to_reganddeliveryinfo_button {
    color: #fff;
    margin-top: .714286em;
    background-color: #a61536;
    border: 1px solid #8e122e;
}
#wc_customer .send input.to_reganddeliveryinfo_button {
    color: #fff;

    background-color: #a61536;
    border: 1px solid #8e122e;
}

スタイル修正 : usces_cart.css 1176行目〜1178行目

.member_submenu li {
    display: inline-block;
    margin: .833333em 0;
}
.member_submenu li {
    display: inline-block;

}