I use flat rate shipping and do not need the state, zipcode or country to estimate shipping. Consequently, I am trying to modify the shipping estimate on the BASK page such that the customer only has to click the 'Estimate Your Shipping' button to see their options. I am down to the following, but it involves clicking two buttons to get the estimate, the 'Estimate Your Shipping' and 'Calculate'. Any suggestions on how to modify for one button to estimate the shipping costs? Thanks, Bonnie
shipping-estimate.jpg
<mvt:if expr="g.Secure">
<mvt:assign name="g.formURL" value="g.secure_sessionurl" />
<mvt:else>
<mvt:assign name="g.formURL" value="g.sessionurl" />
</mvt:if>
<div class="shipping-estimator">
<a href="#" id="js-show-shipping-estimate" title="Estimate Your Shipping" class="button button-small button-small-font button-square bg-gray charcoal show-shipping-estimate">Estimate Your Shipping</a>
<div id="js-shipping-estimate-dialog" class="row shipping-estimate-dialog">
<form method="post" name="shipestimate_form" action="&mvt:global:formURL;" id="js-shipping-estimate-form" class="column whole">
<input type="hidden" name="Screen" value="SERT" />
<input type="hidden" name="Store_Code" value="&mvte:store:code;" />
<div id="js-shipping-estimate-fields">
<input type="hidden" name="ShipEstimate:ship_state_select" value="&mvte:global:ShipEstimate:ship_state_select " id="js-shipping-estimate-state-select" class="input-small-font" />
<input type="hidden" name="ShipEstimate:ship_state" value="&mvte:global:ShipEstimate:ship_state;" id="js-shipping-estimate-state" class="input-small-font" />
<input type="hidden" name="ShipEstimate:ship_zip" value="&mvte:global:ShipEstimate:ship_zip;" id="js-shipping-estimate-zip" class="input-small-font" />
<input type="hidden" name="ShipEstimate:ship_cntry" value="&mvte:global:ShipEstimate:ship_cntry" id="js-shipping-estimate-country" class="input-small-font" />
</div>
<div id="js-shipping-estimate-results" class="shipping-estimate-results"></div>
<div class="row">
<div class="column half align-center">
<input type="submit" value="Calculate" title="Calculate Shipping" id="js-shipping-estimate-calculate" />
</div>
</div>
</form>
</div>
<div>
shipping-estimate.jpg
<mvt:if expr="g.Secure">
<mvt:assign name="g.formURL" value="g.secure_sessionurl" />
<mvt:else>
<mvt:assign name="g.formURL" value="g.sessionurl" />
</mvt:if>
<div class="shipping-estimator">
<a href="#" id="js-show-shipping-estimate" title="Estimate Your Shipping" class="button button-small button-small-font button-square bg-gray charcoal show-shipping-estimate">Estimate Your Shipping</a>
<div id="js-shipping-estimate-dialog" class="row shipping-estimate-dialog">
<form method="post" name="shipestimate_form" action="&mvt:global:formURL;" id="js-shipping-estimate-form" class="column whole">
<input type="hidden" name="Screen" value="SERT" />
<input type="hidden" name="Store_Code" value="&mvte:store:code;" />
<div id="js-shipping-estimate-fields">
<input type="hidden" name="ShipEstimate:ship_state_select" value="&mvte:global:ShipEstimate:ship_state_select " id="js-shipping-estimate-state-select" class="input-small-font" />
<input type="hidden" name="ShipEstimate:ship_state" value="&mvte:global:ShipEstimate:ship_state;" id="js-shipping-estimate-state" class="input-small-font" />
<input type="hidden" name="ShipEstimate:ship_zip" value="&mvte:global:ShipEstimate:ship_zip;" id="js-shipping-estimate-zip" class="input-small-font" />
<input type="hidden" name="ShipEstimate:ship_cntry" value="&mvte:global:ShipEstimate:ship_cntry" id="js-shipping-estimate-country" class="input-small-font" />
</div>
<div id="js-shipping-estimate-results" class="shipping-estimate-results"></div>
<div class="row">
<div class="column half align-center">
<input type="submit" value="Calculate" title="Calculate Shipping" id="js-shipping-estimate-calculate" />
</div>
</div>
</form>
</div>
<div>
Comment