I installed this contrib yesterday to 2.3.3.It is faily staright forward on what needs to be done..
follow the following steps and you shoudl be okay. I am not a php coder and i wont be able to answer any coding questiosn.I made these changes and it works on my system.Stying is left as it is.That can be changed easily ..
1) In catalog files return_product.php and return_track.php Make the following chages
change
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
to
require(DIR_WS_INCLUDES . 'template_top.php');
Remove
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
remove if exist
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
2) if you are using latest php you will get eregi deprecated messages in includes\funtions\refund_funtions.php.
In refund_functions.php change
if (eregi('^[a-z0-9]$', $char)) $rand_value .= $char;
} elseif ($type == 'chars') {
if (eregi('^[a-z]$', $char)) $rand_value .= $char;
} else if ($type == 'digits') {
if (ereg('^[0-9]$', $char)) $rand_value .= $char;
to
if (preg_match('/^[a-z0-9]$/i', $char)) $rand_value .= $char;
} elseif ($type == 'chars') {
if (preg_match('/^[a-z]$/i', $char)) $rand_value .= $char;
} elseif ($type == 'digits') {
if (preg_match('/^[0-9]$/', $char)) $rand_value .= $char;
This sorts the catalog side
On admin side
3) You have to makie the same changes as step 1 above to
refund_methods.php
return_product.php
return_text.php
return.php
returns_invoice.php
return_packingslip.php
return_reasons.php
return_status.php
admin\includes\functions\refund_method.php
4) change the code in admin\includes\functions\refund_funtions.php as done on the catalog side.step 2.
5) In admin\includes\boxes\returns.php
Remove whats in the file and change it with
<?php
/*
$Id$
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2010 osCommerce
Released under the GNU General Public License
*/
$cl_box_groups[] = array(
'heading' => 'Customer Returns',
'apps' => array(
array(
'code' => FILENAME_RETURNS,
'title' => 'Returned Products',
'link' => tep_href_link(FILENAME_RETURNS)
),
array(
'code' => FILENAME_RETURNS_REASONS,
'title' => 'Return Reasons',
'link' => tep_href_link(FILENAME_RETURNS_REASONS)
),
array(
'code' => FILENAME_REFUND_METHODS,
'title' => 'Refund Methods',
'link' => tep_href_link(FILENAME_REFUND_METHODS)
),
array(
'code' => FILENAME_RETURNS_STATUS,
'title' => 'Returns Status',
'link' => tep_href_link(FILENAME_RETURNS_STATUS)
),
array(
'code' => FILENAME_RETURNS_TEXT,
'title' => 'Return Text Edit',
'link' => tep_href_link(FILENAME_RETURNS_TEXT)
)
)
);
?>
This should do it.It works on my site..You can go ahead and change the styling as you wish...