Magento Installation Guide

Important

The "AUTO DETECT PRICES" option must be selected in Step 1 (selected by default).

Step 3. Pasting the Installation String into your website.

Under 'Step 2. - Installation String', on the Dynamic Converter Settings page in the text box, you will see the Installation String for yoursite. That Installation String now needs to be added to your web site pages.

Login to the administration control for your website.

 

  1. Click on 'System->Configuration->General->Design
  2. In the Footer section
  3. Paste the Installation String into the end of the 'Miscellaneous HTML' textbox.
  4. Assuming you are still using jQuery in your template, paste this extra block of code just below the installation string for dynamic pricing updates on the product details and checkout pages.
    <script>
    
      // allow the prices in the product options to be converted
      jQuery('.product-custom-option').addClass('dcconvert');
    
      // to stop DC converting a page add a span tag with the id="#pageNoConvert" to the page contents
      if (jQuery('#pageNoConvert').length>0) { jQuery('.main-container').addClass('dcnoconvert'); }
    
      // allow ajax price updates to be converted after response from server.
      function dc_call_after_convert() {
        window.dc_call_after_convert = null;
        (function(){
             var oldcontent = '';
             setInterval(
                function() {
                   try {
                      var currentText = jQuery('.main-container').eq(0).text();
                      if (currentText != oldcontent ) {
                           if (window.dc_convert_now) {
                               dc_convert_now();
                               oldcontent = jQuery('.main-container').eq(0).text();
                           }
                      }
                   }catch(e){}
               },500);
        })();
      }
    </script>
      
  5. Click 'Save Config' at the top of the page.

 

Installation Complete.

;