Settings rejig
This commit is contained in:
parent
297ffd7af0
commit
42e5afc28d
|
@ -28,6 +28,43 @@ $woocommerce_settings['general'] = apply_filters('woocommerce_general_settings',
|
|||
'type' => 'single_select_country'
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => __( 'Currency', 'woothemes' ),
|
||||
'desc' => __("This controls what currency prices are listed at in the catalog and which currency gateways will take payments in.", 'woothemes' ),
|
||||
'tip' => '',
|
||||
'id' => 'woocommerce_currency',
|
||||
'css' => 'min-width:175px;',
|
||||
'std' => 'GBP',
|
||||
'type' => 'select',
|
||||
'options' => apply_filters('woocommerce_currencies', array(
|
||||
'USD' => __( 'US Dollars ($)', 'woothemes' ),
|
||||
'EUR' => __( 'Euros (€)', 'woothemes' ),
|
||||
'GBP' => __( 'Pounds Sterling (£)', 'woothemes' ),
|
||||
'AUD' => __( 'Australian Dollars ($)', 'woothemes' ),
|
||||
'BRL' => __( 'Brazilian Real ($)', 'woothemes' ),
|
||||
'CAD' => __( 'Canadian Dollars ($)', 'woothemes' ),
|
||||
'CZK' => __( 'Czech Koruna', 'woothemes' ),
|
||||
'DKK' => __( 'Danish Krone', 'woothemes' ),
|
||||
'HKD' => __( 'Hong Kong Dollar ($)', 'woothemes' ),
|
||||
'HUF' => __( 'Hungarian Forint', 'woothemes' ),
|
||||
'ILS' => __( 'Israeli Shekel', 'woothemes' ),
|
||||
'JPY' => __( 'Japanese Yen (¥)', 'woothemes' ),
|
||||
'MYR' => __( 'Malaysian Ringgits', 'woothemes' ),
|
||||
'MXN' => __( 'Mexican Peso ($)', 'woothemes' ),
|
||||
'NZD' => __( 'New Zealand Dollar ($)', 'woothemes' ),
|
||||
'NOK' => __( 'Norwegian Krone', 'woothemes' ),
|
||||
'PHP' => __( 'Philippine Pesos', 'woothemes' ),
|
||||
'PLN' => __( 'Polish Zloty', 'woothemes' ),
|
||||
'SGD' => __( 'Singapore Dollar ($)', 'woothemes' ),
|
||||
'SEK' => __( 'Swedish Krona', 'woothemes' ),
|
||||
'CHF' => __( 'Swiss Franc', 'woothemes' ),
|
||||
'TWD' => __( 'Taiwan New Dollars', 'woothemes' ),
|
||||
'THB' => __( 'Thai Baht', 'woothemes' ),
|
||||
'TRY' => __( 'Turkish Lira (TL)', 'woothemes' )
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => __( 'Allowed Countries', 'woothemes' ),
|
||||
'desc' => __( 'These are countries that you are willing to ship to.', 'woothemes' ),
|
||||
|
@ -391,43 +428,6 @@ $woocommerce_settings['catalog'] = apply_filters('woocommerce_catalog_settings',
|
|||
|
||||
array( 'name' => __( 'Pricing Options', 'woothemes' ), 'type' => 'title','desc' => '', 'id' => 'pricing_options' ),
|
||||
|
||||
array(
|
||||
'name' => __( 'Currency', 'woothemes' ),
|
||||
'desc' => sprintf( __("This controls what currency prices are listed at in the catalog, and which currency PayPal, and other gateways, will take payments in. See the list of supported <a target='_new' href='%s'>PayPal currencies</a>.", 'woothemes'), 'https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_intro-outside' ),
|
||||
'tip' => '',
|
||||
'id' => 'woocommerce_currency',
|
||||
'css' => 'min-width:175px;',
|
||||
'std' => 'GBP',
|
||||
'type' => 'select',
|
||||
'options' => apply_filters('woocommerce_currencies', array(
|
||||
'USD' => __( 'US Dollars ($)', 'woothemes' ),
|
||||
'EUR' => __( 'Euros (€)', 'woothemes' ),
|
||||
'GBP' => __( 'Pounds Sterling (£)', 'woothemes' ),
|
||||
'AUD' => __( 'Australian Dollars ($)', 'woothemes' ),
|
||||
'BRL' => __( 'Brazilian Real ($)', 'woothemes' ),
|
||||
'CAD' => __( 'Canadian Dollars ($)', 'woothemes' ),
|
||||
'CZK' => __( 'Czech Koruna', 'woothemes' ),
|
||||
'DKK' => __( 'Danish Krone', 'woothemes' ),
|
||||
'HKD' => __( 'Hong Kong Dollar ($)', 'woothemes' ),
|
||||
'HUF' => __( 'Hungarian Forint', 'woothemes' ),
|
||||
'ILS' => __( 'Israeli Shekel', 'woothemes' ),
|
||||
'JPY' => __( 'Japanese Yen (¥)', 'woothemes' ),
|
||||
'MYR' => __( 'Malaysian Ringgits', 'woothemes' ),
|
||||
'MXN' => __( 'Mexican Peso ($)', 'woothemes' ),
|
||||
'NZD' => __( 'New Zealand Dollar ($)', 'woothemes' ),
|
||||
'NOK' => __( 'Norwegian Krone', 'woothemes' ),
|
||||
'PHP' => __( 'Philippine Pesos', 'woothemes' ),
|
||||
'PLN' => __( 'Polish Zloty', 'woothemes' ),
|
||||
'SGD' => __( 'Singapore Dollar ($)', 'woothemes' ),
|
||||
'SEK' => __( 'Swedish Krona', 'woothemes' ),
|
||||
'CHF' => __( 'Swiss Franc', 'woothemes' ),
|
||||
'TWD' => __( 'Taiwan New Dollars', 'woothemes' ),
|
||||
'THB' => __( 'Thai Baht', 'woothemes' ),
|
||||
'TRY' => __( 'Turkish Lira (TL)', 'woothemes' )
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => __( 'Currency Position', 'woothemes' ),
|
||||
'desc' => __( 'This controls the position of the currency symbol.', 'woothemes' ),
|
||||
|
|
Loading…
Reference in New Issue