Results 1 to 3 of 3

Thread: Add Custom Currency into Currency Dropdown

  1. #1
    Thread Starter
    alexaung's Avatar
    Join Date
    Jul 2013
    Location
    Singapore
    Posts
    78
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Add Custom Currency into Currency Dropdown

    Hi,

    I am not using any payment gateway at the moment. My local currency is not in list.

    So I try to add my local currency in child themes, then my site is not loaded.

    Here is my code in function.php in child theme.

    Code:
    <?php
    add_action( 'init', 'myplugin_add_currency' );
    function myplugin_add_currency(){
    
        // Give your currency a name and symbol
        $args = array(
           'name' =>; 'Myanmar Kyat',
           'symbol' =>; 'K'
        );
        // The first argument is the currency code. Usually a 3 letter code. ( United States Dollars  = USD )
        APP_Currencies::add_currency( 'APP', $args );
    
    }

  2. #2
    Thread Starter
    alexaung's Avatar
    Join Date
    Jul 2013
    Location
    Singapore
    Posts
    78
    Thanks
    9
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    fcoetsee's Avatar
    Join Date
    Jul 2014
    Location
    South Africa
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trying to add Currency - ZAR

    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to make a custom currency ,my Currency is not in list
    By colombomarket in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: September 4th, 2016, 12:27 PM
  2. Jomark Custom Currency
    By okavango in forum JobRoller General Discussion
    Replies: 2
    Last Post: May 29th, 2013, 04:27 PM
  3. Replies: 5
    Last Post: August 5th, 2011, 12:32 AM