Jump to content

user2008's Content

There have been 1 items by user2008 (Search limited from 02-Oct 19)


Sort by                Order  

#323267 Smarty Math ?

Posted by user2008 on 02 January 2020 - 11:40 AM in Hints & Modifications

In summary.tpl

 

{$product.amount} x {include file="common/price.tpl" value=$product.display_price}

 

It shows text  for 2 pcs product   as  "  2 x 100 ".

 

But I need to show sub total  as  200

 

is it possible? multiply variables?

 

{$product.amount}   and

{include file="common/price.tpl" value=$product.display_price}

 

How to show multiplication?

 

edit:

 

solution :

{include file="common/price.tpl" value=$product.display_subtotal}