开发者

Magento and outputting of User Agent in Transactional Emails

I am looking to output the "user agent" information of the client who placed an order through our Magento driven shopping cart.

I've figured o开发者_Go百科ut that {{var order.getRemoteIp()}} outputs the IP address of the client. I need a way to output the user-agent of the client, as well.

Is it even possible?

Many thanks.


Looking at the code for 1.5 (as you didn't specify a version), I would say it's not possible as they have no provision for storing that info on the order or quote. You could write and extension to help you with that, but as it stands it seems to be in the 'not possible' category.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜