Originally posted by Bruce - PhosphorMedia
View Post
Announcement
Collapse
No announcement yet.
Detect User Agent
Collapse
X
-
FWIW - in the site I found this, all they are doing is "collecting" the data. It's displayed in the Order Additional Order Information. The custom field field was not active on the INVC.
-
Looks like its using a completely seperate custom order field. so you need to make sure to activate that field in the INVC Order Contents template and evaluate the custom field variable in the same template.
Leave a comment:
-
So I was thinking I had seen this somewhere in one of the Template Pages and I found this at the beginning of the INVC Page Details Template
I "think" this just inserts this info into the Additional Order Information in the field for the Order. I'm now going to hope I can get this into the Merchant Notification Email.Code:<mvt:if expr="l.settings:page:code CIN 'INVC'"> <mvt:item name="customfields" param="Write_Order(l.settings:order:id, 'order_ua', s.http_user_agent)" /> </mvt:if>
Leave a comment:
-
I think you can use the variable s.user_agent to get that.
FYI, there's a list of system variables at:
http://www.mivascript.com/topic/system-variables.html .
Leave a comment:
-
Detect User Agent
Is there a way to capture the User Agent and include it in the Merchant Order Confirmation?Tags: None
Leave a comment: