Price in CAD - by teetalent - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Rose Tyler

  • Avatar: teetalent
    teetalent
    Participant
    July 3, 2016 at 22:02

    Hi.

    I have to sell in CAD, but the symbol of the Canadian Dollar on the website is just $, how can I change for C$ or CAD? Because we will sell for US too, so, they have to know about this difference.

    All the best.

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 4, 2016 at 07:22

    Hello,

    Please, read this article https://docs.woothemes.com/document/add-a-custom-currency-symbol/

    Regards,
    Rose Tyler.

    Avatar: teetalent
    teetalent
    Participant
    July 4, 2016 at 14:36

    I dont wanna create a new currency, I just want to change the symbol of Canadian Dollars.

    https://s32.postimg.org/a9oekxqjp/Screen_Shot_2016_07_04_at_9_33_36_AM.png

    As you can see, the symbol is $, so, a US Customer don’t no that I will charge in canadian dolla, its wrong.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 4, 2016 at 15:33

    Hello,

    Please, use this code

    add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
    function change_existing_currency_symbol( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'CAD': $currency_symbol = 'CAD'; break;
         }
         return $currency_symbol;
    }

    Regards,
    Rose Tyler.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Price in CAD’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.