airolg Posted January 23, 2005 Posted January 23, 2005 Is there a way to add the "payment method" to the display of orders.php? When I click on the orders in the admin, I'd love to know right away that someone has ordered with a check/money order so I don't rush to fill the order (I wait until the check is cleared to ship). While I appreciate the "pending" status, I'd like to go to the next level of information. It would seem easy to just add a column to the display, but I'm sure there's a lot more to it than that. ;) Is there a way to add more orders on this screen display? I'd love to see the last 15 or 20 instead of only 10 orders. Any ideas? Quote
boxtel Posted January 23, 2005 Posted January 23, 2005 Is there a way to add the "payment method" to the display of orders.php? When I click on the orders in the admin, I'd love to know right away that someone has ordered with a check/money order so I don't rush to fill the order (I wait until the check is cleared to ship). While I appreciate the "pending" status, I'd like to go to the next level of information. It would seem easy to just add a column to the display, but I'm sure there's a lot more to it than that. ;) Is there a way to add more orders on this screen display? I'd love to see the last 15 or 20 instead of only 10 orders. Any ideas? <{POST_SNAPBACK}> not difficult, the number of orders is limited to the same number you set for search results. to add the payment method, to align a header for the colum you need to add : <td class="dataTableHeadingContent" align="right"><?php echo 'method'; ?></td> after : <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CUSTOMERS; ?></td> add this column: <td class="dataTableContent" align="right"><?php echo $orders['payment_method']; ?></td> after : <td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $orders['orders_id'] . '&action=edit') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $orders['customers_name']; ?></td> the payment method is already selected in the queries (there are 3 of them) so no need to alter them. Quote Treasurer MFC
sheepiedog Posted March 9, 2007 Posted March 9, 2007 <td class="dataTableContent" align="right"><?php echo $orders['payment_method']; ?></td> Can someone help me as to where the text is for the 'payment method' is in this code (above). I would have thought it would be in the language files, but can not find the right one. I have tried changing a couple and it changes it for the shopping cart, but not in admin/orders.php.... Quote
Guest Posted March 10, 2007 Posted March 10, 2007 Can someone help me as to where the text is for the 'payment method' is in this code (above). I would have thought it would be in the language files, but can not find the right one. I have tried changing a couple and it changes it for the shopping cart, but not in admin/orders.php.... You need to add it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.