PDA

View Full Version : Passing completed order info to a custom page


RMWAnnie
02-14-07, 11:58 PM
I am trying to to construct a custom "printer friendly" invoice page that is linked from the regular invoice page when a customer completes the order. I can call the custom page and it uses the correct session id, etc, but none of the order info is passed. All the necessary items are checked (order_customer, order_contents, etc). I've even copied and pasted the exact invoice code onto the custom page (thinking I'd redesign from there) and still the customer's order info is not passed (although labels, fonts, etc. are).


The link I'm using to call the custom page is

<a href="&mvt:global:secure_sessionurl;Screen=PrintInv&Store_Code=&mvt:global:Store_Code;" target="_blank">
Printer Friendly Invoice</a>


Obviously, I'm missing something. It doesn't seem like this should be that difficult.

Vic - WolfPaw Computers
02-15-07, 01:21 AM
Why do it the hard way like that? Create a CSS style for printing instead.

Once the customer is taken to the INVC screen, the session is cleared, so unless you are doing direct database calls to retrieve the info from the databases, most of it you will no longer have access to.

RMWAnnie
02-15-07, 01:49 AM
Well, duhhhh! I've spent the last two days doing work on my v4 site and I guess I'm still in a v4 mindset.

Thanks, Vic, for waking me up!