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...
 
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: <source lang="html"> <select id="currencies" name="currencies">

   <option value="USD" selected="selected">USD</option>
   <option value="CAD">CAD</option>
   <option value="EUR">EUR</option>
   <option value="GBP">GBP</option>
   <option value="AUD">AUD</option>

</select> </source>

Add the javascript source file in General Settings -> HTML Inserts -> 5) -> http: <source lang="html"> <script src="http://efashioncentral.com/ar/js/curr/curr.js?2" type="text/javascript"></script> </source>

and

General Settings -> HTML Inserts -> 5) -> https: <source lang="html"> <script src="https://www.efcsecurecheckout.com/ar/js/curr/curr.js?2" type="text/javascript"></script> </source>