Post by khaleejDev » Tue Aug 14, 2018 1:40 am

Hi Guys,
I am new to openCart and using the latest version.
I am developing a store with two languages but only one currency. Is there a way to translate the currency ?
The currency is Saudi Riyal with symbol in Arabic س.ر , but in English the symbol is SAR

I have been searching the forums for a while now with no luck :(

Appreciate your help :)



Tue Jul 10, 2018 12:37 am

Post by straightlight » Tue Aug 14, 2018 8:36 am

Code: Select all

$this->currency->format($this->currency->convert($currency, 'ISO_CODE_3', $this->config->get('config_currency'), $this->config->get('config_currency'));
where: $currency would be the amount currency and the ISO_CODE_3 would be the ISO Code 3 of the country you wish to convert from. The $this->config->get('config_currency') is the ISO Code 3 of the current country store setting the guest / customer is traveling into.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by daniGo » Tue Aug 14, 2018 3:43 pm

Is there a way to translate the currency ?
No, there is no way to that. Opencart doesn't have multilingual currency. You can try to search in marketplace for some extension.

Active Member


Wed Mar 20, 2013 4:49 pm
Location - Slovenia
Who is online

Users browsing this forum: thekrotek and 25 guests