Changeset 23065 for branches/version-2_13-dev/data/Smarty
- Timestamp:
- 2013/08/15 08:46:23 (13 years ago)
- Location:
- branches/version-2_13-dev/data/Smarty/templates
- Files:
-
- 4 edited
-
admin/order/product_select.tpl (modified) (4 diffs)
-
default/products/detail.tpl (modified) (1 diff)
-
default/products/list.tpl (modified) (1 diff)
-
sphone/products/detail.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/Smarty/templates/admin/order/product_select.tpl
r23063 r23065 60 60 61 61 if(!class1_id){ 62 err_text = productsClassCategories[product_id]['__unselected2']['#0']['stock_find'] ? '' : '只今品切れ中です';62 err_text = eccube.productsClassCategories[product_id]['__unselected2']['#0']['stock_find'] ? '' : '只今品切れ中です'; 63 63 }else if(class1_id && !class2_id){ 64 err_text = productsClassCategories[product_id][class1_id]['#0']['stock_find'] ? '' : '只今品切れ中です';64 err_text = eccube.productsClassCategories[product_id][class1_id]['#0']['stock_find'] ? '' : '只今品切れ中です'; 65 65 }else{ 66 err_text = productsClassCategories[product_id][class1_id]['#' + class2_id]['stock_find'] ? '' : '只今品切れ中です';66 err_text = eccube.productsClassCategories[product_id][class1_id]['#' + class2_id]['stock_find'] ? '' : '只今品切れ中です'; 67 67 } 68 68 … … 98 98 99 99 // 規格2に選択肢を割り当てる 100 classcats = productsClassCategories[product_id][sele1.value];100 classcats = eccube.productsClassCategories[product_id][sele1.value]; 101 101 i = 0; 102 102 for (var classcat_id2_key in classcats) { … … 117 117 classcat_id1 = form.classcategory_id1.value; 118 118 classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : ''; 119 classcat2 = productsClassCategories[product_id][classcat_id1]['#' + classcat_id2];119 classcat2 = eccube.productsClassCategories[product_id][classcat_id1]['#' + classcat_id2]; 120 120 // 商品規格 121 121 eleDynamic = document.getElementById('product_class_id' + product_id); … … 128 128 } else { 129 129 // 規格が1つのみの場合 130 classcat1 = productsClassCategories[product_id][classcat_id1]['#0'];130 classcat1 = eccube.productsClassCategories[product_id][classcat_id1]['#0']; 131 131 eleDynamic.value = classcat1.product_class_id; 132 132 } -
branches/version-2_13-dev/data/Smarty/templates/default/products/detail.tpl
r23063 r23065 30 30 var $sele1 = $form.find('select[name=classcategory_id1]'); 31 31 var $sele2 = $form.find('select[name=classcategory_id2]'); 32 setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);32 eccube.common.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected); 33 33 } 34 34 $(document).ready(function() { -
branches/version-2_13-dev/data/Smarty/templates/default/products/list.tpl
r23064 r23065 27 27 var $sele1 = $form.find('select[name=classcategory_id1]'); 28 28 var $sele2 = $form.find('select[name=classcategory_id2]'); 29 setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);29 eccube.common.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected); 30 30 } 31 31 // 並び順を変更 -
branches/version-2_13-dev/data/Smarty/templates/sphone/products/detail.tpl
r23058 r23065 29 29 var $sele1 = $form.find('select[name=classcategory_id1]'); 30 30 var $sele2 = $form.find('select[name=classcategory_id2]'); 31 setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);31 eccube.common.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected); 32 32 } 33 33 $(function(){
Note: See TracChangeset
for help on using the changeset viewer.
