teetime050 Posted May 25, 2008 Posted May 25, 2008 Client is wanting to use shipping based on weight. Up to 5lb 12.50, then increase by increments of .50 When trying to use under Shipping Modules - Table Rate I can install it, but cannot change the setting to False then Update - doesnt update or change the pricing to 5:12.50,6:13.00,7:13.50 and so on up to 10 - when I hit update, it reflects back to default already there. This happens on all Shipping Modules. Utilizing OSCommerce 2.2 All other functionality of cart is working correctly. HELP!!! Quote
Guest Posted May 25, 2008 Posted May 25, 2008 Client is wanting to use shipping based on weight.Up to 5lb 12.50, then increase by increments of .50 When trying to use under Shipping Modules - Table Rate I can install it, but cannot change the setting to False then Update - doesnt update or change the pricing to 5:12.50,6:13.00,7:13.50 and so on up to 10 - when I hit update, it reflects back to default already there. This happens on all Shipping Modules. Utilizing OSCommerce 2.2 All other functionality of cart is working correctly. HELP!!! Do the payment modules update? Quote
teetime050 Posted May 25, 2008 Author Posted May 25, 2008 Do the payment modules update? No... just found that out. Payment options do not update through the admin panel. Quote
Guest Posted May 25, 2008 Posted May 25, 2008 No... just found that out. Payment options do not update through the admin panel. OK, it may be something like this, if this is your osc version: This is a known bug in the osCommerce 060817 release and has to do with the modules not refreshing with updated changes in the admin. This fix has worked for several users: 1. Open the catalog/admin/includes/functions/compatibility.php. 2. At the end of the “do_magic_quotes_gpc” routine, add the following code reset($ar); It will end up looking like this: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } 3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php. Quote
teetime050 Posted May 25, 2008 Author Posted May 25, 2008 OK, it may be something like this, if this is your osc version: This is a known bug in the osCommerce 060817 release and has to do with the modules not refreshing with updated changes in the admin. This fix has worked for several users: 1. Open the catalog/admin/includes/functions/compatibility.php. 2. At the end of the “do_magic_quotes_gpc” routine, add the following code reset($ar); It will end up looking like this: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } 3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php. Thank you very much... I will try that. Quote
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.
Note: Your post will require moderator approval before it will be visible.