Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

different shipping methods for different products


travisb

Recommended Posts

We have some items that are very large and can only be shipped by truck. Other items can go UPS. Does anyone know of any contributions that can allow me to choose which method of shipping per product in the admin, and then only allow those methods when the customer checks out? I would like to know before I try to do this myself. Thanks in advance.

Link to comment
Share on other sites

Travis;

 

You might try the following contribution. I haven't used it, but it sounds like it may do what you are after:

 

http://www.oscommerce.com/community/contributions,969/page,3

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Link to comment
Share on other sites

Thanks mugitty, that is what i am looking for. I am having a little trouble with it. I tried adding another module called truck. This is what it looks like in the switch statement in /catalog/modules/shipping/mltship.php

 switch ($row['module_name'])
   {
  	 case "ups":

     $rate = new ups;
     $mltQuote = $rate->quote('GNDRES');

     //Any other module specific processing / charges should be done here
     break;
  	 case "usps":
     $rate = new usps;
     
        $mltQuote = $rate->quote('Priority');

     //Any other module specific processing / charges should be done here
     break;
  	 case "truck":
     $mltQuote = $shipping_weight * 1.3;
  	 break;
   }

 

In the database I added

 method_name      module_name      handling_charge      handling_per_box      tare_weight      max_box_weight
Truck 	 truck 	 0.00 	 0 	 0.00 	 99999

 

I changed a few products and tested the UPS and that works fine. My truck shipping is not working. I made a product have to ship by truck and when I checkout the shipping and handling comes up as $0.

 

Any ideas?

Link to comment
Share on other sites

  • 3 weeks later...

can you tell me where you found the truck module?

and did you get it to work with multivender?

I think I tried multivender but it would give me choices, not eliminate them.

 

After not being able to find a freight module for less then full trucksa, I am trying to set a flat rate on some products and normal ups and fedex on others.

Link to comment
Share on other sites

I tried copying the flat rate modules and just changing the names to truck to create a new module. It worked, but not like I wanted it. We ended up using a module called individual shipping where we just enter a flat price per item for the shipping charge.

Link to comment
Share on other sites

what would be nice is if you can incorporate a switch statement upon checkout.

 

if product < 140lbs, then use UPS shipping module.

if product > 140 lbs, then use table rate module.

if individual shipping price defined, then use individual price module.

 

Having all three shipping modules visible for ALL products is dumb.

I've been trying to do this for weeks for my shopping cart but no luck. Can't find anyone willing to help. At least we're all in the same boat. Hopefully we can find someone together skilled enough in PHP willing to help (hopefully who's in the same boat we're in!).

Link to comment
Share on other sites

Shipping is extremely complex. We have numerous other problems. For example, if you order item A from us, we can ship today, but not if you are in Canada as the item comes from a vendor in the US and we drop ship from them, and they do not ship to Canada. So, in this case, we have to order the product in first. Same applies to USPS shipments. Then, you might order 2 products from 2 different vendirs, each of which has a different shipping method. This is also a problem. Then, we ship Fedex ground, but some items come direct from vendors who can ship Fedex, but not Fedex ground. Then...

Steve

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...