We realized that the group price are cached and after log out, regular customer can see the discount, till we refresh the cache. How to solve this?

  • Can you expand on what you are using for caching. This sounds like it may be a full page caching matter - varnish perhaps? In which case things like price need to be hole punched to get the customer specific data. – John Cuthbert Dec 14 '15 at 9:57
  • Lesti_Fpc is what we use – Zinat Dec 14 '15 at 10:02
  • I think you have to clear caches inside System->Cache Management – Akhil Gupta Dec 14 '15 at 10:02
  • I have done that, it fix the issue, but again after login as special customer and log out, the special prices are visible to all – Zinat Dec 14 '15 at 10:04
  • Please post the solution you found as an answer – 7ochem Dec 14 '15 at 12:35

In Lesti_FPC's system.xml file change the "0" to "1" in below section to activate it.

      <label>Customer Group Caching</label>

Then go to System => Configuration => Advanced => System => Lesti FPC, set the Customer Group Caching to YES.

  • works like a charm – Zinat Dec 14 '15 at 16:37

It seems flat catalog is enabled in your website:

Inside System->Index Management->Product Prices ->Reindex Data

also set mode as Update on save

  • That's also not permanent solution. I tried it, it fixes till the moment special customer is not logged in,after log out still special prices are visible – Zinat Dec 14 '15 at 10:15

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.