Guest Posted May 19, 2006 Posted May 19, 2006 Hi all ! I had the shipping estimator working, but I only ship to the us, (other countries would have to call in) so I made USA the default, unchangeable to calculate the shipping. so I added to the code if(CARTSHIP_SHOWCDD == 'true'){ $ShipTxt.='<tr><td class="main"><b>USA</b>'. tep_draw_hidden_field('country','223'); } wich brings me back with <tr> <td class="main"><b>USA</b><input type="hidden" name="country" value="223"> now when i try to calculate the browser seems to not send the country in the form and so it doesn't calculate anything :( anyone could give an Idea? I don't want to put back drop down list with only one country to choose as it looks stupid... here is the code it comes back with as of now... maybe i have some html issues: <tr> <td class="boxText"><form name="estimator" action="http://www.brazilianhotstuff.com/shopping_cart.php" method="post"><input type="hidden" name="sid" value=""> <table> <tr> <td colspan="3" class="main"> <b>Product(s) Qnt :</b> 1</td> </tr> <tr> <td class="main"><b>USA</b><input type="hidden" name="country" value="223"> <b>ZIP Code:</b> <input type="text" name="zip_code" value="" size="5"></td> <td style="padding-right:8" align="right"><a href="_" onClick="return shipincart_submit('');"><img src="includes/languages/english/images/buttons/button_shipping_estimator.gif" border="0" alt="Update Cart" title="Update Cart"> </a></td> </tr> <tr> <td class="main"><b>Carrier</b></td> <td class="main" align="left"><b>Delivery Methods</b></td> <td class="main" align="right"><b>Rates</b></td> </tr> <tr> <td colspan="3" class="main"><img src="images/pixel_black.gif" width="100%" height="1" border="0" alt=""></td> </tr> </table> </form></td> </tr> thanks for the help! Quote
Guest Posted May 19, 2006 Posted May 19, 2006 stupid me darn... was using: name="country" instead of: name="country_id" anyways it's fixed now :) thanks!!! Quote
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.
Note: Your post will require moderator approval before it will be visible.