I must multiply the line below with 1.08
Sample
{include file=“common/price.tpl” value=$product.original_price|default:$product.base_price span_id=“old_price_$obj_prefix``$obj_id
” class=“ty-list-price-old ty-nowrap”}*1.08
is this possible ?
[quote name='webus' timestamp='1415274093' post='196246']
I must multiply the line below with 1.08
Sample
{include file=“common/price.tpl” value=$product.original_price|default:$product.base_price span_id=“old_price_$obj_prefix``$obj_id
” class=“ty-list-price-old ty-nowrap”}*1.08
is this possible ?
[/quote]
Please use this code:
{$display_price = $product.original_price|default:$product.base_price}
{$display_price = $display_price * 1.08}
{include file="common/price.tpl" value=$display_price span_id="old_price_`$obj_prefix``$obj_id`" class="ty-list-price-old ty-nowrap"}
[quote name='webus' timestamp='1415287391' post='196265']
thanks @eComLabs it worked
[/quote]
You are welcome!