WordPress.org

Ready to get started?Download WordPress

Forums

WP Deals
How to add currency? (2 posts)

  1. takkarparvesh
    Member
    Posted 1 year ago #

    How to edit or add new currency?

    http://wordpress.org/extend/plugins/wp-deals/

  2. focusoft
    Member
    Posted 1 year ago #

    I think you must add or change in admin-settings.php:

    array(
    'name' => __( 'Currency', 'wpdeals' ),
    'desc' => __("This controls what currency prices are listed at in the deals and which currency gateways will take payments in.", 'wpdeals' ),
    'tip' => '',
    'id' => 'wpdeals_currency',
    'css' => 'min-width:300px;',
    'std' => 'GBP',
    'type' => 'select',
    'class' => 'chosen_select',
    'options' => array_unique(apply_filters('wpdeals_currencies', array(
    'USD' => __( 'US Dollars ($)', 'wpdeals' ),
    'EUR' => __( 'Euros (€)', 'wpdeals' ),
    'GBP' => __( 'Pounds Sterling (£)', 'wpdeals' ),
    'AUD' => __( 'Australian Dollars ($)', 'wpdeals' ),
    'BRL' => __( 'Brazilian Real ($)', 'wpdeals' ),
    'CAD' => __( 'Canadian Dollars ($)', 'wpdeals' ),
    'CZK' => __( 'Czech Koruna (Kč)', 'wpdeals' ),
    'DKK' => __( 'Danish Krone', 'wpdeals' ),
    'HKD' => __( 'Hong Kong Dollar ($)', 'wpdeals' ),
    'HUF' => __( 'Hungarian Forint', 'wpdeals' ),
    'IDR' => __( 'Indonesia (IDR)', 'wpdeals' ),
    'ILS' => __( 'Israeli Shekel', 'wpdeals' ),
    'JPY' => __( 'Japanese Yen (¥)', 'wpdeals' ),
    'MYR' => __( 'Malaysian Ringgits', 'wpdeals' ),
    'MXN' => __( 'Mexican Peso ($)', 'wpdeals' ),
    'NZD' => __( 'New Zealand Dollar ($)', 'wpdeals' ),
    'NOK' => __( 'Norwegian Krone', 'wpdeals' ),
    'PHP' => __( 'Philippine Pesos', 'wpdeals' ),
    'PLN' => __( 'Polish Zloty', 'wpdeals' ),
    'SGD' => __( 'Singapore Dollar ($)', 'wpdeals' ),
    'SEK' => __( 'Swedish Krona', 'wpdeals' ),
    'CHF' => __( 'Swiss Franc', 'wpdeals' ),
    'TWD' => __( 'Taiwan New Dollars', 'wpdeals' ),
    'THB' => __( 'Thai Baht', 'wpdeals' ),
    'TRY' => __( 'Turkish Lira (TL)', 'wpdeals' ),
    'ZAR' => __( 'South African rand (R)', 'wpdeals' ),

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic