Revision 2f5ea2de
Von Tamino vor mehr als 3 Jahren hinzugefügt
js/kivi.ShopPart.js | ||
---|---|---|
140 | 140 |
id: 'files_upload', |
141 | 141 |
dialog: { title: kivi.t8('File upload'), width: 650, height: 240 } }); |
142 | 142 |
return true; |
143 |
} |
|
143 |
}; |
|
144 |
|
|
145 |
ns.get_shop_parts_one = function() { |
|
146 |
|
|
147 |
var data = $('#get_one_shop_part_form').serializeArray(); |
|
148 |
data.push({ name: 'type', value: 'get_one'}); |
|
149 |
data.push({ name: 'action', value: 'ShopPart/get_shop_parts' }); |
|
150 |
|
|
151 |
$.post("controller.pl", data, kivi.eval_json_result); |
|
152 |
}; |
|
153 |
|
|
154 |
ns.get_shop_parts_new = function() { |
|
155 |
$.post("controller.pl", { action: 'ShopPart/get_shop_parts', type: 'get_new'}, kivi.eval_json_result); |
|
156 |
}; |
|
144 | 157 |
|
158 |
ns.get_shop_order_one_initialize = function() { |
|
159 |
kivi.popup_dialog({ |
|
160 |
id: 'get_one', |
|
161 |
dialog: { |
|
162 |
title: kivi.t8('Get one shoppart'), |
|
163 |
} |
|
164 |
}); |
|
165 |
}; |
|
166 |
|
|
167 |
ns.get_shop_parts_one_setup = function() { |
|
168 |
kivi.ShopPart.get_shop_order_one_initialize(); |
|
169 |
//kivi.submit_ajax_form('controller.pl?action=ShopOrder/get_orders', $('#shoporder')); |
|
170 |
}; |
|
145 | 171 |
|
146 | 172 |
ns.setup = function() { |
147 | 173 |
kivi.ShopPart.massUploadInitialize(); |
Auch abrufbar als: Unified diff
ShopConnector get_part in WooCommerce implemented