This discussion is archived
0 Replies Latest reply: Nov 8, 2012 9:21 PM by Jagadeesh.P.B RSS

ATG Site integration : Locale changing with atgsvcs.js works?

Jagadeesh.P.B Newbie
Currently Being Moderated
As per https://recmanager.atg.com/api/renderer/localization.html, passing *<dt>locale</dt><dd>UK</dd>* inside *<dl class="cs-cfg" style="display: none">* should change the currency symbol.
It internally is supposed to trigger the register method which sets the unicode symbol to this.CUR_SYM.
But I can't get it working, it always returns $ based price.
When I checked the js its 80% obfuscated. But the area where the price string is formed, I could see the CUR_SYM is hardcoded to $.

The script used is
     <script type="text/javascript" charset="utf-8"
          src="//static.atgsvcs.com/js/atgsvcs.js"></script>

Has anybody got this working? May be I'm missing something in the implementation

Edited by: 970393 on Nov 8, 2012 9:21 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points