Does anyone know of a way to always display the “estimated shipping” box - default configuration requires you to click on the “estimated shipping” link - but I would like it to just appear.
Thanks.
This is what I did:
I did this as much as I could with the hooks feature, but unfortunately about the only thing that worked was my style sheet. Oh well.
Add to your skins/your-skin/customer/styles.css
.estimation-popup-box {
margin:0 4px 0 0;
}
.estimation-popup-box p{
text-align:center;
}
.estimation-box {
background-color:#F8F8F8;
border:1px solid #DADADA;
margin:0;
padding:11px;
width:312px;
text-align:center;
}
Then in skins/your-skin/customer/views/checkout/components/shipping_estimation.tpl
Comment out or remove:
{if $location != "sidebox"}
{/if}
Then Change:
```php
Enter Promotional Code: Estimate Shipping Costs: Wow, Brandon!
To:
Then Change:
{include file="buttons/button.tpl" but_text=$lang.estimate but_name="dispatch[checkout.shipping_estimation]" but_role="text"}
To:
{include file="buttons/button.tpl" but_text=$lang.estimate but_name="dispatch[checkout.shipping_estimation]"}
Then in skins/your-skin/customer/views/checkout/components/cart_content.tpl
Before:
{include file="views/checkout/components/checkout_totals.tpl" location="cart"}
Add:
Then in skins/your-skin/customer/views/checkout/components/checkout totals.tpl
Move:
```php
{if $applied_promotions}
{include file="views/checkout/components/applied_promotions.tpl" location=$location}
{/if}
```
After:
```php
{if $location == "cart" && $cart.shipping_required == true && $settings.General.estimate_shipping_cost == "Y"}
{include file="views/checkout/components/shipping_estimation.tpl"}
{/if}
```
I think that might be it. If you follow my instructions and have problems either post back on here or pm me and I'll do my best to help.
By the way, a more correct answer to your question is to:
In skins/your-skin/customer/views/checkout/components/shipping_estimation.tpl
Comment out or remove:
```php
{if $location != "sidebox"}
{/if}
```
Then Change:
```php
To:
```php
I hope this helps,
Brandon
Thank you so much for taking the time to post those instructions.
I will post back when I test on my own setup.
Thanks again.