PDA

View Full Version : Individual Product Shipping Methods



michael_s
01-20-2007, 09:10 PM
If you also have ship2pay installed, you will find that this mod will work perfectly with it!

However, the mod in catalog/includes/classes/shipping.php clashes with the code in admin/ship2pay.php and will not show. So the simple solution I made was to ignore the mod in shipping.php when viewing ship2pay.php by using this code for the two mods in shipping.php:


//bof added to work with ship2pay on admin side
if (preg_match("/ship2pay/", $PHP_SELF)) {
echo '';
} else {
//eof added to work with ship2pay on admin side

---- MOD HERE -----

} //added to work with ship2pay on admin side



The attachment is the shipping.php on how the mod should look IF you have ship2pay installed as well.

This is just a minor mod. Full credit to original author.

aegrnberg


More... (http://www.oscommerce.com/community/contributions,4674)