You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I have noticed that the Order Summary that displays upon the order completion and the order summary that customers can pull up to review past orders both use the Order Summary (Order Confirmation) Display Include.
Is there any way to tell between them? ie - is there a way to check if the page is being called after order completion and when its being called from the customer's account to review a past order?
Thanks
LadyHLG
Offline
They would be called by different namespaces, completed order upon return form the processor should be called form namespace ecom.procgwresp, customer called order view from ecom.acctorders, printable order views from ecom.printinvoice.
John
Offline
Thanks for the reply!
Unfortunately, I'm still not sure what to check for, in all cases $this->globals('core.namespace') comes back with "ordersummary".
Offline
I am bumping this back up to see if someone can offer a suggestion on how to differentiate between a page call to the order summary at the end of an order and when the summary is called either via the customer account summary.
The order summary is where our Google analytics is tracking ecommerce information and the duel use of this page is throwing our analytics data off completely.
How can we restrict when the tracking code is shown if the script call is NOT and order completion?
Offline
Did you ever figure this out? I am also trying to run a script when the order is completed and this page is displayed, but I don't want it to run if the invoice is viewed by the customer from their account or if we look at it on the back end.
Offline
No I did not. I believe I moved the GA code over to the Third Party Affiliate Placeholder Display Include instead which is only called during the checkout.
Offline