質問 > その他 > どなたかアドバイスをお願いします。 |
その他
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
MSN |
投稿日時: 2015/6/12 4:41
対応状況: −−−
|
新米 登録日: 2015/4/29 居住地: 投稿: 10 |
Re: どなたかアドバイスをお願いします。 商品詳細ページの詳細を見たのですが、
<!--{* * This file is part of EC-CUBE * * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *}--> <script type="text/javascript">//<![CDATA[ // 規格2に選択肢を割り当てる。 function fnSetClassCategories(form, classcat_id2_selected) { var $form = $(form); var product_id = $form.find('input[name=product_id]').val(); var $sele1 = $form.find('select[name=classcategory_id1]'); var $sele2 = $form.find('select[name=classcategory_id2]'); eccube.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected); } //]]></script> <div id="detail_page" class="section"> <!--★関連カテゴリ★--> <!--{section name=r loop=$arrRelativeCat}--> <ol class="topicpath clearfix"> <li><a href="<!--{$smarty.const.ROOT_URLPATH}-->"><!--{$arrSiteInfo.shop_name|h}--></a> > </li> <!--{section name=s loop=$arrRelativeCat[r]}--> <li><a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--></li> <!--{/section}--> <li> > <!--{$arrProduct.name|h}--></li> </ol> <!--{/section}--> <div id="detailarea" class="clearfix"> <form name="form1" id="form1" method="post" action="?"> <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> <div class="right_block"> <!--▼商品ステータス--> <!--{assign var=ps value=$productStatus[$tpl_product_id]}--> <!--{if count($ps) > 0}--> <p class="status_icon"> <!--{foreach from=$ps item=status}--> <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" /> <!--{/foreach}--> </p> <!--{/if}--> <!--▲商品ステータス--> <!--★商品名★--> <h2><!--{$arrProduct.name|h}--></h2> <!--★通常価格★--> <!--{if $arrProduct.price01_max > 0}--> <!--{* $smarty.const.NORMAL_PRICE_TITLE *}--> <p class="price"><strong> <!--{strip}--> <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> <!--{$arrProduct.price01_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$arrProduct.price01_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct.price01_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{/if}--> <!--{/strip}--><!-- -->円(税込) </strong></p> <!--{/if}--> <!--★販売価格★--> <!--{* $smarty.const.SALE_PRICE_TITLE *}--> <p class="price"><strong> <!--{strip}--> <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> <!--{$arrProduct.price02_min_inctax|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$arrProduct.price02_min_inctax|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{/if}--> <!--{/strip}--><!-- -->円(税込) </strong></p> <!--★ポイント★--> <!--{if $smarty.const.USE_POINT !== false}--> <p class="point"> <!--{strip}--> <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}--> <!--{else}--> <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate}--> <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}--> <!--{else}--> <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->〜<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate|number_format}--> <!--{/if}--> <!--{/if}--> <!--{/strip}--><!-- -->Pt</p> <!--{/if}--> <!--{* <dl class="product_info clearfix"> <!--★商品コード★--> <dt>商品コード</dt> <dd> <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> <!--{$arrProduct.product_code_min|h}--> <!--{else}--> <!--{$arrProduct.product_code_min|h}-->〜<!--{$arrProduct.product_code_max|h}--> <!--{/if}--> </dd> <!-- ▼メーカー --> <!--{if $arrProduct.maker_name|strlen >= 1}--> <dt>メーカー</dt> <dd><!--{$arrProduct.maker_name|h}--></dd> <!--{/if}--> <!-- ▲メーカー --> <!--▼メーカーURL--> <!--{if $arrProduct.comment1|strlen >= 1}--> <dt>メーカーURL</dt> <dd><a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a></dd> <!--{/if}--> <!--▼メーカーURL--> </dl> *}--> <!--★詳細メインコメント★--> <div class="comment"> <!--{$arrProduct.main_comment|nl2br_html}--> </div> <!--▼買い物かご--> <div class="cart_area clearfix"> <input type="hidden" name="mode" value="cart" /> <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" /> <input type="hidden" name="favorite_product_id" value="" /> <!--{if $tpl_stock_find}--> <!--{if $tpl_classcat_find1||$tpl_classcat_find2}--> <dl class="stock_info clearfix"> <!--{if $tpl_classcat_find1}--> <!--▼規格1--> <dt><!--{$tpl_class_name1|h}--></dt> <dd> <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"> <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> </select> <!--{if $arrErr.classcategory_id1 != ""}--> <p class="attention">※<!--{$tpl_class_name1}-->を入力して下さい。</p> <!--{/if}--> </dd> <!--▲規格1--> <!--{/if}--> <!--{if $tpl_classcat_find2}--> <!--▼規格2--> <dt><!--{$tpl_class_name2|h}--></dt> <dd> <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> </select> <!--{if $arrErr.classcategory_id2 != ""}--> <p class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</p> <!--{/if}--> </dd> <!--▲規格2--> <!--{/if}--> </dl> <!--{/if}--> <!--{/if}--> <div class="clearfix"> <!--{if $tpl_stock_find}--> <!--★数量★--> <dl class="num"> <dt>数量:</dt> <dd> <input type="text" class="box35" name="quantity" value="<!--{$arrForm.quantity.value|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> <!--{if $arrErr.quantity != ""}--> <p class="attention"><!--{$arrErr.quantity}--></p> <!--{/if}--> </dd> </dl> <!--{/if}--> <!--★カゴに入れる★--> <!--{if $tpl_stock_find}--> <p class="cart_btn"><a href="java script:void(document.form1.submit())"><img src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.gif" alt="ショッピングカート" name="cart" id="cart" /></a></p> <!--{else}--> <p class="attention">申し訳ございませんが、只今品切れ中です。</p> <!--{/if}--> </div> <!--★お気に入り登録★--> <!--{if $smarty.const.OPTION_FAVORITE_PRODUCT == 1 && $tpl_login === true}--> <div class="favorite_btn"> <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> <!--{if $arrErr[$add_favorite]}--> <div class="attention"><!--{$arrErr[$add_favorite]}--></div> <!--{/if}--> <!--{if !$is_favorite}--> <a href="java script:eccube.changeAction('?product_id=<!--{$arrProduct.product_id|h}-->'); eccube.setModeAndSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');"><img class="hover_change_image" src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.gif" alt="お気に入りに追加" /></a> <!--{else}--> <img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.gif" alt="お気に入り登録済" name="add_favorite_product" id="add_favorite_product" /> <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.tipsy.js"></script> <script type="text/javascript"> var favoriteButton = $("#add_favorite_product"); favoriteButton.tipsy({gravity: $.fn.tipsy.autoNS, fallback: "お気に入りに登録済み", fade: true }); <!--{if $just_added_favorite == true}--> favoriteButton.load(function(){$(this).tipsy("show")}); $(function(){ var tid = setTimeout('favoriteButton.tipsy("hide")',5000); }); <!--{/if}--> </script> <!--{/if}--> </div> <!--{/if}--> </div> <!--▲買い物かご--> </div> <div class="left_block"> <div id="main_photo"> <!--{assign var=key value="main_image"}--> <!--★画像★--> <div class="first-child"><table><tr><td> <!--{if $arrProduct.main_large_image|strlen >= 1}--> <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" class="expansion" target="_blank" rel="group1"> <!--{/if}--> <img src="<!--{$arrFile[$key].filepath|h}-->" alt="<!--{$arrProduct.name|h}-->" /> <!--{if $arrProduct.main_large_image|strlen >= 1}--> </a> <!--{/if}--> </td></tr></table></div> <!--{section name=cnt loop=3}--> <!--{assign var=skey value="sub_image`$smarty.section.cnt.index+1`"}--> <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> <!--{if $arrProduct[$skey]|strlen >= 1}--> <div><table><tr><td> <!--{if $arrProduct[$lkey]|strlen >= 1}--> <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" class="expansion" target="_blank" rel="group1"> <!--{/if}--> <img src="<!--{$arrFile[$skey].filepath|h}-->" alt="<!--{$arrProduct.name|h}-->" /> <!--{if $arrProduct[$lkey]|strlen >= 1}--> </a> <!--{/if}--> </td></tr></table></div> <!--{/if}--> <!--{/section}--> </div> <!--{* <!--{if $arrProduct.main_large_image|strlen >= 1}--> <span class="mini"> <!--★拡大する★--> <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" class="expansion" target="_blank">画像を拡大する</a> </span> <!--{/if}--> *}--> <ul id="photo_thumb" class="clearfix"> <li><table><tr><td><a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" class="expansion" target="_blank" rel="group1"><img src="<!--{$arrFile[$key].filepath|h}-->" alt="<!--{$arrProduct.name|h}-->" /></a></td></tr></table></li> <!--▼サブ画像1〜5--> <!--{section name=cnt loop=5}--> <!--{assign var=skey value="sub_image`$smarty.section.cnt.index+1`"}--> <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> <!--{if $arrProduct[$skey]|strlen >= 1}--> <li><table><tr><td><a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" class="expansion" target="_blank" rel="group1"><img src="<!--{$arrFile[$skey].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="86" /></a></td></tr></table></li> <!--{/if}--> <!--{/section}--> <!--▲サブ画像1〜5--> </ul> </div> </form> </div> <!--詳細ここまで--> <div class="clearfix"> <!--{$arrProduct.main_list_comment|nl2br_html}--> </div> <!--▼サブコメント--> <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX start=5}--> <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}--> <!--{if $arrProduct[$key] != ""}--> <div class="sub_area clearfix"> <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|h}--></h3> <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}--> <!--▼サブ画像--> <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}--> <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> <!--{if $arrProduct[$key]|strlen >= 1}--> <div class="subtext"><!--★サブテキスト★--> <!--{$arrProduct[$ckey]|nl2br_html}--></div> <div class="subphotoimg"> <!--{if $arrProduct[$lkey]|strlen >= 1}--> <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" class="expansion" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_expansion_on.gif', 'expansion_<!--{$lkey|h}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_expansion.gif', 'expansion_<!--{$lkey|h}-->');" target="_blank" > <!--{/if}--> <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" /> <!--{if $arrProduct[$lkey]|strlen >= 1}--></a> <span class="mini"> <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" class="expansion" target="_blank"> 画像を拡大する</a> </span> <!--{/if}--> </div> <!--{else}--> <p class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></p> <!--{/if}--> <!--▲サブ画像--> </div> <!--{/if}--> <!--{/section}--> <!--▲サブコメント--> <!--▼関連商品--> <!--{if $arrRecommend}--> <div id="whobought_area"> <h2>その他のオススメ商品</h2> <!--{foreach from=$arrRecommend item=arrItem name="arrRecommend"}--> <div class="product_item"> <div class="productImage"> <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrItem.product_id|u}-->"> <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrItem.main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrItem.name|h}-->" /> </a> </div> <!--{assign var=price02_min value=`$arrItem.price02_min_inctax`}--> <!--{assign var=price02_max value=`$arrItem.price02_max_inctax`}--> <div class="productContents"> <h3><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrItem.product_id|u}-->"><!--{$arrItem.name|h}--></a></h3> <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):<span class="price"> <!--{if $price02_min == $price02_max}--> <!--{$price02_min|number_format}--> <!--{else}--> <!--{$price02_min|number_format}-->〜<!--{$price02_max|number_format}--> <!--{/if}-->円</span></p> <p class="mini"><!--{$arrItem.comment|h|nl2br}--></p> </div> </div> <!--{if $smarty.foreach.arrRecommend.iteration % 2 === 0}--> <div class="clear"></div> <!--{/if}--> <!--{/foreach}--> </div> <!--{/if}--> <!--▲関連商品--> <!--この商品に対するお客様の声--> <div id="customervoice_area"> <h2 class="sub_title">この商品に対するお客様の声</h2> <div class="review_bloc clearfix"> <p>この商品に対するご感想をぜひお寄せください。</p> <div class="review_btn"> <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> <!--★新規コメントを書き込む★--> <a href="./review.php" onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;" target="_blank"><img src="<!--{$TPL_URLPATH}-->img/button/btn_comment.gif" alt="新規コメントを書き込む" name="review" id="review" /></a> <!--{/if}--> </div> </div> <!--{if count($arrReview) > 0}--> <ul> <!--{section name=cnt loop=$arrReview}--> <li> <p class="voicetitle"><!--{$arrReview[cnt].title|h}--></p> <p class="voicedate"><!--{$arrReview[cnt].create_date|sfDispDBDate:false}--> 投稿者:<!--{if $arrReview[cnt].reviewer_url}--><a href="<!--{$arrReview[cnt].reviewer_url}-->" target="_blank"><!--{$arrReview[cnt].reviewer_name|h}--></a><!--{else}--><!--{$arrReview[cnt].reviewer_name|h}--><!--{/if}--> おすすめレベル:<span class="recommend_level"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|h}--></span></p> <p class="voicecomment"><!--{$arrReview[cnt].comment|h|nl2br}--></p> </li> <!--{/section}--> </ul> <!--{/if}--> </div> <!--お客様の声ここまで--> </div> となっています。 サブタイトルとサブコメントはどうやればホームページに記載されるようになるのかいろいろ試してますが、全然反映されません。 EC-CUBE2.4.3のときは普通に反映されたのですが、 仕様が変わったのでしょうか? 皆様のお力添え何卒よろしくお願いします。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
どなたかアドバイスをお願いします。 | MSN | 2015/5/14 14:02 |
Re: どなたかアドバイスをお願いします。 | k-kuwahara | 2015/5/14 14:38 |
Re: どなたかアドバイスをお願いします。 | MSN | 2015/5/14 15:18 |
Re: どなたかアドバイスをお願いします。 | k-kuwahara | 2015/6/11 11:05 |
Re: どなたかアドバイスをお願いします。 | MSN | 2015/6/11 16:56 |
» Re: どなたかアドバイスをお願いします。 | MSN | 2015/6/12 4:41 |