Tagged: core - currency symbol
-
AuthorPosts
-
Hello,
I have installed currency switcher for my website and as it’s known that Terawallet doesn’t support multi currency, but still when using the currency switcher the wallet currency symbol change with it.
I need to specify a currency for the wallet, so if the currency switcher switched the currency that doesn’t effect the wallet currency at all.
would you help me coding that?
You can use the attached code to specify wallet currency.
add_filter('woo_wallet_wc_price_args', 'woo_wallet_wc_price_args_callback'); if(!function_exists('woo_wallet_wc_price_args_callback')){ function woo_wallet_wc_price_args_callback($args){ $args['currency'] = 'USD'; return $args; } }
This reply has been marked as private.That didn’t solve the issue!! the currency symbol still changing.
*I have added the code to function.php
This reply has been marked as private.Please let us know which multi currency plugin you are using?
I’m using WOOCS multi currency plugin
Added to the previous issue that, If you choose USD as your store default currency and then your customer ordered wallet top up from user front end with 10$ then choose to pay via Indian rupee, your customer will pay 744 IR and if this order approved he will get 744 Dollar in his wallet.
since the data base of the balance is the store default currency I couldn’t thought other than of a code that executed only if the wallet top up item at checkout page to disable the multi currency plugin (WOOCS) and force the customer to pay with dollar (only in the checkout page and only if the purchased item is wallet top up), I will really appreciate your help with coding that too.
My best regards…
This reply has been marked as private.How do I completely remove the currency symbol from woo wallet? I want the value to appear plain without the symbol
-
AuthorPosts
- You must be logged in to reply to this topic.