Guest Guru Granny Posted March 10, 2008 Share Posted March 10, 2008 In the "Shipping by Category" module of Version 3.0.17, I discovered an error for how international shipments were calculating. The amount entered as the "Per International Shipment" was being treated as the "Per International Item" and vice-versa. Rather than just entering the figures backwards, I decided to find the code that needed to be corrected. Here's how I fixed it. The file to correct is http://www.yourdomain.com/yourstore/admin/categories/index.php. (I found the code on lines 277-284.) The lines to be changed will look like this: <tr> <td class="tdText"><?php echo $lang['admin']['categories']['per_int_ship']; ?></td> <td><input name="item_int_ship" value="<?php echo $results[0]['item_int_ship']; ?>" type="text" class="textbox" size="6" /></td> </tr> <tr> <td class="tdText"><?php echo $lang['admin']['categories']['per_int_item']; ?></td> <td><input name="per_int_ship" value="<?php echo $results[0]['per_int_ship']; ?>" type="text" class="textbox" size="6" /></td> </tr>Change the parts shown in red, so the lines look like this: <tr> <td class="tdText"><?php echo $lang['admin']['categories']['per_int_ship']; ?></td> <td><input name="per_int_ship" value="<?php echo $results[0]['per_int_ship']; ?>" type="text" class="textbox" size="6" /></td> </tr> <tr> <td class="tdText"><?php echo $lang['admin']['categories']['per_int_item']; ?></td> <td><input name="item_int_ship" value="<?php echo $results[0]['item_int_ship']; ?>" type="text" class="textbox" size="6" /></td> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.