Jump to content

Set subtotal on invoice.tpl product+shipment total without taxes


Recommended Posts

Hello guys, i made my layout invoice... trust me isn't easy at all for a noob, but when i'll do some money i'll buy m4 pdf extension cause i think that it's the best module for pdf...

anyways, i can't understand how i can put the subtotal ( product + shipment )

in the attached files you can see.

I'd like to have, at the end, just

 

Subtotal : 104.10

Taxes:   22.90

 

Total to pay :  127.00

 

what kind of variable i've to use?

 

Thanks for your support

 

 

 

 

post-826832-0-90296400-1420195267_thumb.jpg

Link to comment
Share on other sites

Hello guys, i made my layout invoice... trust me isn't easy at all for a noob, but when i'll do some money i'll buy m4 pdf extension cause i think that it's the best module for pdf...

Thanks affaridanoi.

 

 

Try something like (not tested):

{assign var="subtotal" value="`$order_invoice->total_products+$order_invoice->total_shipping_tax_excl`"}
{displayPrice currency=$order->id_currency price=$subtotal}
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...