PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
ecommerce
/
order
STGrid.registerSearchField('cart_method_list', 'twolist', { field1:'shipping_method_id', table1:'shipping_methods', field2:'payment_method_id', table2:'payments', type:'number', }); $.manage('ecommerce.order.cart', '', { onEdit : function(ui, id) { var that = this; $.popup('order', { id: id, onOK: function() { that.reloadGrid(); } }); }, init : function() { var that = this; this.loadGrid ( 'carts', [ { display : t('LBL_ORDER_ORDER_ID'), name : 'id', width : 40, sortable : true, align : 'center', searchable : true, search_type : 'number' }, { display : t('LBL_CART_ORDER_ID'), name : 'orders_id', width : 40, sortable : true, align : 'center', searchable : true, search_type : 'number' },{ display : t('LBL_ORDER_DATE_PURCHASED'), name : 'date_added', width : 50, sortable : true, align : 'left', searchable : true, }, { display : t('LBL_ORDER_USER_NAME'), name : 'user_name', width : 130, sortable : true, align : 'left', searchable : true, },{ display : t('LBL_ORDER_METHOD'), name : 'shipping_method_id,payment_method_id', type: 'list', list_type: 'cart_method_list', width : 100, sortable : true, align : 'left', searchable : true, search_type: 'cart_method_list' },{ display : '', name : 'edit', type:'button', command: 'edit', width : 10, align : 'left', },{ display : '', name : 'del', type:'button', command: 'delete', visible : {has_orders_id : 0 }, width : 10, align : 'left', }] ); } });
[+]
..
[-] status.js
[edit]
[-] order.js
[edit]
[-] payment_status.js
[edit]
[-] pm_paypal_express.js
[edit]
[-] cart.js
[edit]