Anonymous checkout is enabled but cart block always shows: "View your shopping cart." I've played with "Rebuild cart cache" and "Clear cart cache on every ajax call" checkboxes without any results.

I have reported in ubercart project issues page: http://drupal.org/node/377798
and they said it won't be fixed.
Also they gave me the link: http://www.ubercart.org/docs/user/9168/cart_block_now_safe_page_caching
In this link there is sentense: "If I'm not mistaken, a module like the AJAX Cart module should be able to add Javascript to the page that would display the dynamic cart block for those interested.".

Comments

erik seifert’s picture

erik seifert’s picture

Another way is to use http://drupal.org/project/cacheexclude for this path cart/ajax/update . Should be also work. Not tested.

erik seifert’s picture

Status: Active » Closed (fixed)
asak’s picture

@erikseifert - the solution in #2 seems to work fine!

I will test it out some more.. but it seems like a solution that should be publicly announced ;)

thanks!

erik seifert’s picture

That is a problem adressed to ubercart core. But you can override theming functions to get a result. My module won't fix this issue.

MakeOnlineShop’s picture

Hello,

Sorry to open this post but I tried to add

cart/ajax/update

to cache exclusion list on CACHE EXCLUDE module but still my ajax cart block in the menu is not updated when adding or removing products.

Thanks for more help.