3 replies [Last post]
Xano's picture
Offline
Joined: 07/29/2008
Juice: 41
Was this information Helpful?

I want my module to add comments to certain products listed on the invoice. I will need to know the order ID to know to which products to add those comments (not too many 'to's? Sticking out tongue ). Is this possible without hacking Ubercart?

Xano's picture
Offline
Joined: 07/29/2008
Juice: 41
Re: Add comments to products listed on invoice

Bump.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Add comments to products listed on invoice

If you just need this for the printed/e-mailed invoice, you can modify your invoice template. It receives the entire $order object, so you can use $order->order_id for the order ID.

Xano's picture
Offline
Joined: 07/29/2008
Juice: 41
Re: Re: Re: Add comments to products listed on invoice

I need this for any invoice, which also includes the one you can check through your profile.