kevinmiami Posted May 6, 2006 Posted May 6, 2006 When people are registering, does anyone know how to make it default to "United States" instead of "please select" on the COUNTRIES pulldown? 99.99% of my customers will be from the US and it's annoying for them to hunt for the country on this list *************************************** I already tried this - didnt work: php echo tep_get_country_list('country','223') ***************************************
mtechama Posted May 6, 2006 Posted May 6, 2006 When people are registering, does anyone know how to make it default to "United States" instead of "please select" on the COUNTRIES pulldown? 99.99% of my customers will be from the US and it's annoying for them to hunt for the country on this list *************************************** I already tried this - didnt work: php echo tep_get_country_list('country','223') *************************************** hello vince I notice you are still having some problems the way I did it is this go to your admin>Locations/Taxes>Countries and delete all of the countries except "United States" I hope that helps and also on your Taxes part go to your Admin>Locations/Taxes>Zones and you should see only your state which is "Florida" on the right you should see Details click on "details" then click on insert Country should be set to "United States" and Zone should be set to "Florida" that will keep everyone from getting taxed if they are not in Flordia. I hope that helps Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
kevinmiami Posted May 6, 2006 Author Posted May 6, 2006 hello vince I notice you are still having some problems the way I did it is this go to your admin>Locations/Taxes>Countries and delete all of the countries except "United States" I hope that helps and also on your Taxes part go to your Admin>Locations/Taxes>Zones and you should see only your state which is "Florida" on the right you should see Details click on "details" then click on insert Country should be set to "United States" and Zone should be set to "Florida" that will keep everyone from getting taxed if they are not in Flordia. I hope that helps Yes, I finally fixed the tax problem using the method you gave me , THANK YOU :) now for this problem - see original post on this thread... an advice?
mtechama Posted May 6, 2006 Posted May 6, 2006 Yes, I finally fixed the tax problem using the method you gave me , THANK YOU :) now for this problem - see original post on this thread... an advice? Vince please look at my first line before I was talking about the Tax part Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
kevinmiami Posted May 6, 2006 Author Posted May 6, 2006 Vince please look at my first line before I was talking about the Tax part well that would be easy, except once in a while i get an order from another country and i dont want to miss out on those
Guest Posted May 6, 2006 Posted May 6, 2006 have a look at this contribution, you can select what countries to populate for your store. http://www.oscommerce.com/community/contributions,3607 and you do not want to delete the existing countries from the database because some other contributions or tips rely on the countries identifiers. And have a look on the world zones too you may need it. http://www.oscommerce.com/community/contributions,1792 just keep a backup of your database before installing.
boxtel Posted May 6, 2006 Posted May 6, 2006 well that would be easy, except once in a while i get an order from another country and i dont want to miss out on those simply go to includes/functions/html_output.php find: function tep_get_country_list($name, $selected = '', $parameters = '') { $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); change to: function tep_get_country_list($name, $selected = '', $parameters = '') { // $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); to get rid of please select. and then use your tep_get_country_list('country','223') or $country = 223; tep_get_country_list('country'); Treasurer MFC
Wendy James Posted May 6, 2006 Posted May 6, 2006 I posted this on your other thread http://www.oscommerce.com/community/contributions,2148 Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
jasonabc Posted May 6, 2006 Posted May 6, 2006 http://www.oscommerce.com/forums/index.php?s=&...ndpost&p=828320 Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.