Guest Posted June 4, 2004 Posted June 4, 2004 When I create an account, there is no box for State.making it impossible to fulfill an order or charge sales tax -- otherwise everything works. Has anyone run into this. I am using an out of the box MS2 with STS. Any suggestions what might be wrong? Also, once this is fixed, I would like postal zone to be entered after the state which is the standard in the US. thanks.
peterr Posted June 4, 2004 Posted June 4, 2004 Hi, In /catalog/create_account.php 38 if (ACCOUNT_STATE == 'true') { 39 $state = tep_db_prepare_input($HTTP_POST_VARS['state']); 40 if (isset($HTTP_POST_VARS['zone_id'])) { 41 $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']); 42 } else { 43 $zone_id = false; 44 } 45 } and I see other references to the constant ACCOUNT_STATE elsewhere in the code. What do you have set for the constant ACCOUNT_STATE ?? Peter
Guest Posted June 4, 2004 Posted June 4, 2004 Hi Peter, Thanks for getting back to me. I checked the code and it is exactly as you suggested -- I am not sure what you are referring to when you ask, What do you have set for the constant ACCOUNT_STATE ?? I will go back and check all my settings. The tax zone is california. If you can look at the code the website is http://mayafairtrade.com/index.php thanks, Murray
Guest Posted June 4, 2004 Posted June 4, 2004 Hi Peter, There was nothing wrong except pilot error. I must have accidentally turned the State off in Customer Details, when changing gender etc. A couple of hours wasted -but it feels good to be working properly. Thanks for your help. Murray
peterr Posted June 5, 2004 Posted June 5, 2004 Hi Murray, Good you got it fixed. You no doubt learnt more about osCommerce through this. :) Peter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.