brj

投稿の際は下記の情報をお書き添えください。
-------------------------------------------
WordPress のバージョン:(例 6.0.2)
Welcart のバージョン:(例 2.8.1)
PHP のバージョン:(例 8.0)
Welcart専用の拡張プラグインとバージョン:(例 DL Seller 3.4.1、SKU Select 1.4.2)
ご利用の親テーマとバージョン :(例 Welcart Basic 1.7.1)
ご利用の子テーマとバージョン :(例 Welcart Beldad 1.4)
症状を確認したブラウザ:
サーバー【重要】:(会社名、サービス名)
--------------------------------------------

フォーラムへの返信

4件の投稿を表示中 - 1 - 4件目 (全4件中)
  • 投稿者
    投稿
  • 返信先: WCEX SKU Selectのカスタマイズについて #83674
    brj
    参加者

    お返事ありがとうございます!
    原因は様々あるということですね…

    「JavaScript」や「編集する前のwc_sku_select.phpで動作確認」をしてみたほうが良いということですね。
    ありがとうございます!
    真っ暗だった道が少し見えてきました。
    頑張ります。

    返信先: WCEX SKU Selectのカスタマイズについて #83668
    brj
    参加者

    そうでした。。。申し訳ありません。。。ご指摘ありがとうございます!
    wc_sku_select.phpを今現在設置はしているのですが全く機能していない状態です。
    もしお時間ありましたらご確認よろしくお願いいたします。

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

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

    id=”post-<?php the_ID(); ?>”>

    <?php usces_remove_filter(); ?>
    <?php usces_the_item(); ?>
    <?php usces_have_skus(); ?>

    <script language=”javascript”>
    $(document).ready(
    function (){
    $(“#itemgallery”).PikaChoose({carousel:true,transition:[0]});
    });
    </script>

    <ul id=”itemgallery” class=”jcarousel-skin-pika”>

  • <?php usces_the_itemImage(0, 750, 480, $post); ?>
  • <?php $imageid = usces_get_itemSubImageNums(); ?>
    <?php foreach ( $imageid as $id ) : ?>

  • <?php usces_the_itemImage($id, 750, 480, $post); ?>
  • <?php endforeach; ?>

    <!– .alpha–>

    <?php if(usces_sku_num() === 1) : usces_have_skus(); ?>
    <!–1SKU(SKUを1つしかもたない時の表示)–>

    <h1 class=”item_page_title”><?php the_title(); ?></h1>

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

    <?php echo $item_custom; ?>

    <?php endif; ?>

    <!– end of exp –>

    <section class=”orderitem”>

    <?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”><span class=”ss_cprice”><?php usces_the_itemCpriceCr(); ?></span></dd>
    </dl>
    <?php endif; ?>
    <dl>
    <dt class=”field_name”><?php _e(‘selling price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>
    <dd class=”field_price”><span class=”ss_cprice”><?php usces_the_itemPriceCr(); ?></span></dd>
    </dl>
    <dl>
    <dt class=”field_name”><?php _e(‘stock status’, ‘usces’); ?></dt>
    <dd><span class=”ss_stockstatus”><?php usces_the_itemZaiko(); ?></span></dd>
    </dl>

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

    <?php echo $item_custom; ?>

    <?php endif; ?>

    <form action=”<?php echo USCES_CART_URL; ?>” method=”post”>
    <?php //usces_the_itemGpExp(); ?>

    <?php wcex_sku_select_form(); ?>

    <?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() ) : ?>

    <?php echo apply_filters(‘usces_filters_single_sku_zaiko_message’, __(‘Sold Out’, ‘usces’)); ?>

    <?php else: ?>

    <?php _e(‘Quantity’, ‘usces’); ?><?php usces_the_itemQuant(); ?><?php usces_the_itemSkuUnit(); ?><?php usces_the_itemSkuButton(__(‘Add to Shopping Cart’, ‘usces’), 0); ?>
    <?php usces_singleitem_error_message($post->ID, usces_the_itemSku(‘return’)); ?>

    <?php endif; ?>

    <!– end of skuform –>
    <?php echo apply_filters(‘single_item_single_sku_after_field’, NULL); ?>
    <?php do_action(‘usces_action_single_item_inform’); ?>
    </form>

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

    <?php elseif(usces_sku_num() > 1) : usces_have_skus(); ?>
    <?php //else: ?>
    <!–some SKU(複数のSKUを持っている場合:SKUごとに注文番号やオプション、価格、カートに入れるボタンを表示します)–>

    <h1 class=”item_page_title”><?php usces_the_itemName(); ?></h1>

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

    <?php echo $item_custom; ?>

    <?php endif; ?>

    <!– end of exp –>

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

    <?php wcex_sku_select_form(); //追記?>

    <?php do { ?>

    <h3><?php usces_the_itemSkuDisp(); ?><span>注文番号<?php usces_the_itemSku(); ?></span></h3>

    <?php if( usces_the_itemCprice(‘return’) > 0 ) : ?>
    <dl>
    <dt class=””><?php _e(‘List price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>
    <dd class=”field_cprice”><span class=”ss_cprice”><?php usces_the_itemCpriceCr(); ?></span></dd>
    </dl>
    <?php endif; ?>
    <dl>
    <dt class=””><?php _e(‘selling price’, ‘usces’); ?><?php usces_guid_tax(); ?></dt>
    <dd class=”field_price”><span class=”ss_price”><?php usces_the_itemPriceCr(); ?></span></dd>
    </dl>
    <dl>
    <dt class=””><?php _e(‘stock status’, ‘usces’); ?></dt>
    <dd class=””><span class=”ss_stockstatus”><?php usces_the_itemZaiko(); ?></span></dd>
    </dl>

    <?php if (usces_is_options()) : ?>
    <table class=’item_option’>
    <?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; ?>

    <span class=”ss_stockstatus”><?php echo apply_filters(‘usces_filters_single_sku_zaiko_message’, esc_html(usces_get_itemZaiko( ‘name’ ))); ?></span>
    <span class=”ss_stockstatus”><?php echo apply_filters(‘usces_filters_single_sku_zaiko_message’, __(‘Sold Out’, ‘usces’)); ?></span>
    <?php _e(‘Quantity’, ‘usces’); ?><?php usces_the_itemQuant(); ?><?php usces_the_itemSkuUnit(); ?><?php usces_the_itemSkuButton(__(‘Add to Shopping Cart’, ‘usces’), 0); ?>
    <?php _e(‘Quantity’, ‘usces’); ?> <?php usces_the_itemQuant(); ?><?php usces_the_itemSkuUnit(); ?><?php usces_the_itemSkuButton(__(‘Add to Shopping Cart’, ‘usces’), 0); ?>

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

    <!– skumultibox –>
    <?php } while (usces_have_skus()); ?>

    <!– end of skuform –>
    <?php echo apply_filters(‘single_item_multi_sku_after_field’, NULL); ?>
    <?php do_action(‘usces_action_single_item_inform’); ?>
    </form>
    </section>
    <?php endif; ?>

    <?php usces_assistance_item( $post->ID, __(‘An article concerned’, ‘usces’) ); ?>

    <!– end of beta –>

    <!– end of itemspage –>

    <!– end of storycontent –>

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

    <!– end of catbox –>

    <h3>You may also like</h3>

    <?php related_items_list(); ?>

    <!– end of relatedbox –>

    <!– end of content –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    • この返信は6年、 8ヶ月前にwelcartが編集しました。
    返信先: 商品詳細の画像サイズ変更 #83413
    brj
    参加者

    ありがとうございます!
    変更ができました。

    返信先: 商品詳細の画像サイズ変更 #83257
    brj
    参加者

    追加です。

    ——————————————-
    WordPress のバージョン:最新
    Welcart のバージョン:最新
    ご利用のテーマ:welthemes walden
    症状を確認したブラウザ:safari
    サーバー:(会社名、サービス名)lolipop
    SSLの利用:あり
    ——————————————–

4件の投稿を表示中 - 1 - 4件目 (全4件中)