How to Make Currency Selection Working Properly in BankWire Module of PrestaShop

Today I realized that when I switched the currency from the current one to another in BankWire module of PrestaShop, then the value of the money in the new currency did not converted properly. For instant, the current one is $ 20, so I switch it to IDR, then the money become Rp 20 instead of Rp 183,061. So here is a small modification I made in order to fix this problem. Please note that this modification applied only for the bankwire module that implement the following old code.

Open your /modules/bankwire/payment_execution.tpl file, and find this code:

37
		<select id="currency_payement" name="currency_payement" onChange="showElemFromSelect('currency_payement', 'amount_')">

then replace with this following code:

37
		<select id="currency_payement" name="currency_payement" onChange="setCurrency(this.value)">

Warning: Do not apply this change if the old code you have differs from the old one above!

Share

880 viewsPrint This Post Print This Post

Speak Your Mind

*


*