質問 > フロント機能 > 詳細ページでカゴにいれる |
フロント機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
daran |
投稿日時: 2010/2/28 21:27
対応状況: −−−
|
半人前 登録日: 2010/2/14 居住地: 投稿: 19 |
Re: 詳細ページでカゴにいれる 返信有難うございます。
下記を <!--お客様の声ここまで--> の下に張り付けました。 デザイン的にはよいのですが、 カートに入れるをクリックしても購入画面にいきません。 <div id="detailtitle"><h2><!--★商品名★--><!--{$arrProduct.name|escape}--></h2></div> <div id="detailarea"> <div id="detailphotoblock"> <!--{assign var=key value="main_image"}--> <!--{if $arrProduct.main_large_image != ""}--> <!--★画像★--> <a href="java script:void(win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=main_large_image<!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile.main_large_image.width+60}-->', '<!--{$arrFile.main_large_image.height+80}-->'))"> <img src="<!--{$arrFile[$key].filepath}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /> </a> <p> <!--★拡大する★--> <a href="java script:void(win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=main_large_image<!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile.main_large_image.width+60}-->', '<!--{$arrFile.main_large_image.height+80}-->'))" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion01');" onMouseOut="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion01');"> <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" /> </a> </p> <!--{else}--> <img src="<!--{$arrFile[$key].filepath}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /> <!--{/if}--> </div> <div id="detailrightblock"> <!--アイコン--> <!--{if count($arrProduct.product_flag) > 0}--> <ul> <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> <!--{if $arrProduct.product_flag[flg] == "1"}--> <li> <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->" id="icon<!--{$key}-->" /> </li> <!--{/if}--> <!--{/section}--> </ul> <!--{/if}--> <!--★商品コード★--> <!--{assign var=codecnt value=$arrProductCode|@count}--> <!--{assign var=codemax value=`$codecnt-1`}--> <div>商品コード: <!--{if $codecnt > 1}--> <!--{$arrProductCode.0}-->・!--{$arrProductCode[$codemax]}-->- <!--{else}--> <!--{$arrProductCode.0}--> <!--{/if}--> </div> <h2><!--★商品名★--><!--{$arrProduct.name|escape}--></h2> <!--★価格★--> <div><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: <span class="price"> <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->・!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->- <!--{/if}-->円</span></div> <div> <!--{if $arrProduct.price01_max > 0}--> <span class="price"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->: <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> <!--{$arrProduct.price01_min|number_format}--> <!--{else}--> <!--{$arrProduct.price01_min|number_format}-->・!--{$arrProduct.price01_max|number_format}-->- <!--{/if}-->円</span> <!--{/if}--> </div> <!--★ポイント★--> <div><span class="price">ポイント: <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> <!--{else}--> <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> <!--{else}--> <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->・!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->- <!--{/if}--> <!--{/if}-->Pt</span></div> <!--{* 関連カテゴリ *}--> <div>関連カテゴリ: <!--{section name=r loop=$arrRelativeCat}--> <p> <!--{section name=s loop=$arrRelativeCat[r]}--> <a href="<!--{$smarty.const.URL_DIR}-->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}--> <!--{/section}--> </p> <!--{/section}--> </div> <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> <input type="hidden" name="mode" value="cart" /> <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> <!--{if $tpl_classcat_find1}--> <dl> <dt> <!--{$tpl_class_name1}--> </dt> <dd> <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" onchange="lnSetSelect('form1', 'classcategory_id1', 'classcategory_id2', ''); "> <option value="">選択してください</option> <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> </select> <!--{if $arrErr.classcategory_id1 != ""}--> <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> <!--{/if}--> </dd> </dl> <!--{/if}--> <!--{if $tpl_stock_find}--> <!--{if $tpl_classcat_find2}--> <dl> <dt><!--{$tpl_class_name2}--></dt> <dd> <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> <option value="">選択してください</option> </select> <!--{if $arrErr.classcategory_id2 != ""}--> <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> <!--{/if}--> </dd> </dl> <!--{/if}--> <dl> <dt>個 数</dt> <dd><input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> <!--{if $arrErr.quantity != ""}--> <br /><span class="attention"><!--{$arrErr.quantity}--></span> <!--{/if}--> </dd> </dl> <!--{/if}--> <!--{if $tpl_stock_find}--> <p class="btn"> <!--★カゴに入れる★--> <a href="java script:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /> </a> </p> <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}--> <!--{'sfGMODetailDisplay'|call_user_func}--> <!--{/if}--> <!--{else}--> <div class="attention">申し訳ございませんが、只今品切れ中です。</div> <!--{/if}--> </form> </div> </div> |
yokoshima |
投稿日時: 2010/3/1 17:27
対応状況: −−−
|
一人前 登録日: 2009/1/6 居住地: 渋谷区恵比寿西 投稿: 113 |
Re: 詳細ページでカゴにいれる formタグで指定しているform1は追加する前のformタグで指定しているので、
違う名前に変えて、それにかかわる部分も修正すると動きませんか?
|
daran |
投稿日時: 2010/3/2 1:04
対応状況: −−−
|
半人前 登録日: 2010/2/14 居住地: 投稿: 19 |
Re: 詳細ページでカゴにいれる yokoshima様
ありがとうございます。 なんとかできました。 大変感謝しております。 本当にありがとうございました。 |
« 1 (2) |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |