在庫状態を非表示にするには。

フォーラム 使い方全般 在庫状態を非表示にするには。

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

    動作に関するご質問の場合は必ずご記入ください。


    WordPress のバージョン:

    Welcart のバージョン:3.5.2

    ご利用のテーマ:weltheme

    症状を確認したブラウザ:IE9

    サーバー(会社名、サービス名):ロリポップ

    SSLの利用: 無し | 専用SSL | 共用SSL

    WordPress のパーマリンク設定:


    在庫状態を非表示、行そのものを削除したいのですが、

    ご教示願ください。

    下記のwc_item_single_phpファイルの

    <dt class=”field_name”><?php _e(‘List price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>

    <dd class=”field_cprice”><?php usces_the_itemCpriceCr(); ?></dd>

    辺りを削除してみましたが、上手くできません。

    どうぞ、よろしくお願いします。

    <section class=”orderitem”>

    <div class=”stockstatus”>

    <?php if( usces_the_itemCprice(‘return’) > 0 ) : ?>

    <dl>

    <dt class=”field_name”><?php _e(‘List price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>

    <dd class=”field_cprice”><?php usces_the_itemCpriceCr(); ?></dd>

    </dl>

    <?php endif; ?>

    <dl>

    <dt class=”field_name”><?php _e(‘selling price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>

    <dd class=”field_price”><?php usces_the_itemPriceCr(); ?></dd>

    </dl>

    <dl>

    <dt class=”field_name”><?php _e(‘stock status’, ‘usces’); ?></dt>

    <dd><?php usces_the_itemZaiko(); ?></dd>

    </dl>

    <?php if( $item_custom = usces_get_item_custom( $post->ID, ‘list’, ‘return’ ) ) : ?>

    <div class=”field”><?php echo $item_custom; ?></div>

    <?php endif; ?>

    </div>

    <div class=”actionform”>

    <form action=”<?php echo USCES_CART_URL; ?>” method=”post”>

    <?php usces_the_itemGpExp(); ?>

    <div class=”skuform”>

    <?php if (usces_is_options()) : ?>

    <table class=’skusingle’>

    <?php while (usces_have_options()) : ?>

    <tr><th><?php usces_the_itemOptName(); ?></th><td><?php usces_the_itemOption(usces_getItemOptName(),”); ?></td></tr>

    <?php endwhile; ?>

    </table>

    <?php endif; ?>

    <?php if( !usces_have_zaiko() ) : ?>

    <div class=”zaiko_status”><?php echo apply_filters(‘usces_filters_single_sku_zaiko_message’, __(‘Sold Out’, ‘usces’)); ?></div>

    <?php else : ?>

    <div class=”addtocart”><?php _e(‘Quantity’, ‘usces’); ?><?php usces_the_itemQuant(); ?><?php usces_the_itemSkuUnit(); ?><?php usces_the_itemSkuButton(__(‘Add to Shopping Cart’, ‘usces’), 0); ?></div>

    <div class=”error_message”><?php usces_singleitem_error_message($post->ID, usces_the_itemSku(‘return’)); ?></div>

    <?php endif; ?>

    </div><!– end of skuform –>

    <?php echo apply_filters(‘single_item_single_sku_after_field’, NULL); ?>

    <?php do_action(‘usces_action_single_item_inform’); ?>

    </form>

    </div>

    </section><!– end of action-section –>

    #67351
    nanbu
    キーマスター

    こんにちは。

    在庫状態を表示しているのは、’stock status’のあたりです。

    #67352
    EXWEL
    参加者

    ありがとうございます。

    <dt class=”field_name”><?php _e(‘List price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>

    <dd class=”field_cprice”><?php usces_the_itemCpriceCr(); ?></dd>

    </dl>

    で消えました。

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