Group prices are cached (Lesti_Fpc) and displayed to all visitors
-
19-12-2019 - |
Question
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?
Solution
In Lesti_FPC's system.xml file change the "0" to "1" in below section to activate it.
<customer_groups>
<label>Customer Group Caching</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>70</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</customer_groups>
Then go to System => Configuration => Advanced => System => Lesti FPC, set the Customer Group Caching to YES.
OTHER TIPS
It seems flat catalog is enabled in your website:
Inside System->Index Management->Product Prices ->Reindex Data
also set mode as Update on save
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange