Forums / Addon Shipping Modules / Hazmat Shipping with UPS

Hazmat Shipping with UPS

Views: 1,361

Results 1 to 4 of 4
24 Nov 2010, 3:28 PM
#1
josekarlos29 avatar

josekarlos29

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Hazmat Shipping with UPS

Hi, I have just finished making a UPS module that allows for Hazmat shipping by ground only. If you have one item in the cart that is hazmat then it allows ground only shipment with UPS. If there is no hazmat product than it allows all the other options. It adds a new configuration option to the UPS shipping module and allows to choose which ground shipment you want to provide(only canada standard and ground). Also you can easily edit whether a product is hazmat or not from the admin.

You have to make one database change(added a products_hazmat field to the products table) and replace some of the admin files for creating/updating products so you can easily set the field, add a function, zen_get_products_hazmat to any of the function pages, and replace and reinstall the UPS module. So it's not a simple replace of the files and was wondering if people would be interested in the code.

I haven't done this before so I don't know the best way of sharing it is. It looks like I can upload a zip file, so maybe i'll do that with the files I've changed, but if there is a "standard" way of sharing the changes just let me know.

24 Nov 2010, 5:06 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Hazmat Shipping with UPS

Package the files in ZenCart folder hierarchy
Go to the free software addon link above left
At the top right is a "submit file" button

Zen-Venom Get Bitten

28 Jul 2011, 4:42 PM
#3
kerrie avatar

kerrie

New Zenner

Join Date:
Sep 2007
Location:
Phoenix, Arizona
Posts:
15
Plugin Contributions:
0

Re: Hazmat Shipping with UPS

I was wondering if this module was ever placed in the free section? I just looked for it and was unable to find it.

This might be exactly what I was just sent to this forum to find.

Thank you.

Kerrie Mallory-Thompson
https://www.laserbits.com

29 Jul 2011, 4:10 PM
#4
josekarlos29 avatar

josekarlos29

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Re: Hazmat Shipping with UPS

Hi Kerrie,

It seems i never got around to uploading the files:oops: I can put them together for you for the addition if you like. I don't know if you need a simple method for adding a field to the database or not, but it's pretty simple through phpAdmin if you have that. I'll post it all along with instructions on how to do proceed with it. I'm out of town right now and away from my code, but i'll be back this wednesday and I'd be able to put it up. If you have any questions about it feel free to ask.