Difference between revisions of "Hide Shipping Estimates"

From AbleCommerce Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
he 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.
+
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.
 
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.
Line 5: Line 5:
 
Open the ~/ConLib/Minibasket.ascx file in your editor of choice. Look for this code towards the end of the file:
 
Open the ~/ConLib/Minibasket.ascx file in your editor of choice. Look for this code towards the end of the file:
 
<code><pre>
 
<code><pre>
Code:
 
 
<div id="miniBasketShippingEstimateBox">
 
<div id="miniBasketShippingEstimateBox">
 
   <div>
 
   <div>
Line 16: Line 15:
 
Now change the uc1:Basket... line to look like this:
 
Now change the uc1:Basket... line to look like this:
 
<code><pre>
 
<code><pre>
Code:
 
 
   <uc1:BasketShippingEstimate ID="BasketShippingEstimate1" visible="false" runat="server" />
 
   <uc1:BasketShippingEstimate ID="BasketShippingEstimate1" visible="false" runat="server" />
 
</pre></code>
 
</pre></code>
Line 24: Line 22:
 
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.
 
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.
  
Last Edited 2/12/08
 
  
Thanks to:
+
== References ==
 +
Original text by Joe Payne of Solunar Services LLC
  
Joe Payne
+
[[Category:Store Customization]]
Solunar Services LLC
+
http://www.Solunar.com
+

Latest revision as of 00:50, 16 April 2008

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:

<div id="miniBasketShippingEstimateBox">
   <div>
      <uc1:BasketShippingEstimate ID="BasketShippingEstimate1" runat="server" />
   </div>
</div>


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

  <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.


References

Original text by Joe Payne of Solunar Services LLC