Arrowhead123 Posted January 24, 2006 Posted January 24, 2006 Right now in the shopping cart, a customer must select a country they're from in the dropdown menu. However, I only want to change this to states instead. So, people can only order from two countries: United States and Canada. For people who live in the US, they have a dropdown for the state. How would I go about implementing this?
Guest Posted January 24, 2006 Posted January 24, 2006 Right now in the shopping cart, a customer must select a country they're from in the dropdown menu. However, I only want to change this to states instead. So, people can only order from two countries: United States and Canada. For people who live in the US, they have a dropdown for the state.How would I go about implementing this? http://www.oscommerce.com/community/contributions,2028 And delete all the countries you don't want by logging in to your admin panel > Locations/Taxes > Countries.
Arrowhead123 Posted January 24, 2006 Author Posted January 24, 2006 How sad. I deleted all the countries and then installed hte module, and all the countries appeared again! IT seems that there has been no change in the looks whatsoever. I see no evidence of a dropdown menu for the states. I have set the default country to 221, which I am hoping in the United States. catalog/includes/languages/english.php Insert anywhere convenient: // +Country-State Selector define ('DEFAULT_COUNTRY', '221'); // -Country-State Selector Did I do something wrong?
Arrowhead123 Posted January 25, 2006 Author Posted January 25, 2006 bump How sad. I deleted all the countries and then installed hte module, and all the countries appeared again!IT seems that there has been no change in the looks whatsoever. I see no evidence of a dropdown menu for the states. I have set the default country to 221, which I am hoping in the United States. catalog/includes/languages/english.php Insert anywhere convenient: // +Country-State Selector define ('DEFAULT_COUNTRY', '221'); // -Country-State Selector Did I do something wrong?
Arrowhead123 Posted January 25, 2006 Author Posted January 25, 2006 Okay, So here's the problem: When creating an account, the preselected country is the United States with a dropdown menu of the selected states, as indicated in english.php with the following line: define ('DEFAULT_COUNTRY', '223'); However, if user wants to checkout directly without creating an account, no default country is selected and there is no menu for the states. I don't think the code to do this was included in the dropdown menu for states module. How would I go about doing that?
Guest Posted January 25, 2006 Posted January 25, 2006 Okay,So here's the problem: When creating an account, the preselected country is the United States with a dropdown menu of the selected states, as indicated in english.php with the following line: define ('DEFAULT_COUNTRY', '223'); However, if user wants to checkout directly without creating an account, no default country is selected and there is no menu for the states. I don't think the code to do this was included in the dropdown menu for states module. How would I go about doing that? I use PWA with the drop down state contribution... it works fine for me. I also only have one country in the list, don't know if that changes anything...
Arrowhead123 Posted January 25, 2006 Author Posted January 25, 2006 Yea, that seems to work only if they create an account. If they want to buy an item without creating an account, a states dropdown menu is never there. I use PWA with the drop down state contribution... it works fine for me. I also only have one country in the list, don't know if that changes anything...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.