Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am looking for someone to help me customize and addon for me. I have tried myself but do not know enough about writing code to get it to work.

 

I basically need somone who could either modify the existing UPS XML addon or write a seperate module based on it. I need to be able to have a shipping option called UPS Hazmat. It would need to calculate the ups ground shipping price plus add a flat fee for handling. I am open to other suggestions if someone could help me.

 

The other option I can think of and maybe easier to do is I can put a certain character such as a * in the products that are hazmat if someone could write a mod to add a $30 handling fee if there is any product in the cart with the * in the product code. This seems like it may be easier to write but who knows.

 

I really appreciate anyone that could help me I am going nuts trying to do it on my own!

 

Bryan

Posted

UPS is inflexible. Your second idea would be easier to implement in my opinion.

 

Give all Hazmat products a value of 1. All normal products a value of 0.

 

In the cart class, add up all the Hazmat items in the cart (1+1+1 etc etc) and multiply the total by 30. Make a new order_total module to add that value onto the overall total. Unless you want 1 fee of $30 in which case, just see if the hazmat total exceeds zero.

 

That's not straightforward but is possible to do.

 

Thanks a lot for the ideas.

 

Basically I just need it to add 1 fee regardless of how many of those items were in the order. I looked to see if something existing in order total modules already and nothing. The closest thing I could find is this one http://addons.oscommerce.com/info/1924/v,22 and think maybe it could be modified fairly easy. I could create a new column in my products table called hazmat which would carry the 1 or 0 depending on if it was hazardous or not.

 

The problem is I do not know how to write code to get this modified to do what I want. Could you make it do that or anyone out there willing to help do this? I really appreciate any help i just don't have the knowledge of php to do it myself. It seems like it would be easy to implement but I could be very wrong.

Posted

I understand and just thought I'd post it and I am open to someone sending quotes to me. I figured it wouldn't hurt to ask if someone is willing to help first. I am certainly willing to pay someone for their time if I get a reasonable quote.

 

 

I also very much appreciate your advice on getting a fair quote, Thanks for the information.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...