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.


Reply With Quote
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.

