Adding Currency Conversion

From eStyleCentral Help
(Difference between revisions)
Jump to: navigation, search
(New page: Category:Developers ==Add Currency Conversion to an eSC Web Site== Price can be displayed in various currencies by installing the following code snippets: Add the currency selector...)
(Add Currency Conversion to an eSC Web Site)
Line 7: Line 7:
Add the currency selector menu where desiered:
Add the currency selector menu where desiered:
-
<code>
+
<source lang="html">
<select id="currencies" name="currencies">
<select id="currencies" name="currencies">
     <option value="USD" selected="selected">USD</option>
     <option value="USD" selected="selected">USD</option>
Line 15: Line 15:
     <option value="AUD">AUD</option>
     <option value="AUD">AUD</option>
</select>
</select>
-
</code>
+
</source>
Add the javascript source file in General Settings -> HTML Inserts -> 5) -> http:
Add the javascript source file in General Settings -> HTML Inserts -> 5) -> http:
-
<code>
+
<source lang="html">
<script src="http://efashioncentral.com/ar/js/curr/curr.js?2" type="text/javascript"></script>
<script src="http://efashioncentral.com/ar/js/curr/curr.js?2" type="text/javascript"></script>
-
</code>
+
</source>
and  
and  
General Settings -> HTML Inserts -> 5) -> https:
General Settings -> HTML Inserts -> 5) -> https:
-
<code>
+
<source lang="html">
<script src="https://www.efcsecurecheckout.com/ar/js/curr/curr.js?2" type="text/javascript"></script>
<script src="https://www.efcsecurecheckout.com/ar/js/curr/curr.js?2" type="text/javascript"></script>
-
</code>
+
</source>

Revision as of 19:09, 25 September 2013


Add Currency Conversion to an eSC Web Site

Price can be displayed in various currencies by installing the following code snippets:


Add the currency selector menu where desiered:


GeSHi Error: GeSHi could not find the language html (using path /home/efc/public/wiki/extensions/SyntaxHighlight_GeSHi/geshi/geshi/) (code 2)

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, basic4gl, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, email, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, lotusformulas, lotusscript, lua, m68k, make, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle11, oracle8, pascal, per, perl, php, php-brief, pic16, plsql, povray, powershell, progress, prolog, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80

Add the javascript source file in General Settings -> HTML Inserts -> 5) -> http:


GeSHi Error: GeSHi could not find the language html (using path /home/efc/public/wiki/extensions/SyntaxHighlight_GeSHi/geshi/geshi/) (code 2)

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, basic4gl, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, email, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, lotusformulas, lotusscript, lua, m68k, make, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle11, oracle8, pascal, per, perl, php, php-brief, pic16, plsql, povray, powershell, progress, prolog, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80

and

General Settings -> HTML Inserts -> 5) -> https:


GeSHi Error: GeSHi could not find the language html (using path /home/efc/public/wiki/extensions/SyntaxHighlight_GeSHi/geshi/geshi/) (code 2)

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, basic4gl, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, email, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, lotusformulas, lotusscript, lua, m68k, make, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle11, oracle8, pascal, per, perl, php, php-brief, pic16, plsql, povray, powershell, progress, prolog, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, visualfoxpro, winbatch, xml, xorg_conf, xpp, z80

Personal tools