aqian Posted June 5, 2011 Share Posted June 5, 2011 Hi,when i comment some code out of a .tpl-file, the elements still apear in the shop. I tried to comment this p-element(checkbox + label for) in the authentication.tpl {* <input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == '1'}checked="checked"{/if}> {l s='Receive special offers from our partners'} *} Why is this p-element still apear on the front page? Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 it could be cache.please clear both your browser cache and server PrestaShop cache.go back office - preference - performance change smarty setting: change to force compile to disable smarty cacheat bottom of the page cache section, change to disable cache Link to comment Share on other sites More sharing options...
aqian Posted June 5, 2011 Author Share Posted June 5, 2011 Hi sorry i forget to mention that the browser cach is deactivated and presta are forced to compile each client-request. I think there is an another place where the change have to be done, isn´t there? Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 if you are using 1.4x, there are 3 places in the same file.I think they for normal checkout, guest checkout, ...try to search the text "Receive special offers from our" in the file, you will find them. Link to comment Share on other sites More sharing options...
aqian Posted June 5, 2011 Author Share Posted June 5, 2011 Thank you shokinro, you were right with the second occur of the code in the same file. Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 if it is 1.4x, actually there should be 3 places. 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