This article applies to: ML v7

Displaying the AJAX Shipping Estimator on Product Detail Pages


The AJAX shipping estimator allows your customers to get an idea of how much shipping would cost right on the product detail page.

To enable the AJAX Shipping Estimator:

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
-AjaxShippingCountry Prompt
-AjaxShippingCountry
-AjaxShippingCountrySingleValue
-AjaxShippingCountrySelectList
-AjaxShippingState Prompt
-AjaxShippingState
-AjaxShippingStateSingleValue
-AjaxShippingStateSelectList
-AjaxShippingZip Prompt
-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.