woll Posted March 17, 2003 Share Posted March 17, 2003 I'm implementing osCommerce for a local business. The company currently makes deliveries to the local area (UK Counties of Durham. Northumberland and Tyne & Wear) by van. I'm trying to set up table rate shipping to be available only to customers with a delivery address in any of the 3 counties mentioned above, but I have no idea how to hack the code to do this! Can anyone help?! Link to comment Share on other sites More sharing options...
woll Posted March 18, 2003 Author Share Posted March 18, 2003 Right, I've had a little dig around, with limited success.... I'd assume I have to get the county (state) from the order..something like.. $dest_county = $order->delivery['state'] Now.. all I have to do is test wether $dest_country is either 'Durham', 'Northumberland' or 'Tyne & Wear' and if so display shipping costs as defined in the Tabel Rate module. Now where would I put the if/statement? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.