TIP: How to disable the shipping estimator

This forum is where we'll mirror posts that are of value to the community so they may be more easily found.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

TIP: How to disable the shipping estimator

Post by AbleMods » Tue Jan 29, 2008 7:06 pm

The Shipping Estimator appears automatically beneath the minibasket control 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 two minibasket user control files in the ~/ConLib/ folder. They will be minibasket.ascx and minibasket.ascx.cs.

Open the ~/ConLib/Minibasket.ascx file in your editor of choice. Look for this code towards the end of the file:

Code: Select all

<div id="miniBasketShippingEstimateBox">
							<div>
							  <uc1:BasketShippingEstimate ID="BasketShippingEstimate1" runat="server" />
							</div>
						</div>
Now change the uc1:Basket... line to look like this:

Code: Select all

  <uc1:BasketShippingEstimate ID="BasketShippingEstimate1" visible="false" runat="server" /> 
Save the file. Load your site and add something to your cart to verify the estimator no longer appears.

Note that the shipping estimator is also included in Basket Bar 1. But that's an easy one to fix - just remove the [[ConLib:]] line in the scriptlet.

Done!

NOTE: Edited 2/12/08
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: TIP: How to disable the shipping estimator

Post by Shopping Cart Admin » Wed Apr 16, 2008 1:23 pm

Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

jake.pretot
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 22
Joined: Fri Feb 20, 2009 1:31 am

Re: TIP: How to disable the shipping estimator

Post by jake.pretot » Wed Mar 11, 2009 12:15 am

This did not work for me. I had to hide the <div> with
style="display: none;"

Post Reply