SP Property: add a currency - Forum | JoomShaper
Staff replied Extensions

SP Property: add a currency

Asked by DL 5 years ago Last activity 5 years ago

In SP Property, how can I add currencies to the ones that are already there?

When I add/edit a property, it allows me to select currencies, but the Angola [AOA] currency is not there! I would like to add it.

4 replies

Ofi Khan Staff

Hello Duarte Lourenço

Please go to administrator/components/com_spproperty/models/fields/spcurrency.php and add new currency.

Best regards

Anne Staff

Hello there,

If you are interested to add a new currency to the SP Property Extension then no default way to add it, but there is a workaround you can try.

Here is how to change or add a new currency:

Go to the file location- \administrator\components\com_spproperty\models\fields\spcurrency.php
Please edit this as follows: Duplicate an item and change value and text.
https://prnt.sc/14oxm6y
Here is the output:
https://prnt.sc/14oxsqo

I hope this will help you.

-Regards

DL Asked this

What happens when the extension is updated? isn't the file going to be overwritten?

Ofi Khan Staff

Yes, it will be overwritten by then. So, save the file manually with you.

Log in to reply.