Print / Display invoice_id

Hello All,



In this post, Zeke talk about Invoice ID:


[quote name=‘zeke’]

4. Order statuses settings. New option will be added to each status: “Invoice/Credit memo” with the following variants:

# default: “print invoice/print invoice pdf” buttons will be displayed on order details page "invoice ID/credit memo ID won’t be generated.

# invoice: “print invoice/print invoice pdf” buttons will be displayed on order details page. Also invoice ID will be generated and displayed near order ID field in all templates.[/QUOTE]

Source: [url]http://forum.cs-cart.com/showthread.php?p=77811#post77811[/url]



Sorry, I don’t understand how to display this “Invoice ID” on Customer Bill when “order status” is “complete”:



[COLOR=“Blue”]MyDomain.com/index.php?dispatch=orders.print_invoice&order_id=3[/COLOR]



Same in PDF format:



[COLOR=“#0000ff”]MyDomain.com/index.php?dispatch=orders.print_invoice&order_id=3&format=pdf[/COLOR]



“order_id” is displayed in “/mail/orders/invoice.tpl” like that:


{$lang.order} #{$order_info.order_id}



{$order_info.invoice_id} doesn’t work.



So, how get “Invoice_ID”?



Thank you,





Lee Li Pop