I have a shop set up selling downloadable files. I do not request a billing and shipping address. Also, I have free products that can lead to an order with a total amount of zero. All three seem to result in a PHP notice:

Notice: Undefined index: customer_billing in include() (line 39 of /var/www/themeshop/profiles/commerce_kickstart/modules/commerce_invoice_receipt/theme/commerce-order-invoice-view.tpl.php).
Notice: Undefined index: customer_shipping in include() (line 48 of /var/www/themeshop/profiles/commerce_kickstart/modules/commerce_invoice_receipt/theme/commerce-order-invoice-view.tpl.php).
Notice: Undefined index: line_items in include() (line 63 of /var/www/themeshop/profiles/commerce_kickstart/modules/commerce_invoice_receipt/theme/commerce-order-invoice-view.tpl.php).
Notice: Undefined index: order_total in include() (line 66 of /var/www/themeshop/profiles/commerce_kickstart/modules/commerce_invoice_receipt/theme/commerce-order-invoice-view.tpl.php).

Comments

Daglees’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)