Jess Chen Posted August 30, 2019 Share Posted August 30, 2019 Hi, I am trying to remove the "security question" from Enquiry product form. But I couldn't see any changes after I have done the updates. I have checked the setting on the backend, Advanced Parameters --> Performance --> Smarty: Template compilation: force compilation, Cache: No. And I have also tried to manually delete the cache -> Smarty -> cache and cache -> Smarty -> compile. I am sure I edited the correct files, anyone can help me with it? Thanks, Jessica Link to comment Share on other sites More sharing options...
ApoA Posted August 30, 2019 Share Posted August 30, 2019 hello, you tried clear cache on prestashop right? how about ctr + f5 to refresh you page Link to comment Share on other sites More sharing options...
Jess Chen Posted August 30, 2019 Author Share Posted August 30, 2019 Hi ApoA, I tried and doesn't work. And I have also tried to open the page on Chrome incognito window. No idea what can I do now. Jessica Link to comment Share on other sites More sharing options...
ApoA Posted August 30, 2019 Share Posted August 30, 2019 hello jessica, are you sure edited the right file though? because you already did enough so your changes must be seen, you already set everything on backend like set Template compilation to force compilation and Cache to No Link to comment Share on other sites More sharing options...
Jess Chen Posted August 30, 2019 Author Share Posted August 30, 2019 Hi ApoA, Yes, I edited the file under modules -> cmproductenquiry -> views -> templates -> front -> form.tpl to remove the "security question" section from the form. Am I correct? Jessica Link to comment Share on other sites More sharing options...
ApoA Posted August 30, 2019 Share Posted August 30, 2019 hello Jessica, i can't say if it's the right file because you're editing a module that is not from prestashop, therefore i don't have it and can't tell if you're editing the right file. but anyway, you know how to use developer tools right? so you can check if your editing the right file. did you check every tpl file in that module? maybe it's found somewhere in those tpl files. keep checking 😁 Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted August 30, 2019 Share Posted August 30, 2019 1 hour ago, Jess Chen said: Hi ApoA, Yes, I edited the file under modules -> cmproductenquiry -> views -> templates -> front -> form.tpl to remove the "security question" section from the form. Am I correct? Jessica Hi also check file locate in themes/your_themes/modules/cmproductenquiry/views/templates /front/form.tpl thanks 1 Link to comment Share on other sites More sharing options...
Jess Chen Posted September 1, 2019 Author Share Posted September 1, 2019 Hi Nishith, Thanks for your reply but I couldn't find the "cmproductenquiry" folder under the themes folder. Jessica 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