PHP Shipping Cost Calculator

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dreary
Forum Newbie
Posts: 1
Joined: Tue Jul 22, 2003 2:28 pm

PHP Shipping Cost Calculator

Post by dreary »

I am currently working on a website, building it from the ground up. I am at the stage for a shopping cart and shipping, the cart was easy enough, but I am really stumpped on where exactly to start on the shipping matters.

Just looking for a starting point to get me going in the right direction.

Thanks!

(BTW, I was unsure if this was the most appropriate board to post in, please do tell me if I am at fault).
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

My experience is that they all want something different, cost per item (requires item groups etc), flat cost multiplied by weight or count (percent), different quantity levels, free price/count, extra under price/count, minimum, maximum, pricing discounts/extras depending customer group, location etc.. I find myself to often customizing this, as combinations of the above as a markup/handling part of realtime qoutes, which has to handle large orders that span multiple boxes etc etc..

And dont forget sales tax, especially in the US that can be tricky between different states and some counties/cities.. I am lucky that way since most of my customers are indians and collect no salestax :)

When it comes to getting realtime quotes in the us, yo may want to take a look in this thread..

My advice for a generic system; Look at what all the other top 10 free and commercial ones have and make sure yours can do all of what they each can.. make it modular so its easy for you to switch to a different type (custom function) when needed, or even based on product/customer group/type..
Post Reply