Hi All,
I have been wanting to get the RMA returns system to work, and finally i have got the tracking system working, which has been a problem for alot of people.
You need to change this code in "return_track.php":
$returns = '<form action="' . $PHP_SELF . '?action=returns_show" method=post>
<tr>
<td colspan=3 class=main>Please enter the RMA number you recieved when you placed you item for return.</td>
</tr>
<tr>
<td width=100& colspan=3 class=main> </td>
</tr>
<tr>
<td width="25%" height="30" align="left" class="main">Your <b><i>RMA</i></b> Number</td>
<td width="5%" height="30" align="center" class="main"> </td>
<td width="75%" height="30" align="left" class="main"><font color=red><input type=text name="rma" value="" size=20></font></td>
</tr>
<tr>
<td width=100& colspan=3 class=main> </td>
</tr>
<tr>
<td width=100% colspan=3 align=right><input type=submit name="submit" value="Find Return ->"> </td>
</tr>
</form>
';
To This Code:
$returns = tep_draw_form('rma_find', tep_href_link('returns_track.php', '', 'NONSSL'), 'post');
$returns .= tep_draw_hidden_field('action', 'returns_show');
$returns .= tep_hide_session_id();
$returns .= '<tr>
<td colspan=3 class=main>Please enter the RMA number you recieved when you placed you item for return.</td>
</tr>
<tr>
<td width=100& colspan=3 class=main> </td>
</tr>
<tr>
<td width="25%" height="30" align="left" class="main">Your <b><i>RMA</i></b> Number</td>
<td width="5%" height="30" align="center" class="main"> </td>
<td width="75%" height="30" align="left" class="main"><font color=red><input type=text name="rma" value="" size=20></font></td>
</tr>
<tr>
<td width=100& colspan=3 class=main> </td>
</tr>
<tr>
<td width=100% colspan=3 align=right><input type=submit name="submit" value="Find Return ->"> </td>
</tr>
';
I know this has annoying me and alot of other people, i will be working on the other error that there currently is left and post the fixes upto here. I have the contribution about 95% working on both admin and catalog, hopefully 100% by the weekend. I Will try and post all the fixes i used to get it 100% work when i have got that far.
Let me know if you need any help to get this working on your site.
Mark Dwyer
North Essex Websites