hashstar Posted March 29, 2012 Share Posted March 29, 2012 Hi there, I am trying to edit my shopping cart page so that i can use a different shipping rate for each country that i ship to. At the minute this is the code i use: */ if(isset($_GET['eushipping'])||(isset($_POST['rec_country'])&&$_POST['rec_country']!='uk')){ $shipping = ceil($total/30.00)*20.00; } I though it if i just changed the value 'eushipping' to the country option value it would work but it doesn't. Can anyone point me in the write direction of what i need to change? Many thanks. Hash Quote Link to comment https://forums.phpfreaks.com/topic/259933-code-to-use-to-capture-shipping-info/ Share on other sites More sharing options...
Muddy_Funster Posted March 29, 2012 Share Posted March 29, 2012 what cart program are you using that you need to hack the code to change the shipping for each country? Quote Link to comment https://forums.phpfreaks.com/topic/259933-code-to-use-to-capture-shipping-info/#findComment-1332282 Share on other sites More sharing options...
hashstar Posted March 29, 2012 Author Share Posted March 29, 2012 Im using a custom cart that my friend built for me. I tried asking him to what i should do but he hasn't got back to me. Thought there might be an easy fix i might be able to do. Quote Link to comment https://forums.phpfreaks.com/topic/259933-code-to-use-to-capture-shipping-info/#findComment-1332386 Share on other sites More sharing options...
Muddy_Funster Posted March 29, 2012 Share Posted March 29, 2012 If you know the person that coded the cart in the first place it it's going to be about 100x better for you to wait for them you answer you than to go poking about in there yourself, either with or without the help of others. Quote Link to comment https://forums.phpfreaks.com/topic/259933-code-to-use-to-capture-shipping-info/#findComment-1332399 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.