문제

Can you tell me how to know what exists in the varaible $order_detail in invoice.tpl ?

Like $order_detail.product_name or $order_detail.unit_price_tax_excl.

I try to get the product's short description and the ecotax tax incl., if possible, but I do not know how...

도움이 되었습니까?

해결책

You can display the contents of $order_detail with {$order_detail|@print_r}.

It doesn't contain the short description. You have to override the PdfInvoiceController class in controllers/front/PdfInvoiceController.php to get it.

Ecotax is available in {$order_detail.ecotax}.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top