This topic contains 4 replies, has 2 voices, and was last updated by Tom Tom 2 months, 3 weeks ago.

Set the text before dollar sign and set different currency on site?

  • Hello,

    I am Kenny, I have a question about how to add the text before the dollar sign, because we are Hong Kong online shop and Hong Kong dollar sign and US dollar also are “$”, So, can I set the text like HKD before the “$” (HKD$) ??

    And, Can I set the different currency on web? now just can show one currency. Because we have a base in Taiwan, we also want to show the New Taiwan dollars (NT$) on site.

    Thank you very much!!

    I Have an addition question want to ask about the shipping method and the “my account” -> “Lost your password?”

    1) For Shipping Method – falt rate,
    Can I setup the the formula to calculate the cost base on the weight or size of product?

    2) “my account” -> “Lost your password?”
    it is doesn’t work on our site. I click the “Lost your password?”, the site will back to the homepage.

    Thank you!!

    Tom

    Hi,

    1) For Shipping Method – falt rate:
    You could see: https://docs.woocommerce.com/document/flat-rate-shipping/

    2) “my account” -> “Lost your password?”
    This is hot fix for page Lost password:
    https://www.dropbox.com/s/kkxc3hx643ih7kw/LostPassword.zip?dl=0
    Unzip and override 2 files:
    /wp-content/themes/ace/page-my-account.php
    /wp-content/themes/ace/includes/login-register-form.php

    3) Modify currency symbol:
    Add code to file: /wp-content/themes/ace/includes/woo-functions.php

    add_filter( 'woocommerce_currency_symbol', 'custom_currency_symbol');
    function custom_currency_symbol($currency_symbol) {
    return 'HKD' . $currency_symbol;
    }

    Best regards,
    Tom

    Hi Tom,

    Thank you very much for your help.

    ABout the question of “my account” -> “Lost your password?”

    We have unzip and override the 2 file. Then we try to click the “Lost your password” and it will automatic to a page and need us to input the email address to box. And, we can received the email “Password reset instructions”. However, we have cleick the link in email, it just send us to the homepage of website.

    Best regards,
    Kenny

    Tom
    This reply has been marked as private.

You must be logged in to reply to this topic.