Closed (fixed)
Project:
Ubercart AJAX Cart
Version:
6.x-1.0-rc8
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2009 at 15:48 UTC
Updated:
22 Oct 2011 at 11:19 UTC
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
Comment #1
erik seifert commentedPlease see: http://drupal.org/node/377798
Comment #2
erik seifert commentedAnother way is to use http://drupal.org/project/cacheexclude for this path cart/ajax/update . Should be also work. Not tested.
Comment #3
erik seifert commentedclose is duplicate
http://drupal.org/node/377798
Comment #4
asak commented@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!
Comment #5
erik seifert commentedThat is a problem adressed to ubercart core. But you can override theming functions to get a result. My module won't fix this issue.
Comment #6
MakeOnlineShop commentedHello,
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.