Community Add-Ons

Maintainers: dave111
Add file to this package
Top » Other

Individual Product Shipping Methods
for osCommerce Online Merchant v2.2

Individual Product Shipping Methods

Description:
This contribution allows you to select which shipping methods you would like to enable for each individual product.
This is a modification of Individual Product Payment Methods, but to work with shipping instead.

Change Log
// 11/22/06
Created and uploaded by dave - advancedstyle.com


How to use:

After installation go to Admin -> Catalog -> Edit Product, you'll see a list of checkbox for the shipping methods, check off all the boxes that you would like to enable.

Notes:
* Checking no boxes in the same as checking all the boxes, all the modules will be enabled for that product.

* The shipping module must also be enabled in the Admin -> Modules -> Shipping area for the module to show up.

*** Make sure you dont setup the products in such a way to eliminate the possibility of them being purchased together:
For example:
If you set "Product A" to allow only the Flat Rate module
And set "Product B" to allow only the Item Rate module, if the customer tries to purchase A and B together they will have no shipping options.

This zip File contains only instructions for installation! (no modified files)

Legend:  Download   Report
Expand All / Collapse All
shipping.php to work with ship2pay on admin side aegrnberg 20 Jan 2007  

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

updated installation file marcusdesign 22 Nov 2006  
Individual Product Shipping Methods dave111 21 Nov 2006