I am not showing prices to guest users, only to those that are logged in. I am also using Lesti FPC. The problem here is, that Lesti caches the shown prices and shows them to not logged in users or it caches that prices are not shown and so logged in customers do not see them.

When I use $this->getNameInLayout(); in my price.phtml file, I get ANONYMOUS_125 as result and that can not be excluded in Lesti. So I need to exclude the price.phtml somehow and I guess the only way is to put it to a block with a real name?

How would I do that?

Magento 1.9

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.