Ignore:
Timestamp:
2011/02/23 06:43:50 (10 years ago)
Author:
nanasess
bzr:base-revision:
nanasess@fsm.ne.jp-20110222192936-lec86b3vg97h4bbs
bzr:committer:
Kentaro Ohkouchi <nanasess@fsm.ne.jp>
bzr:file-ids:

data/Smarty/templates/admin/order/product_select.tpl 17293@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fcomu-ver2%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Forder%2Fproduct_select.tpl
data/Smarty/templates/default/products/detail.tpl 19775@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_5-dev%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fproducts%2Fdetail.tpl
data/Smarty/templates/default/products/list.tpl 19775@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_5-dev%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fproducts%2Flist.tpl
data/Smarty/templates/sphone/products/detail.tpl 19775@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_5-dev%2Fdata%2FSmarty%2Ftemplates%2Fsphone%2Fproducts%2Fdetail.tpl
data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php 17293@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fcomu-ver2%2Fdata%2Fclass%2Fpages%2Fadmin%2Forder%2FLC_Page_Admin_Order_ProductSelect.php
data/class/pages/products/LC_Page_Products_Detail.php 15154@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fproducts%2FLC_Page_Products_Detail.php
bzr:mapping-version:
v4
bzr:merge:

nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
nanasess@fsm.ne.jp-20110222214343-8k9az26zvw6c8q0d
bzr:revno:
3065
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/Smarty/templates/admin/order/product_select.tpl nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
data/Smarty/templates/default/products/detail.tpl nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
data/Smarty/templates/default/products/list.tpl nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
data/Smarty/templates/sphone/products/detail.tpl nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
data/class/pages/products/LC_Page_Products_Detail.php nanasess@fsm.ne.jp-20110222214259-ax906ewr25z3bg8c
bzr:timestamp:
2011-02-23 06:43:43.456000090 +0900
bzr:user-agent:
bzr2.2.2+bzr-svn1.0.4
svn:original-date:
2011-02-22T21:43:43.456000Z
Message:

#1026([フロント]商品:規格あり商品をカートに投入できない)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/admin/order/product_select.tpl

    r20292 r20337  
    2828self.moveTo(20,20);self.focus(); 
    2929 
    30 function func_submit(product_id, class_name1, class_name2, product_class_id) { 
     30function func_submit(product_id, class_name1, class_name2) { 
    3131    var err_text = ''; 
    3232    var fm = window.opener.document.form1; 
     
    3737    var class1_id = document.getElementById(class1).value; 
    3838    var class2_id = document.getElementById(class2).value; 
     39    var product_class_id = document.getElementById("product_class_id" + product_id).value; 
    3940 
    4041    <!--{if $tpl_no != ''}--> 
     
    107108    classcat_id1 = form.classcategory_id1.value; 
    108109    classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : 0; 
    109     classcat2 = productsClassCategories[product_id][classcat_id1][classcat_id2]; 
     110    classcat2 = productsClassCategories[product_id][classcat_id1]['#' + classcat_id2]; 
    110111    // 商品規格 
    111112    eleDynamic = document.getElementById('product_class_id' + product_id); 
     
    232233                        <input type="hidden" name="product_type" id="product_type<!--{$id|h}-->" value="<!--{$tpl_product_type[$id]}-->" /> 
    233234                    </td> 
    234                     <td class="center"><a href="javascript:;" onclick="return func_submit('<!--{$arrProducts[cnt].product_id}-->', '<!--{$tpl_class_name1[$id]}-->', '<!--{$tpl_class_name2[$id]}-->', '<!--{$tpl_product_class_id[$id]}-->'); return false;">決定</a></td> 
     235                    <td class="center"><a href="javascript:;" onclick="return func_submit('<!--{$arrProducts[cnt].product_id}-->', '<!--{$tpl_class_name1[$id]}-->', '<!--{$tpl_class_name2[$id]}-->'); return false;">決定</a></td> 
    235236                </tr> 
    236237                <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> 
Note: See TracChangeset for help on using the changeset viewer.