I have a shipping address profile for my orders; however, it doesn't show on the template. The spot for shipping shows, but nothing is there.

Comments

BernieCram’s picture

hey jsimonis,

Have a look first at the most basic. Go to admin/commerce/config/order/display/invoice and make sure that shipping information is not in fact hidden.

Hopefully, this is all it is.

B

jsimonis’s picture

Yes! I was hoping it was just something simple that I was missing. Thank you so much!

jsimonis’s picture

Shucks. It was hidden and I turned it so it is visible, but when I look at the invoice, it still doesn't show.

When I go to the print invoice page, it isn't there and that is what the people who do the shipping will use (a page like /admin/commerce/orders/32/view/print). It does show now on the view of the order (/admin/commerce/orders/32), just not on the invoice.

Checked the log and this is what it shows:

Notice: Undefined index: shipping in include() (line 54 of /home/devtgci/public_html/sites/all/modules/commerce_invoice_receipt/theme/commerce-order-invoice-view.tpl.php).

So it appears that maybe the call to the shipping address in the template is incorrect?

jsimonis’s picture

Status: Active » Closed (works as designed)

I got it working - somehow it got changed from customer_shipping to just shipping. Fixed that and it works now. Thanks!

BernieCram’s picture

jsimonis, well done! I'll raise my glass to you on Friday night.

Cheers
B

jsimonis’s picture

Thanks! Always feels good to find the problem and get it fixed. :)