Ignore:
Timestamp:
2011/06/17 10:13:54 (13 years ago)
Author:
no61
Message:

#1357 スマートフォンのカートで商品削除、個数変更ができない

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/Smarty/templates/sphone/cart/index.tpl

    r20969 r20978  
    6262 
    6363<!--{foreach from=$cartKeys item=key}--> 
    64     <form name="form1" id="form1" method="post" action="?"> 
     64    <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?"> 
    6565        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    6666        <!--{if 'sfGMOCartDisplay'|function_exists}--> 
     
    117117                    > 
    118118                        <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=40&amp;height=40" alt="<!--{$item.productsClass.name|h}-->" /></a><br /> 
    119 <a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a> 
     119<a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a> 
    120120                    </td> 
    121121                    <td class="detailtdName"><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br /> 
     
    133133                    <br /> 
    134134<ul id="quantity_level"> 
    135                             <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.gif" width="16" height="16" alt="+" /></a></li> 
    136                             <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.gif" width="16" height="16" alt="-" /></a></li> 
     135                            <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.gif" width="16" height="16" alt="+" /></a></li> 
     136                            <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.gif" width="16" height="16" alt="-" /></a></li> 
    137137                        </ul></td> 
    138138                    <td class="detailtdYenT"><!--{$item.total_inctax|number_format}-->円</td> 
Note: See TracChangeset for help on using the changeset viewer.