Announcement:Materials and articles for ProductCart 5 can be found at our brand new support center.

Create an account to edit articles | See Formatting Syntax for Wiki syntax | We look forward to your contribution!

Managing Countries and States/Provinces


In ProductCart every drop-down menu that lists states and countries both in the storefront and in the Control Panel is database driven. ProductCart's database includes a table for Countries and a table for States. Use the Manage Countries and Manage States features to add/edit/remove items to/from those tables, and to establish a relationship between them.

How it works

When there are states or provinces associated with a country, the State/Province field becomes a drop-down that shows a list of those states/provinces. A selection is required. By default, ProductCart includes state/provinces for the Unites States, Canada, Australia and New Zealand.

For example, the screen shot below shows a customer from Canada registering on the store. As the customer selects Canada from the Country drop-down, the Province field changes automatically to show Canadian provinces.

An example of country-state selection

When there are no states or provinces associated with a country, the State/Province field becomes an input field, and is not required. Since an input field can lead to user errors, whenever possible we recommend that you enter the states/provinces associated with your default country (and the countries your customers most commonly purchase from).

Limiting sales geographically

A simple way to prevent users to place an order from countries that you cannot or do not want to sell into is to remove them from the list of supported countries. For example, if you store is located in the United States and you only ship to customers in the US and Canada, you can remove all other countries from the list.

Re-entering countries and states

Using the right state and country codes is very important if your store uses dynamic shipping providers (e.g. FedEx, UPS, etc.). Therefore, note the following:

Puerto Rico is addressed as a state by USPS but as a country by UPS, so you may need to adjust the state and country lists depending on which service you use.

Restoring the original settings

To restore the original settings, click on the Restore Default Settings button on both the Manage States and Manage Countries pages. This feature adds back to the list all states and countries that were originally included. This can be very useful if you only sell your products locally, but then decide to also sell them internationally: you won’t have to manually re-add all the country codes.

QR Code
QR Code Managing Countries and States/Provinces (generated for current page)