Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

HazMat fee for only some items

Recommended Posts

Hi all,


I'm running an ammunition dealer's website and whenever we ship gunpowder or primers, UPS charges a $27 hazmat fee. I would like so when a customer checks out, this is listed in charges as a hazmat fee, but only for the items that need it. I've been searching for a while and can't find a way that doesn't tie in to the shipping module. I use UPS XML as my shipping module.




Link to comment
Share on other sites

@@beingforthebenefit There isn't anything available in oscommerce for this. You need to add a new field to the products table to mark each product that should have the note applied and then make a change to the UPS module to add text to the shipping methods for those items. By the way, I recently coded something similar to this for a client but he also ships USPS and they don't allow some items to be shipped. I don't recall the restrictions for UPS but it seems like there were some but his products may have been more hazardous than yours - just something to be aware of.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...