This is a discussion on Help...RMA Return System within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I took the time to convert the contribute and I seem not to be able to over come a problem ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I took the time to convert the contribute and I seem not to be able to over come a problem in admin/orders.php. The page is blank but does not have an error. If anyone has installed or knows what's wrong please reply! below is the code I am having trouble with. //BEGIN RMA MODULE $returns_check_query = tep_db_query("SELECT r.rma_value, rp.products_id FROM " . TABLE_RETURNS . " r, " . TABLE_RETURNS_PRODUCTS_DATA . " rp where r.returns_id = rp.returns_id and r.order_id = '" . $oID . "' and rp.products_id = '" . $order->products[$i]['id'] . "' "); if (!tep_db_num_rows($returns_check_query)){ if ($order->products[$i]['return'] != '1') { $return_link = '<a href="' . tep_href_link(FILENAME_RETURNS, 'order_id=' . $oID . '&products_id=' . ($order->products[$i]['id']), 'NONSSL') . '"><u>' . '<font color="818180">Schedule Return</font>' .'</a></u>'; } // Don't show Return link if order is still pending or processing // You can change this or comment it out as best fits your store configuration if (($orders_status == '1') OR ($orders_status == '2') ) { $return_link = '0'; } } else { $returns = tep_db_fetch_array($returns_check_query); $return_link = '<a href=' . tep_href_link(FILENAME_RETURNS, 'cID=' . $returns['rma_value']) . '><font color=red><b><i>Returns</b></i></font></a>'; } //END RMA MODULE |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP error upon return from PayPal | brendanl79 | osCMax v2 Installation issues | 0 | 09-15-2006 10:50 AM |
| session id changes on return | ozenalp | osCommerce 2.2 Modification Help | 0 | 04-11-2006 05:10 AM |
| Paypal return to store problem | daffodil | osCMax v1.7 Discussion | 5 | 09-14-2005 04:52 AM |
| Payment Module Postback URL/Return URL??? | DM420 | osCommerce 2.2 Discussion | 0 | 09-09-2005 07:59 PM |
| Wierd return from 'Tip a friend' and more... | Petter | osCommerce 2.2 Installation Help | 0 | 02-16-2003 03:58 AM |