osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Help...RMA Return System

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-24-2006, 12:01 AM
Member
 
Join Date: Sep 2004
Location: Langhorne, PA
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
AnnieChrist
Default Help...RMA Return System

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 05:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax