Algorithms: Good Enough for Business Purposes
Of course, they could just add the shipping price at the end, but most people ordering small items online for themselves (it’s a B2C company) want a fixed cost before they hand over their credit card details.
While it sometimes makes sense to write complex, custom shipping, pricing and discounting rules, often the cost of specifying, coding and implementing such rules would exceed the likely first couple of years net profits for smaller merchants. Because of that we typically recommend some standard types of algorithms we’ve developed in the past that can be parameterized to meet most needs and that will allow them to get a site live and working in a fraction of the time for a fraction of the price.
We pride ourselves on the ability to generate pretty much whatever the end customer wants, but sometimes it is worth thinking whether what they are asking for is really in their best business interest. It amazes me how many small merchants are hung up on losing $1 here or there on shipping for a particular item rather than just focusing on making their shipping and pricing rules work out in the aggregate.



My first job title was "Analyst Programmer", and it's surprising how often the "Analyst" part of developer's jobs gets overlooked. A good developer is not just a code monkey, they're business consultants aswell! The most important step of modelling any business process is working out exactly what it is you're supposed to be modelling, and often just going through definition phase is enough to identify inefficiencies and simplifications that could create savings for the client.