Hi all!

Thanks author for this wonderful module! Just one thing stumbled me - block shows correct information about quantity|price ONLY for registered users. When anonymous user is adding some products to the cart block shows zeroes for product/price.

I wonder if this problem is not reproduced.

CommentFileSizeAuthor
#3 uc_microcart.module.patch393 bytesrich.yumul

Comments

youri27’s picture

I have a similar problem. If I'm logged in as an admin, the Microcart Block updates without issues. However, when I'm logged in as a regular (non-admin) user, the block does not update:(

Is anyone there who can help?

youri27’s picture

lsergei, have you managed to solve this issue somehow?

rich.yumul’s picture

StatusFileSize
new393 bytes

I suspect that it might be because of caching; anon users might be getting the cached version of the microcart block, which could explain the behavior you're describing.

I'm not sure if I'm sharing the patch correctly, but what if you tried the attached patch. LMK how it goes, and I"ll fold it back into the next version.

youri27’s picture

Thanks a lot, Rich! As you suspected, the problem was with caching and the patch you attached worked like a champ! BTW, great module.

lsergei’s picture

Thank you, Rich. After applying your patch this issue disappeared.

rich.yumul’s picture

Status: Active » Fixed
nelslynn’s picture

Issue still exists for me with patch applied. When browsing from page to page several times back/forth, the correct item/total displays very randomly.

My Performance settings are:
Caching mode: Normal
Block Cache: Disabled

When logged in as authenticated user, all works well, so there's still a cache issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.