Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to: ML v7

Enabling the AJAX shipping calculator


Synopsis
The AJAX shipping estimator allows your customers to get an idea of what shipping could cost right on the product detail page.

Procedure
1 - Add the following line to the XML package you are using to display your products:

     <xsl:value-of select="aspdnsf:AjaxShippingEstimator(VariantID)" disable-output-escaping="yes"/>

2 - Add the following line to the template.ascx file for the skin you are using:

     <script type="text/javascript" src="jscripts/revAjax.js"></script>

3 - Add these new styles to your skin's style.css file:
     - AjaxShippingDiv
     - AjaxShippingCountryPrompt
     - AjaxShippingCountry
     - AjaxShippingCountrySingleValue
     - AjaxShippingCountrySelectList
     - AjaxShippingStatePrompt
     - AjaxShippingState
     - AjaxShippingStateSingleValue
     - AjaxShippingStateSelectList
     - AjaxShippingZipPrompt
     - AjaxShippingZip
     - AjaxShippingRatesList
     - AjaxShippingEstimatePrompt


NOTE:  The AJAX Shipping Estimator is an unsupported feature.  Any issues beyond these directions need to be directed to the ASPDNSF forums.