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

Welcart Simple Plus 1.5 をリリース

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

  • 全ページのh1タグ見直し
  • WordPress 6.4の翻訳修正
  • テーマカスタマイザーで商品タグのテキストを変更できるように機能を追加

全ページのh1タグ見直し


【Welcart Simple Plusの子テーマをご利用の方】

「Welcart Simple Plus 1.5」では、2階層目以降のページにおける「サイトタイトル(ロゴ)」のHTMLタグをh1タグからdivタグに変更しています。これにより、2階層目以降のページタイトルがh1タグとなるよう、以下のテンプレート修正とスタイル調整をおこなっています。

Welcart Simple Plusの子テーマをご利用の方で、子テーマ内に該当するテンプレートを追加されている場合には、Welcart Simple Plus 1.5をアップデートする際に、以下のテンプレート修正もおこなってください。


テンプレート修正 : 商品詳細ページ用テンプレート
・ wc_templates/wc_item_single.php 33行目あたり
・ wc_templates/wc_item_single_service.php 30行目あたり
・ wc_templates/wc_item_single_data.php 30行目あたり
・ wc_templates/wc_sku_select.php 34行目あたり
・ wc_templates/wc_sku_select_service.php 30行目あたり
・ wc_templates/wc_item_autodelivery.php 34行目あたり
・ wc_templates/wc_sku_select_autodelivery.php 33行目あたり

</div><!-- .gallery-item -->

<div class="group-add-item">
    <h2 class="item-name"><?php usces_the_itemName(); ?></h2>
    <div class="item-code"><?php usces_the_itemCode(); ?></div>

    <div class="current-status">
</div><!-- .gallery-item -->

<div class="group-add-item">
    <h1 class="item-name"><?php usces_the_itemName(); ?></h1>
    <div class="item-code"><?php usces_the_itemCode(); ?></div>

    <div class="current-status">

※ h2 タグから h1 タグに変更


テンプレート修正 : wc_templates/cart/wc_amazon_quickpay_page.php 23行目あたり

<div id="quickpay_wrapper">
    <div id="checkout_review" class="wcexaap">
        <div id="info-confirm">
            <h1 class="cart_page_title"><?php esc_html_e( 'Confirmation', 'usces' ); ?></h1>
            <div class="confiem_notice">
                <?php esc_html_e( 'Please do not change product addition and amount of it with the other window with displaying this page.', 'usces' ); ?>
<div id="quickpay_wrapper">
    <div id="checkout_review" class="wcexaap">
        <div id="info-confirm">
            <h2 class="cart_page_title"><?php esc_html_e( 'Confirmation', 'usces' ); ?></h2>
            <div class="confiem_notice">
                <?php esc_html_e( 'Please do not change product addition and amount of it with the other window with displaying this page.', 'usces' ); ?>

※ h1 タグから h2 タグに変更


テンプレート修正 : wc_templates/cart/wc_cart_error_page.php 21行目あたり

<article class="post" id="wc_<?php usces_page_name(); ?>">

    <h1 class="cart_page_title"><?php esc_html_e( 'Your order has not been completed', 'usces' ); ?></h1>

    <div id="error-page">
<article class="post" id="wc_<?php usces_page_name(); ?>">

    <h2 class="cart_page_title"><?php esc_html_e( 'Your order has not been completed', 'usces' ); ?></h2>

    <div id="error-page">

※ h1 タグから h2 タグに変更


テンプレート修正 : wc_templates/cart/wc_completion_page.php 21、25行目あたり

<article class="post" id="wc_<?php usces_page_name(); ?>">

    <h1 class="cart_page_title"><?php esc_html_e( 'Completion', 'usces' ); ?></h1>

    <div id="cart_completion">

        <h2><?php esc_html_e( 'It has been sent succesfully.', 'usces' ); ?></h2>

        <div class="header_explanation">
            <p><?php esc_html_e( 'Thank you for shopping.', 'usces' ); ?><br /><?php esc_html_e( "If you have any questions, please contact us by 'Contact'.", 'usces' ); ?></p>
<article class="post" id="wc_<?php usces_page_name(); ?>">

    <h2 class="cart_page_title"><?php esc_html_e( 'Completion', 'usces' ); ?></h2>

    <div id="cart_completion">

        <h3><?php esc_html_e( 'It has been sent succesfully.', 'usces' ); ?></h3>

        <div class="header_explanation">
            <p><?php esc_html_e( 'Thank you for shopping.', 'usces' ); ?><br /><?php esc_html_e( "If you have any questions, please contact us by 'Contact'.", 'usces' ); ?></p>

※ h1 タグから h2 タグに変更(21行目あたり)
※ h2 タグから h3 タグに変更(25行目あたり)