Supported Countries

From Shopp Documentation

Jump to: navigation, search
Shopp currently support approximately 70 of the worlds most economically active countries with more being added regularly.


The countries currently supported were included based on their ranked GDP for 2008, and those countries where the local colloquial format of currency is readily available.

The current list of supported countries includes:

  • Canada
  • USA
  • United Kingdom
  • Argentina
  • Australia
  • Austria
  • Bahamas
  • Belgium
  • Brazil
  • Bulgaria
  • Chile
  • China
  • Colombia
  • Costa Rica
  • Croatia
  • Cyprus
  • Czech Republic
  • Denmark
  • Ecuador
  • Estonia
  • Finland
  • France
  • Germany
  • Greece
  • Guadeloupe
  • Hong Kong
  • Hungary
  • Iceland
  • India
  • Indonesia
  • Ireland
  • Israel
  • Italy
  • Jamaica
  • Japan
  • Latvia
  • Lithuania
  • Luxembourg
  • Malaysia
  • Malta
  • Mexico
  • Netherlands
  • New Zealand
  • Norway
  • Peru
  • Philippines
  • Poland
  • Portugal
  • Puerto Rico
  • Romania
  • Russia
  • Singapore
  • Slovakia
  • Slovenia
  • South Africa
  • South Korea
  • Spain
  • St. Vincent
  • Sweden
  • Switzerland
  • Syria
  • Taiwan
  • Thailand
  • Trinidad and Tobago
  • Turkey
  • United Arab Emirates
  • Uruguay
  • Venezuela


Adding Your Country

If the country you are operating from is not currently available, you can contact the Help Desk and make a request for its inclusion in future releases. Please be ready to provide all of the details necessary including:

  • Full name of the country
  • Internationally recognized ISO-3166 2-letter code for the country
  • The 3-letter ISO 4217 currency code
  • A rough representation of your currency symbol/abbreviation with thousands and decimal separators (e.g. $1,000.00)
  • The unit of measure your nation uses (Imperial or Metric)

Alternatively, you can add this information by adding a shopp_countries filter to a plugin or to your theme/functions.php file:

Example:

<?php
add_filter( 'shopp_countries', 'add_my_country' );
function add_my_country ( $countries ) {
	// Shopp region codes
	// 0 = North America
	// 1 = Central America
	// 2 = South America
	// 3 = Europe
	// 4 = Middle East
	// 5 = Africa
	// 6 = Asia
	// 7 = Oceana
 
	// Use the two digit alpha ISO country code for you country, using US in this example for United States (for example)
	$countries['US'] =
		array('name'=>'United States of America',
		'currency'=>
			array('code'=>'USD', //three digit alpha ISO currency code
			'format'=>'$#,###.##'), // format of your currency, specifying the symbol, thousands separator, and decimal separator
			'units'=>'imperial', // imperial or metric
			'region'=>0 ); // shopp region code, see above
	return $countries;
}
?>