Difference between revisions of "Hide Shipping Estimates - AC Gold"

From AbleCommerce Wiki
Jump to: navigation, search
(New page: 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 ...)
 
 
Line 29: Line 29:
  
  
 +
[[Category:AbleCommerce Gold]]
 
[[Category:Store Customization]]
 
[[Category:Store Customization]]

Latest revision as of 11:30, 15 August 2013

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.