I've been trying to move the currency symbol in front of the price in the attributes drop menu - the default position is after the price - where is the appropriate code so I can reposition the ($) sign before the price in the drop menu - I also want to remove the comma (,) as well.
» Quick.Cart v2.x
boffa
2008-04-03 06:58
Hi idaryl
You just move the currency symbol to before instead of after the price in the templates (tpl files).
An example: In products_list.tpl you change a part of the code on row 10 From <em>$lang[Price]:</em><span>$aList[sPrice]</span>$config[currency_symbol] To <em>$lang[Price]:</em>$config[currency_symbol] <span>$aList[sPrice]</span>
Now, make changes in the rest of the places you want the currency symbol to be placed before the price.
The comma, do you mean the numbers after the comma. If so do the following: in the file core/other.php Change the row return number_format( $fPrice, 2, ',', '.' ); to return number_format( $fPrice, 0, ',', '.' );
Or do you mean the comma to a dot, if so do the following: in the file core/other.php Change the same row return number_format( $fPrice, 2, ',', '.' ); to return number_format( $fPrice, 2, '.', ',' );
Have a nice day
Boffa
boffa
2008-04-03 07:16
Did I missunderstand you and what you where asking for was the drop down meny at checkout for the couriers?
If so, change the follwoing in the file templates/couriers_select.tpl $aList[sName] - $aList[sPrice] $config[currency_symbol] To $aList[sName] - $config[currency_symbol] $aList[sPrice]
I've already removed the currency symbols from the prices list, details, and other pages - but am having trouble with the drop menus in the basket (add to) see here - http://www.idaryl.com/Pic1.png - you can see where the currency symbol is after the price - I need it before - and I would like to remove the (,) comma after the selection item - befor the price.
You see now what I need - got it fixed just about everywhere else....