fazzfarrell Posted October 10, 2006 Share Posted October 10, 2006 I have crated my shipping formula as below that works<?php// IntelliCART MX - Calculate Zone Shipping (Single)-(post)-(true)if (isset($HTTP_POST_VARS["IMX_CalcZoneShip1"])) {include_once(IMX_DIR . "/../Connections/jag.php");$IMX_SHIPCALC = new zoneCalc();$IMX_SHIPCALC->zoneTable = "dhl_zoneid";$IMX_SHIPCALC->zoneNumberColumn = "zone_number";$IMX_SHIPCALC->zoneCountryColumn = "zone_country";$IMX_SHIPCALC->priceTable = "dhl_pricing";$IMX_SHIPCALC->priceZoneColumn = "zone_price";$IMX_SHIPCALC->priceWeightColumn = "zone_weight";$IMX_SHIPCALC->priceAmountColumn = "zone_price"; $IMX_SHIPCALC->destination = "UK";$IMX_SHIPCALC->weight = $HTTP_SESSION_VARS["icJag"]->col("TotalWeight");$IMX_SHIPCALC->conn = &$jag;$IMX_SHIPCALC->dbName = $database_jag;$HTTP_SESSION_VARS["icJag"]->shippingPrice = $IMX_SHIPCALC->calculate();}?>it is picking up the delivery destination from $IMX_SHIPCALC->destination = "UK";but I want to be able to use a drop down menu to choose the country, I have a table with the relevant countrys in it, which works I have tested it by changing 'UK' to 'USA' etcanyone help!thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.