Hello,
I am using J 3.10.6 & VM 3.8.8, does anyone have an idea how to get rid of the currency symbol in the currency selector module?
Thanks in advance!
It's CONCAT in the model query
administrator\components\com_virtuemart\models\currency.php -> function getVendorAcceptedCurrrenciesList($vendorId = 0)
$q = 'SELECT `virtuemart_currency_id`,CONCAT_WS(" ",`currency_name`,`currency_symbol`) as currency_txt
FROM `#__virtuemart_currencies` WHERE `virtuemart_currency_id` IN ('.$vendor_currency['vendor_accepted_currencies'].')';
so either use your own query in the module, core change the query, or use php to remove the last char from the resulting string in a loop or as it's simply display use JS to remove the last char ( might work on a select with Jquery)
Hello,
thank you for your help!