Kryptronic Software Support Forum

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.

#1 05-31-2012 14:26:11

LadyHLG
Member
Registered: 11-30-2010
Posts: 46

Order Summary Display Include

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

 

#2 05-31-2012 15:26:44

dh783
Moderator
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Order Summary Display Include

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

 

#3 05-31-2012 16:13:15

LadyHLG
Member
Registered: 11-30-2010
Posts: 46

Re: Order Summary Display Include

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

 

#4 05-31-2012 18:30:29

dh783
Moderator
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Order Summary Display Include

Sorry I guess I was wrong, I know that the namespace I gave you start the process.

John

Offline

 

#5 08-15-2012 16:37:34

LadyHLG
Member
Registered: 11-30-2010
Posts: 46

Re: Order Summary Display Include

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

 

#6 04-29-2014 15:01:49

Iceit88
Member
From: Erie, PA
Registered: 11-19-2003
Posts: 535
Website

Re: Order Summary Display Include

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.


Bryan

Hat Trick Sports, LLC


Offline

 

#7 05-06-2014 13:53:39

LadyHLG
Member
Registered: 11-30-2010
Posts: 46

Re: Order Summary Display Include

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

 

Board footer