Variable postage costs - how do you make it dynamic?

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
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Variable postage costs - how do you make it dynamic?

Post by simonmlewis »

Hi all

We are building an online shopping system for varied customers.
We can do possible do the script so people can buy 2 or more items, but how do you adjust the postage?

For example: someone could be selling handmade gift cards, but if they sold 30 at one time, the postage would not be all that much more than for one.

But if someone sold an umbrella, it would be (in the UK) like £3.50. But if they sold 50 at one time, it would be WAY MORE.

I really have no idea how to do it. Can any suggest anything?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply