2 replies [Last post]
spydor@drupal.org's picture
Offline
Joined: 01/20/2008
Juice: 50
Was this information Helpful?

Can someone point me in the right direction?

I'm looking to offer the order invoice for the customer print on the "Order complete" screen. By default it just gives them

-------------------------
Order complete
Your order is complete!

Thank you for shopping at Very Boring Rally. While logged in, you may continue shopping or click here to view your current order status and order history.

Click to return to the front page.
-------------------------

The customer doesn't really have anything concrete to show that the order has been entered (i.e. an order number). Is there a way to show the invoice on this screen?

Thanks, Shane.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Offer invoice on Order complete screen

Hmm... this can be done by modifying those messages and using PHP to print out the invoice. I don't have code for it readily available, but I think I will take into account your suggestion to at least include the order number in the message.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Offer invoice on Order complete screen

I'm not sure how to gracefully put the printable invoice link in the checkout messages while they're still configurable. In the meantime I have modified the checkout message fields to use the normal tokens and also added the order number to the default "checkout completion message header". Check out on the Livetest to see it in action. (Also got rid of !site since that's handled by the token [store-name].)