Forums / Developer / Put attribute into variable / Comment40939
steve walker
Monday 06 December 2004 1:35:32 am
Hi there,
Having exactly the same problem as this thread, and it doesnt look like this was concluded.
I have a page where your looking at a product and I want to put the price value into a variable and display it in other places on the page with some mathematical adjustments.
I want to something on the lines of:
{let sprice=$attribute.content.price} price is {$sprice}{/let}
I'ved tried loads of different expressions to get 'let sprice=something_here' working but, but cant get the numerical value of the price without currency info to display...
Any ideas on this one?
Thanks, Steve.
http://www.oneworldmarket.co.uk