Hikashop currency switcher

  • Posts: 1119
  • Thank you received: 114
6 years 2 months ago #296277

Hi,

I have been reading documentation regarding currency switcher but couldn't find how to display currency name instead of currency code. Is there a way to do it?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
6 years 2 months ago #296307

Hi,

You would have to change the line:

$this->values[] = JHTML::_('select.option', (int)$currency->currency_id, $currency->currency_symbol.' '.$currency->currency_code);
in the file administrator/components/com_hikashop/types/currency.php
However, a better solution would be to do a class override and change the code in the override.
For example:
www.informit.com/articles/article.aspx?p=1858258&seqNum=8
extensions.joomla.org/extension/class-overrider/

The following user(s) said Thank You: kyratn

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum