Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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?

Posted
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?

 

 

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.

Treasurer MFC

  • 2 years later...
Posted
<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....

Posted
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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...