カートの中身の文言変更

フォーラム その他 カートの中身の文言変更

タグ: 

  • このトピックには9件の返信、2人の参加者があり、最後にyskysmrにより6年、 8ヶ月前に更新されました。
10件の投稿を表示中 - 1 - 10件目 (全10件中)
  • 投稿者
    投稿
  • #83234
    ikamimotohiro
    参加者

    お世話になっております。

    カートを遷移していくと

    会員の方はこちら▼
    会員ではない方はこちら▼

    と文言がでますが

    この文言を編集できないでしょうか?

    ショッピング会員はこちら

    という表記に変更したいとおもいます。

    また、会員でない方はこちらのサンプル住所を変更したいのですが
    どのファイルを変更すればよろしいでしょうか?

    ご教授宜しくお願いします。

    動作に関するご質問の場合は、必ず下記をコピペしてご利用の環境をご記入ください。
    ——————————————-
    WordPress のバージョン:(例 4.7.4)
    Welcart のバージョン:(例 1.9.2)
    Welcart専用の拡張プラグイン:(例 DLSeller、Mobileなど)
    ご利用のテーマ:(例 WelcartBasicの自作子テーマ)
    症状を確認したブラウザ:
    サーバー:(会社名、サービス名)
    SSLの利用:(例 常時SSL)
    WordPress のパーマリンク設定:(例 /archives/%post_id%/)
    ——————————————–

    #83238
    yskysmr
    キーマスター

    こんにちは。

    動作環境は正しくご記入ください。お使いのテーマは何でしょうか。テーマにより編集するファイルが変わってきます。
    ——————————————-
    WordPress のバージョン:(例 4.7.4)
    Welcart のバージョン:(例 1.9.2)
    Welcart専用の拡張プラグイン:(例 DLSeller、Mobileなど)
    ご利用のテーマ:(例 WelcartBasicの自作子テーマ)
    症状を確認したブラウザ:
    サーバー:(会社名、サービス名)
    SSLの利用:(例 常時SSL)
    WordPress のパーマリンク設定:(例 /archives/%post_id%/)
    ——————————————–

    #83240
    ikamimotohiro
    参加者

    失礼しました。

    以下記載しておきます。

    宜しくお願いします。

    WordPress のバージョン:WordPress 4.7.5
    Welcart のバージョン:(例 1.9.2)
    Welcart専用の拡張プラグイン:特になし
    ご利用のテーマ:agent_tcd033 TCDテーマ
    症状を確認したブラウザ:クロム
    サーバー:(会社名、サービス名)Xサーバー
    SSLの利用:(例 常時SSL)使用中
    WordPress のパーマリンク設定:/2017/06/06/%E9%BB%92%E8%B1%86%E3%82%AA%E3%83%BC%E3%83%8A%E3%83%BC2017%E5%B9%B4%E5%BA%A6/

    #83244
    yskysmr
    キーマスター

    ikamimotohiro 様

    ご利用のテーマ配下に、wc_templates を設置し、wc_templates/cart/wc_customer_page.php(お客様情報入力ページ) の該当箇所を編集してください。

    wc_templates を設置することにより、カートページのスタイルの調整が必要になるかもしれません。

    • この返信は6年、 9ヶ月前にyskysmrが編集しました。
    • この返信は1年、 8ヶ月前にWelcartが編集しました。
    #83264
    ikamimotohiro
    参加者

    yskysmr さま

    ご返信ありがとうございます。

    早速現在の下のテーマに入れてみました。

    稼働はしているのですが

    2つの問題がでています。

    1ファイルの中に日本語の”会員”という文字が見当たらない
    2ご指摘どおりレイアウトが崩れる

    初歩的な問題かもしれませんが
    1と2を改善したいと思慮しております。

    1はどこかに格納されているのでしょうか?
    2はどのファイルを触るといいのか教えていただければさいわいです。

    お手数おかけしますが
    宜しくお願いします。

    #83292
    yskysmr
    キーマスター

    ikamimotohiro 様

    1ファイルの中に日本語の”会員”という文字が見当たらない

    日本語なのはローカライズされているからで、元々は英語で表記しています。ローカライズの必要がなければ日本語で記述しても構いませんが、ファイルを必ず UTF-8 で保存してください。

    2ご指摘どおりレイアウトが崩れる

    Welcart Shop>システム設定>「usces_cart.css の無効化」にチェックをして、設定します。Welcart のプラグインフォルダ/css/usces_cart.css をご利用のテーマ配下に設置して、編集してください。

    #83437
    ikamimotohiro
    参加者

    具体的な解答ありがとうございます。

    まだ解決できていないので
    もう少しだけお付き合いいただければ幸いです。

    ーーーーーーーーーーーーーーーー

    日本語なのはローカライズされているからで、元々は英語で表記しています。ローカライズの必要がなければ日本語で記述しても構いませんが、ファイルを必ず UTF-8 で保存してください。

    ーーーーーーーーーーーーーーーー

    このローカライズの意味と具体的に何処の文言を治すのか?
    教えていただけないでしょうか?

    wc_customer_page.phpのソースを貼り付けておきます。

    <?php
    /**
    * <meta content=”charset=UTF-8″>
    * @package Welcart
    * @subpackage Welcart Default Theme
    */
    get_header();
    ?>

    <?php if (have_posts()) : usces_remove_filter(); ?>

    “>

    <h1 class=”cart_page_title”><?php _e(‘In the cart’, ‘usces’); ?></h1>

      <li class=”ucart usccart usccart_cart”><?php _e(‘1.Cart’,’usces’); ?>
      <li class=”ucart usccustomer”><?php _e(‘2.Customer Info’,’usces’); ?>
      <li class=”ucart uscdelivery”><?php _e(‘3.Deli. & Pay.’,’usces’); ?>
      <li class=”ucart uscconfirm”><?php _e(‘4.Confirm’,’usces’); ?>

    <?php do_action(‘usces_action_cart_page_header’); ?>
    <?php usces_error_message(); ?>

    <form action=”<?php usces_url(‘cart’); ?>” method=”post” onKeyDown=”if (event.keyCode == 13) {return false;}”>
    <?php if( usces_is_cart() ) : ?>

    <?php _e(‘Press the update button when you change the amount of items.’,’usces’); ?><input name=”upButton” type=”submit” value=”<?php _e(‘Quantity renewal’,’usces’); ?>” onclick=”return uscesCart.upCart()” />

    <table cellspacing=”0″ id=”cart_table”>
    <thead>
    <tr>
    <th scope=”row” class=”num”>No.</th>
    <th class=”thumbnail”> </th>
    <th><?php _e(‘item name’,’usces’); ?></th>
    <th class=”quantity”><?php _e(‘Unit price’,’usces’); ?></th>
    <th class=”quantity”><?php _e(‘Quantity’,’usces’); ?></th>
    <th class=”subtotal”><?php _e(‘Amount’,’usces’); ?><?php usces_guid_tax(); ?></th>
    <th class=”stock”><?php _e(‘stock status’,’usces’); ?></th>
    <th class=”action”> </th>
    </tr>
    </thead>
    <tbody>
    <?php usces_get_cart_rows(); ?>
    </tbody>
    <tfoot>
    <tr>
    <th colspan=”5″ scope=”row” class=”aright”><?php _e(‘total items’,’usces’); ?><?php usces_guid_tax(); ?></th>
    <th class=”aright”><?php usces_crform(usces_total_price(‘return’), true, false); ?></th>
    <th colspan=”2″> </th>
    </tr>
    </tfoot>
    </table>

    <?php _e(‘Currency’,’usces’); ?> : <?php usces_crcode(); ?>

    <?php if( $usces_gp ) : ?>
    /images/gp.gif” alt=”<?php _e(‘Business package discount’,’usces’); ?>” /><br /><?php _e(‘The price with this mark applys to Business pack discount.’,’usces’); ?>
    <?php endif; ?>

    <!– end of cart –>

    <?php else : ?>

    <?php _e(‘There are no items in your cart.’,’usces’); ?>

    <?php endif; ?>

    <?php the_content();?>

    <?php usces_get_cart_button(); ?>

    <?php do_action(‘usces_action_cart_page_inform’); ?>
    </form>

    <!– end of inside-cart –>

    <!– end of entry –>

    <!– end of post –>
    <?php else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
    <?php endif; ?>

    <!– end of catbox –>

    <!– end of content –>

    <?php get_sidebar( ‘cartmember’ ); ?>

    <?php get_footer(); ?>

    ーーーーーーーーーーーーーーーー

    もしかすると他に表記している部分があるのであれば
    教えて下さいませ。

    お手数おかけしますが宜しくお願いします。

    #83461
    yskysmr
    キーマスター

    ikamimotohiro 様

    ブラウザの要素検証機能を使ってご確認ください。

    #83469
    ikamimotohiro
    参加者

    yskysmr さま

    ありがとうございます。

    確認した所
    こういう階層になっているのですが
    このファイルは何処に格納されているのでしょうか?

    素人質問ですみません。

    非常に困っております。

    Attachments:
    You must be logged in to view attached files.
    #83480
    yskysmr
    キーマスター

    ikamimotohiro 様

    「このファイル」というような「ひとつのファイル」は存在しません。WordPress のテンプレート構造をご理解ください。最初に申し上げましたが、ご指摘の修正箇所は、wc_templates/cart/wc_customer_page.php になります。

10件の投稿を表示中 - 1 - 10件目 (全10件中)
  • このトピックに返信するにはログインが必要です。