Huawei P10 review
I would like to add a function to my website which allows my customers to view delivery charges based on the county they live in.
For example, I supply pre owned Japanese imported cars all over the UK. Ideally I would like a script that could allow me to add all the uk counties and attach a delivery charge to the various counties.
If anybody can point me in the right direction, I would be very grateful.
You certainly could use a database, but you could also simply block things together in a static HTML table or use a script.
Example: would any of the 13 different counties within Wales have a greatly differing delivery charge or could you apply a blanket charge to a region instead of based on county ?
You could start to narrow things down dramatically by saying delivery costs to Wales are X, North East England is Y, North West England is Z and so on.
I really don't think that a database is necessary, although if you want to add this into some sort of commerce operation at some stage then it would make sense to build it into a data driven application at some point.
click here for a list of British counties. It could easily be displayed as three table matrices, one for England, Scotland and Wales respectively, with each one listing the relevant delivery costs.
No programming hassles involved.
Do it in tables. If the number of counties leads to long tables you can always add a drop-down menu for each section (England, Wales, Scotland) and let the user jump to the appropriate section from there.
This thread is now locked and can not be replied to.