Results 1 to 4 of 4

Thread: Proposals currency defaulting to USD throughout the site

  1. #1
    Thread Starter
    Expired Customer homeworkcompleter's Avatar
    Join Date
    Oct 2016
    Posts
    15
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Proposals currency defaulting to USD throughout the site

    Hello,

    For some reason all proposals and average proposals are displayed in the default USD currency, and not the currency used by the employer and freelancer. For example, the users agree on a price in EUR, AUD, etc. yet the proposals are displayed in USD. I have not edited the any code. This is directly from HireBee 1.4.7. Can the development team fix this?



    I think I may have found the issue, this is the piece of code I have found in wp-content/themes/hirebee 1.4.7/includes/payments/utils/numbers.php on line 33 to 44:

    /**
    * Displays a formatted price. See appthemes_get_price
    *
    * @param int $price The numerical value to format
    * @param string $override_currency The currency the value is in (defaults to 'default_currency')
    * @return string The formatted price
    */
    function appthemes_display_price( $price, $override_currency = '', $override_format = '' ){

    echo appthemes_get_price( $price, $override_currency, $override_format );

    }



    This function is then used in wp-content/themes/hirebee 1.4.7/dashboard-projects-section-projects.php on line 98 and in other files:

    <span data-tooltip title="<?php esc_attr_e( 'Avg Proposals', APP_TD ); ?>" class="project-avg-bid"><i class="icon i-avg-proposals-alt"></i><?php echo appthemes_display_price( appthemes_get_post_avg_bid( get_the_ID() ) ); ?></span>



    Thank you for your time!

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. The Following User Says Thank You to jomarkosabel For This Useful Post:

    homeworkcompleter (May 9th, 2019)

  4. #3
    Thread Starter
    Expired Customer homeworkcompleter's Avatar
    Join Date
    Oct 2016
    Posts
    15
    Thanks
    8
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  6. The Following User Says Thank You to jomarkosabel For This Useful Post:

    homeworkcompleter (May 10th, 2019)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Ads defaulting to featured when containing an image?
    By spex in forum Help Using ClassiPress
    Replies: 2
    Last Post: November 22nd, 2018, 11:13 AM
  2. Samcy Drop down fields defaulting to First choice if set to Required
    By Fanatic in forum Report ClassiPress Bugs
    Replies: 17
    Last Post: June 13th, 2013, 11:27 AM
  3. googlemaps defaulting to Poland??
    By alinimmo in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 23rd, 2011, 01:31 AM
  4. Replies: 5
    Last Post: August 5th, 2011, 12:32 AM