Announcement

Collapse
No announcement yet.

Detect User Agent

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lesliekirk
    replied
    Originally posted by Bruce - PhosphorMedia View Post
    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.
    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.

    Leave a comment:


  • Bruce - PhosphorMedia
    replied
    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:


  • lesliekirk
    replied
    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

    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>
    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.

    Leave a comment:


  • Kent Multer
    replied
    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:


  • lesliekirk
    started a topic Detect User Agent

    Detect User Agent

    Is there a way to capture the User Agent and include it in the Merchant Order Confirmation?
Working...
X