Jump to content

 

user2008

Member Since 17 Jan 2008
Offline Last Active Nov 14 2020 06:26 AM
-----

Topics I've Started

Smarty Math ?

02 January 2020 - 11:40 AM

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}