phinq1910 Posted May 7, 2016 Share Posted May 7, 2016 (edited) I am created a button on detail product page.But, when I update .tpl file then F5/Ctr-F5, it is not change So, how do I can clear cache for .tpl file (only it)? public function hookDisplayProductButtons($params) { global $cookie ,$smarty; //$smarty->clearCompiledTemplate('test_front_product_detail.tpl'); // can not change $this->_clearCache('test_front_product_detail.tpl'); // can not change return $this->display(__FILE__, 'test_front_product_detail.tpl'); } Please help me. Thanks you! Edited May 7, 2016 by phinq1910 (see edit history) 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