Created
March 6, 2012 04:54
-
-
Save frankmullenger/1983678 to your computer and use it in GitHub Desktop.
Example _config.php settings for SwipeStripe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* SwipeStripe settings | |
* ==================================================== | |
*/ | |
//License key | |
ShopSettings::set_license_key(''); | |
//Set currency | |
Payment::set_site_currency('NZD'); | |
Modification::set_currency('NZD'); | |
Product::set_allowed_currency(array('NZD'=>'New Zealand Dollar')); | |
//Set locale | |
Geoip::$default_country_code = "NZ"; | |
i18n::set_locale('en_US'); | |
setlocale(LC_TIME, 'en_NZ@dollar', 'en_NZ.UTF-8', 'en_NZ', 'nz', 'nz'); | |
//Shipping | |
//FlatFeeShipping::enable(); | |
//Tax | |
//FlatFeeTax::enable(); | |
//Allow product images to be sorted | |
//SortableDataObject::add_sortable_classes(array('ProductImage')); | |
//Enable search for products | |
//FulltextSearchable::enable(); | |
/* | |
* Payment | |
* ==================================================== | |
*/ | |
//Order notifications sent to | |
Email::setAdminEmail('admin@example.com'); | |
Payment::set_supported_methods(array( | |
'ChequePayment' => 'Cheque Or Pay On Site' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment