Changeset 19179


Ignore:
Timestamp:
2010/11/06 23:41:42 (13 years ago)
Author:
kishik
Message:

商品一覧での価格変更テスト

Location:
branches/camp/camp-2_5-C/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-C/data/Smarty/templates/admin/products/index.tpl

    r18873 r19179  
    222222      <!--{* 価格 *}--> 
    223223      <td rowspan="2" class="right"> 
    224         <!--{$arrProducts[cnt].price02_min|number_format}--> 
    225224        <!--{if $arrProducts[cnt].price02_min != $arrProducts[cnt].price02_max}--> 
    226           <br />~ <!--{$arrProducts[cnt].price02_max|number_format}--> 
     225          <!--{$arrProducts[cnt].price02_min|number_format}--><br />~ <!--{$arrProducts[cnt].price02_max|number_format}--> 
     226        <!--{else}--> 
     227          <input type="text" name="price02_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].price02_min|number_format}-->" onchange="jQuery.post('./index.php', {'mode':'price02_edit','price02_edit_id':'<!--{$arrProducts[cnt].product_id}-->','price02_edit_value':this.value}, function(result){alert(result);});""> 
    227228        <!--{/if}--> 
    228229      </td> 
  • branches/camp/camp-2_5-C/data/class/pages/admin/products/LC_Page_Admin_Products.php

    r18820 r19179  
    8686 
    8787        if (!isset($_POST['mode'])) $_POST['mode'] = ""; 
     88 
     89        if($_POST['mode'] === "price02_edit") { 
     90            var_dump($_POST['price02_edit_id\n']); 
     91            var_dump($_POST['price02_edit_value\n']); 
     92            exit; 
     93        } 
    8894 
    8995        //キャンペーンの編集時 
Note: See TracChangeset for help on using the changeset viewer.