「usces_the_item」の検索結果
-
検索結果
-
トピック: 商品画像情報を編集するフィルターフック
この度はお世話になります。
商品画像情報usces_the_itemImage()などを編集する、フィルターフックはどちらになりますでしょうか。
申し訳ございませんが、ご教授ください。
よろしくお願いいたします。トピック: YARPPの商品画像の掲載方法
お世話になります。
Welcartを使用させていただいております。
サイトの回遊率上昇のため、レコメンド機能の導入を考えています。
Yet Another Related Postsを導入しましたが、商品ページのメイン画像がアイキャッチになっていないため、サムネイルとして一覧表示されませんでした。
自分なりに調べて、template_thumbnails.phpを編集すればいいのではないかというところまでわかりましたが、usces_the_itemImageURL()を利用してもなかなかうまくいきませんでした。
誠に恐縮ではございますが、だれかご教授いただけないでしょうか。
宜しくお願い致します。WordPress のバージョン:4.9.5
Welcart のバージョン:1.9.7
ご利用のテーマ:オリジナル
症状を確認したブラウザ:
サーバー(会社名、サービス名):エックスサーバー
SSLの利用:独自SSL
WordPress のパーマリンク設定:
トピック: 商品ページの画像のサイズ変更が出来ない。
一般的なテーマはWelcartで画像が最適化されていないようなので、大きさを変更するか、画像を中央に持ってきたいのですがどこをいじれば良いのかわかりません。「single_item.php」恐らく「Welcart Default Theme: wc_item_single.php (wc_templates/wc_item_single.php)」の部分のいじれば良いのかと思い下記の「<?php usces_the_itemImage(0, 300, 300, $post); ?>」を(0.800.800 )にしてみたのですが変更出来ません。何処をいじれば画像サイズの変更或は画像を中央にすることが出来ますか?
トピック: 商品のプレビュー画面でエラーが表示されます
いつもお世話になっております。
商品の公開されているページは正常なのですが、
プレビュー画面を出ると下記のエラーが表示されます。Warning: Invalid argument supplied for foreach() in /XXXXXX/welcart/single_item.php on line 140
該当コードは下記あたりになります。
==
$imageid = usces_get_itemSubImageNums();
foreach ( $imageid as $id ) {
$html .= ‘<a href=”‘ . usces_the_itemImageURL($id, ‘return’) . ‘”‘;
$html = apply_filters(‘usces_itemimg_anchor_rel’, $html);
$html .= ‘>’;
$itemImage = usces_the_itemImage($id, 137, 200, $post, ‘return’);
$html .= apply_filters(‘usces_filter_the_SubImage’, $itemImage, $post, $id);
$html .= ‘‘.”\n”;
}
==プラグインに同封されている「single_item.php」を改変しない状況で確かめても
同様のエラーが出ますのでご確認頂けましたら幸いです。どうぞよろしくお願い致します。
——————————————-
WordPress のバージョン:(例 4.8.1)
Welcart のバージョン:(例 1.9.3)
Welcart専用の拡張プラグイン:無し
ご利用のテーマ:自作テーマにWelcartのテンプレートを
症状を確認したブラウザ:Chrome
サーバー:(会社名、サービス名) エックスサーバー
SSLの利用:常時SSL
WordPress のパーマリンク設定: /%postname%/
——————————————–——————————————-
WordPress のバージョン:(4.8.1)
Welcart のバージョン:(1.9.3)
Welcart専用の拡張プラグイン:(例 DLSeller、Mobileなど)
ご利用のテーマ:(welthemesのwalden)
症状を確認したブラウザ:safari
サーバー:(ロリポップ)
SSLの利用:(あり)
WordPress のパーマリンク設定:(/%category%/%postname%.html)
——————————————–お世話になっております。
welthemesのwaldenというテーマを利用しています。
http://demo4.welthemes.comWCEX SKU Selectを購入し導入したいと思っていたのですが、オリジナルテーマを利用している場合、設定が必要なんだそうなんです。
https://www.welcart.com/docs/SkuSelect/themes.html#themes2-2どうしてもうまくいきません…
ご教授頂けましたら幸いです。よろしくお願いいたします。<?php /** * <meta content="charset=UTF-8"> * @package Welcart * @subpackage Welcart walden theme */ get_header(); ?> <div class="two-column itemsingle clearfix"> <div class="catbox"> <?php if (have_posts()) : the_post(); ?> <div> id="post-<?php the_ID(); ?>"> <div class="storycontent"> <?php usces_remove_filter(); ?> <?php usces_the_item(); ?> <?php usces_have_skus(); ?> <div> <div class="alpha"> <script language="javascript"> $(document).ready( function (){ $("#itemgallery").PikaChoose({carousel:true,transition:[0]}); }); </script> <div class="pikachoose"> <ul id="itemgallery" class="jcarousel-skin-pika"> <li><?php usces_the_itemImage(0, 750, 480, $post); ?></li> <?php $imageid = usces_get_itemSubImageNums(); ?> <?php foreach ( $imageid as $id ) : ?> <li><?php usces_the_itemImage($id, 750, 480, $post); ?></li> <?php endforeach; ?> </ul> </div> </div><!-- .alpha--> <div class="beta"> <?php if(usces_sku_num() === 1) : usces_have_skus(); ?> <!--1SKU(SKUを1つしかもたない時の表示)--> <div class="text-section"> <h1 class="item_page_title"><?php the_title(); ?></h1> <div class="exp"> <?php the_content(); ?> <?php if( $item_custom = usces_get_item_custom( $post->ID, 'list', 'return' ) ) : ?> <div class="field"> <?php echo $item_custom; ?> </div> <?php endif; ?> </div><!-- end of exp --> </div> <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"><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' ) ) : ?> <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 wcex_sku_select_form(); ?> <div class="wcss_loading"></div> <?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 --> <?php elseif(usces_sku_num() > 1) : usces_have_skus(); ?> <?php //else: ?> <!--some SKU(複数のSKUを持っている場合:SKUごとに注文番号やオプション、価格、カートに入れるボタンを表示します)--> <div class="text-section"> <h1 class="item_page_title"><?php usces_the_itemName(); ?></h1> <div class="exp"> <?php the_content(); ?> <?php if( $item_custom = usces_get_item_custom( $post->ID, 'list', 'return' ) ) : ?> <div class="field"> <?php echo $item_custom; ?> </div> <?php endif; ?> </div><!-- end of exp --> </div> <section class="orderitem"> <form action="<?php echo USCES_CART_URL; ?>" method="post"> <div class="skuform"> <?php wcex_sku_select_form(); //追記?> <div class="wcss_loading"></div> <?php do { ?> <div class="skumultibox clearfix"> <h3><?php usces_the_itemSkuDisp(); ?><span>注文番号<?php usces_the_itemSku(); ?></span></h3> <div class="stockstatus"> <?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> </div> <div class="actionform"> <?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; ?> <div class="zaiko_status itemsoldout"><span class="ss_stockstatus"><?php echo apply_filters('usces_filters_single_sku_zaiko_message', esc_html(usces_get_itemZaiko( 'name' ))); ?></span></div> <div class="zaiko_status itemsoldout"><span class="ss_stockstatus"><?php echo apply_filters('usces_filters_single_sku_zaiko_message', __('Sold Out', 'usces')); ?></span></div> <div class="c-box"><?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="addtocart"><?php _e('Quantity', 'usces'); ?> <?php usces_the_itemQuant(); ?><?php usces_the_itemSkuUnit(); ?><?php usces_the_itemSkuButton(__('Add to Shopping Cart', 'usces'), 0); ?></div> <?php //endif; ?> <p class="error"><?php usces_singleitem_error_message($post->ID, usces_the_itemSku('return')); ?></p> </div> </div><!-- skumultibox --> <?php } while (usces_have_skus()); ?> </div><!-- 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') ); ?> </div><!-- end of beta --> </div><!-- end of itemspage --> </div><!-- end of storycontent --> </div> <?php else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> </div><!-- end of catbox --> <div class="relatedbox"> <h3>You may also like</h3> <div class="clearfix thumbindex"> <?php related_items_list(); ?> </div> </div><!-- end of relatedbox --> </div><!-- end of content --> <?php get_sidebar(); ?> <?php get_footer(); ?>