Thursday 18 June 2009 1:37:15 pm
Thanks, First I had problems with the basket, When I added a product to the basket, the basket page did not updated the new product until I cleared the cache in the admin site. I have two pagelayouts one for the products only and the other for other pages of the site (Includes the basket page). So I commented {*cache-block keys=array( $uri_string, $basket_is_empty, $user_id )*} for the NON-products pagelayout, and the basket updated as it should, but the access is quite slow. The reason why I commented the
{cache-block keys=array( $uri_string, $basket_is_empty, $user_id )}
is that I really did not know why the basket was not updating my products at all, So I assume it had to do with some kind of cache, and as the only cache is at the pagelayout I gave it a try. It works but maybe I am doing something wrong. thanks for your help. Just saw http://ez.no/developer/forum/developer/cache_block_and_dynamic_pages/re_cache_block_and_dynamic_pages Do not kow if this couls help, but it seems a workaround justa the same as my solution commenting the:
{cache-block keys=array( $uri_string, $basket_is_empty, $user_id )}
Of course catching other pages if the basket is not involved.
Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com
|