EC-CUBE 商品一覧ページにてカートに入れるボタンが動作しません。
どこに問題があるのか、調べましたが該当するものが見つからず、さっぱり分かりませんでした。
どなたかご教授をお願い致します。
EC-CUBEバージョン 2.13.3
PHPバージョン PHP 5.3.3
DBバージョン MySQL 5.1.73
↓list.php
Smarty
1<!--▼商品--> 2 <form name="product_form<!--{$id|h}-->" action=""> 3 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 4 <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 5 <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 6 <div class="list_area clearfix"> 7 <a name="product<!--{$id|h}-->"></a> 8 <div class="listphoto"> 9 <!--★画像★--> 10 <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"> 11 <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /></a> 12 </div> 13 14 <div class="listrightbloc"> 15 <!--▼商品ステータス--> 16 <!--{if count($productStatus[$id]) > 0}--> 17 <ul class="status_icon clearfix"> 18 <!--{foreach from=$productStatus[$id] item=status}--> 19 <li> 20 <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->"/> 21 </li> 22 <!--{/foreach}--> 23 </ul> 24 <!--{/if}--> 25 <!--▲商品ステータス--> 26 27 <!--★商品名★--> 28 <h3> 29 <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a> 30 </h3> 31 <!--★価格★--> 32 <div class="pricebox sale_price"> 33 <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 34 <span class="price"> 35 <span id="price02_default_<!--{$id}-->"><!--{strip}--> 36 <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}--> 37 <!--{$arrProduct.price02_min_inctax|n2s}--> 38 <!--{else}--> 39 <!--{$arrProduct.price02_min_inctax|n2s}-->~<!--{$arrProduct.price02_max_inctax|n2s}--> 40 <!--{/if}--> 41 </span><span id="price02_dynamic_<!--{$id}-->"></span><!--{/strip}--> 42 円</span> 43 </div> 44 45 <!--★コメント★--> 46 <div class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></div> 47 48 <!--★商品詳細を見る★--> 49 <div class="detail_btn"> 50 <!--{assign var=name value="detail`$id`"}--> 51 <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"> 52 <img class="hover_change_image" src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /> 53 </a> 54 </div> 55 56 <!--▼買い物カゴ--> 57 <div class="cart_area clearfix"> 58 <!--{if $tpl_stock_find[$id]}--> 59 <!--{if $tpl_classcat_find1[$id]}--> 60 <div class="classlist"> 61 <dl class="size01 clearfix"> 62 <!--▼規格1--> 63 <dt><!--{$tpl_class_name1[$id]|h}-->:</dt> 64 <dd> 65 <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"> 66 <!--{html_options options=$arrClassCat1[$id] selected=$arrProduct.classcategory_id1}--> 67 </select> 68 <!--{if $arrErr.classcategory_id1 != ""}--> 69 <p class="attention">※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。</p> 70 <!--{/if}--> 71 </dd> 72 <!--▲規格1--> 73 </dl> 74 <!--{if $tpl_classcat_find2[$id]}--> 75 <dl class="size02 clearfix"> 76 <!--▼規格2--> 77 <dt><!--{$tpl_class_name2[$id]|h}-->:</dt> 78 <dd> 79 <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 80 </select> 81 <!--{if $arrErr.classcategory_id2 != ""}--> 82 <p class="attention">※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。</p> 83 <!--{/if}--> 84 </dd> 85 <!--▲規格2--> 86 </dl> 87 <!--{/if}--> 88 </div> 89 <!--{/if}--> 90 <div class="cartin clearfix"> 91 <div class="quantity"> 92 数量:<input type="text" name="quantity" class="box" value="<!--{$arrProduct.quantity|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 93 <!--{if $arrErr.quantity != ""}--> 94 <br /><span class="attention"><!--{$arrErr.quantity}--></span> 95 <!--{/if}--> 96 </div> 97 <div class="cartin_btn"> 98 <!--★カゴに入れる★--> 99 <div id="cartbtn_default_<!--{$id}-->"> 100 <input type="image" id="cart<!--{$id}-->" src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" onclick="fnInCart(this.form); return false;" class="hover_change_image" /> 101 </div> 102 <div class="attention" id="cartbtn_dynamic_<!--{$id}-->"></div> 103 </div> 104 </div> 105 <!--{else}--> 106 <div class="cartbtn attention">申し訳ございませんが、只今品切れ中です。</div> 107 <!--{/if}--> 108 </div> 109 <!--▲買い物カゴ--> 110 </div> 111 </div> 112 </form> 113 <!--▲商品-->

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。