VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ferdzpalaspas on November 26, 2012, 15:46:50 PM

Title: Currency Module
Post by: ferdzpalaspas on November 26, 2012, 15:46:50 PM
Hi,

how to remove the dollar word and the dollar sign in Currency Module?

Please check the attached file.. (i edit the layout thru css)

tnx in advance!  :)

[attachment cleanup by admin]
Title: Re: Currency Module
Post by: bytelord on November 27, 2012, 01:17:07 AM
any live url?
Title: Re: Currency Module
Post by: ferdzpalaspas on November 27, 2012, 01:25:59 AM
hi bytelord,

you can check in this link: http://174.132.162.253/~ferdz/una-rosa.com/
Title: Re: Currency Module
Post by: bytelord on November 27, 2012, 01:54:48 AM
Hello,

A fast way to do it with a little hack is by editing the module under joomla_folder\modules\mod_virtuemart_currencies\mod_virtuemart_currencies.php

around line 49:

$q = 'SELECT `virtuemart_currency_id`,CONCAT_WS(" ",`currency_name`,`currency_symbol`) as currency_txt

change it to:

$q = 'SELECT `virtuemart_currency_id`,CONCAT_WS(" ",`currency_name`) as currency_txt

This will remove the currency symbols from currencies modules drop down

Regards
Title: Re: Currency Module
Post by: ferdzpalaspas on November 27, 2012, 02:12:26 AM
hi,

thank you for your help..

but the word "dollar", "peso", and "euro" are still there,how can i remove that?

i just want to let the country name stay..

Title: Re: Currency Module
Post by: bytelord on November 27, 2012, 02:21:53 AM
Hello,

You could edit your currency names under Configuration -> Currencies and name them as you wish...
you could also remove from there the symbol but then you will not be able to show it to prices ... so just change the name of the currency.

Regards