Joomla 3.7.2
VM 3.2.2
Problem:
Can not split currency value and currency symbol via CSS
Problem description:
Now we have in VM price format, e.g.:
<span class="PricesalesPrice">10 $</span>
In some cases, different css-styles are required for "10" and "$".
We can go in: VM -> Shop -> Currencies -> [Our currency] -> Currency Symbol and set, e.g.:
<i>$</i>
This will work.
But field Currency Symbol has varchar( 8 ) size in database. If our Ńurrency symbol has more than two characters, we can not apply this trick. In this case, we have to increase the size of the field in the database and create a hack.
If possible, please, increase the value of this field in the database by default at least twice.
You can change the format of the currency display in the currency admin page of Virtuemart
Configuration>currencies>your currency
Adjust the positive and negative display formats
for positive
{number} <i>{symbol}</i>
for negative
{sign}{number} <i>{symbol}</i>
An example is shown on the configuration page as well
AH,
I did not guess to use these fields for html. It really works! Many thanks for the tip!
You are welcom - thanks for the update