avantec Posted May 20, 2013 Share Posted May 20, 2013 (edited) Hi everybody, I am running on version 1.5.3.1 Is it a way how to show price without currency symbol in my prouct-list.tpl ? I dont want it by administration. I need to hide it only in prouct-list.tpl. I have this code to show price with currency symbol: {if !$priceDisplay}{convertPrice price=$product.price} I need to change it only on number, without currency. Thank you very much, I spend hours on that Edited May 21, 2013 by avantec (see edit history) Link to comment Share on other sites More sharing options...
avantec Posted May 21, 2013 Author Share Posted May 21, 2013 Well I found it :-) for those who need it also the change in code is: {if !$priceDisplay}{$product.price} and this will display only the number without currency symbol Link to comment Share on other sites More sharing options...
vekia Posted May 21, 2013 Share Posted May 21, 2013 hello, thanks for your solution but this probably shows not formated price, am i right? for example: {convertPrice price=$product.price} shows 50.99 $product.price shows 50.99999998 am I right? Link to comment Share on other sites More sharing options...
El Patron Posted November 14, 2014 Share Posted November 14, 2014 i need help with convertPrice function in tpl file. i am trying to convert wholesale price like this: {convertPrice price=$product.wholesale_price} It shows wholesale price for the default currency but did not convert when chenging currency. What is wrong here? please open new topic... you post has nothing close to what was originally asked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now