Change currency to Taiwanese dollar
Hi,
I'd like to know how to change currency to Taiwanese dollar. We do not have decimal point. Thanks!
CJ
Hi,
I'd like to know how to change currency to Taiwanese dollar. We do not have decimal point. Thanks!
CJ
you will need to edit the wa_settings table in the power store database using PHPMyAdmin or another MySQL GUI Tool
you will need to edit the record where the name column is "currency" and change the options column from:
Canadian Dollar ($):CAD;U.S. Dollar ($):USD;Euro (&euro):EUR; Great Britain Pound (£):GBP; Australian Dollar($):AUD
to:
Canadian Dollar ($):CAD;U.S. Dollar ($):USD;Euro (&euro):EUR; Great Britain Pound (£):GBP; Australian Dollar($):AUD; Taiwanese Dollar (NT$):TWD
to remove the decoimal from the cart display, edit the WA_eCart/WA_Store_Cart_PHP.php file, change the following line:
$WA_Store_Cart = new WA_Store_Cart_Definition("WA_Store_Cart", 0, "".($WAGLOBAL_CurrencySymbol) ."", "", true, 2, 0, "oz", true, 2, 0, 0);
to:
$WA_Store_Cart = new WA_Store_Cart_Definition("WA_Store_Cart", 0, "".($WAGLOBAL_CurrencySymbol) ."", "", false, 0, 0, "oz", true, 2, 0, 0);
to remove the decimals from the other pages in the site will be a bit more tricky, you will need to find each instance of the number_format function, and change the second perameter from 2 to 0, for example:
number_format($row_WADAProducts["ProductRetailPrice"], 2)
would become:
number_format($row_WADAProducts["ProductRetailPrice"], 0)
if you need assistance making this change, we can help you in a premiere ticket appointment.
Hi Jason,
It works on check out pages but not on product_detail and product_results.php
and on store manage side there is no choice of TWD
Need more help
Taiwanese dolor wont be a choice on those pages, it will use "NT$" as the currency symbol on those pages if you set the currency in the admin section to use Taiwanese Dollar.
power store does not support choosing the currency to use by the shopper, you as the admin select the store currency that will be used in the store admin section.
could you explain more, where can I set the currency in the admin section? thank you!
In the admin panel, go to Payment Gateway settings -> Currency to select the currency that should be used.
right, but there is no choice of NT$
there will be if you follow the first step of my initial response:
edit the wa_settings table in the power store database using PHPMyAdmin or another MySQL GUI Tool
you will need to edit the record where the name column is "currency" and change the options column from:
Canadian Dollar ($):CAD;U.S. Dollar ($):USD;Euro (&euro):EUR; Great Britain Pound (£):GBP; Australian Dollar($):AUD
to:
Canadian Dollar ($):CAD;U.S. Dollar ($):USD;Euro (&euro):EUR; Great Britain Pound (£):GBP; Australian Dollar($):AUD; Taiwanese Dollar (NT$):TWD
in reality, this is not a support feature, if you need assistance with getting it to work, we can assist you in a premiere support appointment.
okay, now I fix from PHPMyAdmin side and set currency to NT$ but the decimals still there...
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.