Jump to content

code to use to capture shipping info


hashstar

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/259933-code-to-use-to-capture-shipping-info/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.