Hide Shipping Estimates - AC Gold

From AbleCommerce Wiki
Jump to: navigation, search

The Shipping Estimator appears automatically to the right in basket when items exist in the shopping cart. If you would prefer the estimator not to appear, it's very simple to do.

First make a backup copy of the files in the website root folder. They will be Basket.aspx and Basket.aspx.cs.

Open the Website/Basket.aspx file in your editor of choice. Look for this code towards the end of the file:

<uc2:BasketShippingEstimate ID="BasketShippingEstimate1" runat="server" />


Now change the uc1:Basket... line to look like this:

  <uc2:BasketShippingEstimate ID="BasketShippingEstimate1" visible="false" runat="server" />


Now open Website/Basket.aspx.cs file and locate following line of code:

  BasketShippingEstimate1.Visible = showShippingEstimate;


and update it to

  //BasketShippingEstimate1.Visible = showShippingEstimate;

Save the file. Load your site and add something to your cart to verify the estimator no longer appears.