States
Print out a list of US states.
To edit the list of states that are used, see Locales Config.
Table of Contents
Variables
abbrev
Prints the state's two-letter abbreviation.
{abbrev}
state
Prints the state's full name.
{state}
Examples
<select name="state">
{exp:cartthrob:states}
<option value="{abbrev}">{state}</option>
{/exp:cartthrob:states}
</select>