Multiselect field of Countries from Craft Commerce
To install Commerce Countries, follow these steps:
- Download & unzip the file and place the
commercecountries
directory into yourcraft/plugins
directory - -OR- do a
git clone https://github.com/antcooper/commercecountries.git
directly into yourcraft/plugins
folder. You can then update it withgit pull
- -OR- install with Composer via
composer require antcooper/commercecountries
- Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
commercecountries
for Craft to see it. GitHub recently started appending-master
(the branch name) to the name of the folder for zip file downloads.
Commerce Countries works on Craft 2.4.x and Craft 2.5.x.
Creates a multiselect field so you can use the Country list from Craft Commerce in Entries/Products. My own use for this was to restrict certain products to only ship to certain countries.
No configuration
Requires Craft Commerce
Brought to you by Ant Cooper