Cornerstonegifts Posted August 11, 2013 Share Posted August 11, 2013 (edited) Hello, I have an issue with the account creation, when ever a new customer or any customer sign in their account, one of the old customer shows up every single time. ( Account information is differ from Account name or welcome name) please see the image Edited August 12, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 i moved this topic to the correct forum section (not addons) here is the solution: Quote Actually I solved it. I figured out that in the template that I was using, this block came from an overriden permanent links module by the template, which used the same code as user info block module. So since there was something wrong with the cache function of this module, I found the file /modules/blockpermanentlinks.php and saw that when it called the hooks, it called the cached files like this:public function hookFooter($params) { return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl', $this->getCacheId('blockpermanentlinks-footer')); } so what I did was to remove the cache part so it will always call a new instance like this: public function hookFooter($params) { return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl'); } and VOILA!!!! Probably you need to find in your template what module is called and disable this way its cache source: http://www.prestashop.com/forums/topic/247284-user-info-block-caching/ Link to comment Share on other sites More sharing options...
Cornerstonegifts Posted August 12, 2013 Author Share Posted August 12, 2013 It worked, but i have to do the same changes with the "Top Hook" footer alone did not worked. Thanks a lot On 8/11/2013 at 7:16 AM, vekia said: i moved this topic to the correct forum section (not addons) here is the solution: source: http://www.prestasho...-block-caching/ Link to comment Share on other sites More sharing options...
vekia Posted August 12, 2013 Share Posted August 12, 2013 great, thanks for information and confirmation it will be really helpful for other merchants with similar issues im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now