Guest Posted January 21, 2006 Posted January 21, 2006 I removed a section of code, that displayed the option for domestic shipping.. <td class="main" colspan="3"><b><?php echo FREE_SHIPPING_TITLE; ?></b> <?php echo $quotes[$i]['icon']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)"> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> the huge blank space is where I removed it, could someone please post the default code there if anyone wouldn't mind so i can put that back? I guess that's breaking domestic shipping because i can't go past it with US States.. Thank you
GraphicsGuy Posted January 21, 2006 Posted January 21, 2006 Have you made other changes to the file? If not, you can download a copy of the osCommerce installation package, unzip it and then upload the effected file, overwriting the corrupted one on the server. If you have made other changes, you can still download and unzip the package and then copy that portion back in. If you don't already use a file comparison tool, this would be a good time to download one (many of us use WinMerge, available free at SourceForge). This will make it easier to merge the lines back in. Rule #1: Without exception, backup your database and files before making any changes to your files or database. Rule #2: Make sure there are no exceptions to Rule #1.
Guest Posted January 21, 2006 Posted January 21, 2006 Have you made other changes to the file? If not, you can download a copy of the osCommerce installation package, unzip it and then upload the effected file, overwriting the corrupted one on the server. If you have made other changes, you can still download and unzip the package and then copy that portion back in. If you don't already use a file comparison tool, this would be a good time to download one (many of us use WinMerge, available free at SourceForge). This will make it easier to merge the lines back in. Awsome, didn't know I could download oscommerce to my computer and just use those files! THANK YOU !
GraphicsGuy Posted January 21, 2006 Posted January 21, 2006 Awsome, didn't know I could download oscommerce to my computer and just use those files! THANK YOU ! You're welcome. Just be sure to watch folder structures carefully or you might end up overwriting the page code file with the corresponding language file, or in some cases a catalog file with an admin file or vice versa. (a lot of the files have the same names, but the folder structure keeps them straight) Rule #1: Without exception, backup your database and files before making any changes to your files or database. Rule #2: Make sure there are no exceptions to Rule #1.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.