Turn off block caching for Cart Status Block?

Hey Guys,

We’ve recently updated one of our cscart websites, which is using a ‘cart status’ block, derived from the mini-cart that normally appears in the header.

the blocks code is rather simple;

```php {* $Id: my_cart.tpl 10109 2010-07-19 11:58:58Z klerik $ }

* block-description:my_cart *}

{assign var=“escaped_current_url” value=$config.current_url|escape:url}

{include file=“views/checkout/components/cart_status.tpl”} ```

Pulls up the cart_status template into a block. This work great normally, but since doing the update, we’ve found when someone quickly changes quantities, or purchases, the items listed in the block go out of whack, not refreshing correctly on new pages.

As soon as we changed the config to stop block caching, the problem has stopped, so this seem to be the issue. My question, is there anywhere i can set this block in particular to stop caching?

While having block caching turned off works for now, the speed reduction is noticeable, so it would be nice to turn it back on again, but still have this block behaving correctly.

Just FYI - the cart_status template we are using is a considerably cut down version;

```php {
$Id: cart_status.tpl 11903 2011-02-24 09:18:16Z aelita $ *}

{hook name=“checkout:minicart”}

{if $smarty.session.cart.amount}

You have {if $smarty.session.cart.amount > 1}{$smarty.session.cart.amount} items{else}1 item{/if} in your cart.

{$lang.subtotal}: {include file="common_templates/price.tpl" value=$smarty.session.cart.display_subtotal}

{include file="buttons/button.tpl" but_text="`$lang.checkout`" but_href="checkout.checkout`$fn_url`" but_role="action"}


You have no items in your cart


{/hook} ```

this template cleans out all the pop-up stuff, and makes it a simple number of items, and subtotal, which links to the detailed page. I don't think this has any affect, but it's here just incase, :)

Thanks for any help,

I am also trying to get this problem fixed EnvyUs.

I really wish CS-Cart would provide a 'Mini cart' block filling as moving the existing pop-up cart status to another location is just too restrictive.

I hope with each new version that this is included and have posted it on the 'ideas' forum but it seems like no one else but us seems to think it is a problem?