Let us call your attention once again to an issue with Oscommerce, especially those using the old versions. I had a client recently having problems with removing the rounded corner images on his shop based on Oscommerce.
I actually found this a bit challenging since i hadn’t used it for a while but lets get down to details.;
To remove the rounded images on the infoboxes please find the file in your includes/classes/boxes.php and do the modifications there. One of the major problems is finding where the named images are embedded in the codes , you would find it in the above file. All you have to do is comment out the statement or remove the image link itself inside the quotes and leave the quotes there .
Example =
if ($left_corner == true) {
// $left_corner = tep_image(DIR_WS_IMAGES . ‘infobox/corner_left.gif’);
} else {
// $left_corner = tep_image(DIR_WS_IMAGES . ‘infobox/corner_right_left.gif’);
}
You can see from the above that it has been commented out.
Also find this line in the same file
$info_box_contents[] = array(array(‘params’ => ‘height=”14″‘,
‘text’ => tep_image(DIR_WS_IMAGES . ‘I removed the image here ‘)),
array(‘params’ => ‘height=”14″ width=”100%”‘,
‘text’ => $contents[0]['text']),
array(‘params’ => ‘height=”14″‘,
‘text’ => tep_image(DIR_WS_IMAGES . ‘I removed the image here‘)));
Please see the highlighted.
One other thing is that after you have done this, you will see the number “1″ appearing in the info boxes, please remove this by visiting includes/boxes/categories.php and edit this line by changing all to “false”
$info_box_contents = array();
$info_box_contents[] = array(‘text’ => BOX_HEADING_CATEGORIES);
new infoBoxHeading($info_box_contents, false, false);
Also visit includes/boxes/shopping_cart.php edit this line and make it false.
new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART));
Please see highlighted.
Hope this helps, you may visit this page here for more info