Asone Posted June 6, 2013 Share Posted June 6, 2013 (edited) Hi everyone, i'm writing this down due to the fact i didn't find any answer to my problem on googler nor on IRC channels dedicated to Prestashop. In the order-carrier.tpl file that is given in the default theme, on the line 268 there's a call to the variable {$link_conditions} wich generates a link to TOS/CGV. This link contains a parameter wich is "content_only" with a default value set as 1 . i'd like to change this parameter to get content_only=0 so when clicking on the generated link i get the CGVs between header&footer parts of the website. I've been looking around config files, theme config file, others .tpl files of the template but couldn't find where i can change this. If any of you have an idea about how to do that i'd be really grateful Thanks a lot, Asone. P.S : if this thread is in the wrong section, feel free to notify me or move it. Edited June 6, 2013 by Asone (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 6, 2013 Share Posted June 6, 2013 what ps version you use? everything depends on it Link to comment Share on other sites More sharing options...
Asone Posted June 6, 2013 Author Share Posted June 6, 2013 i am using v1.5.4.1 Link to comment Share on other sites More sharing options...
Asone Posted June 7, 2013 Author Share Posted June 7, 2013 did the great c'tulhu cursed my question ? Link to comment Share on other sites More sharing options...
vekia Posted June 7, 2013 Share Posted June 7, 2013 sorry I did not get the notification that You replied to me here. you use OPC or standard five steps checkout? everything depends on it Link to comment Share on other sites More sharing options...
Asone Posted June 7, 2013 Author Share Posted June 7, 2013 I am actually using the five steps checkout. Thanks a million times for helping Link to comment Share on other sites More sharing options...
vekia Posted June 7, 2013 Share Posted June 7, 2013 okay in this case you have to: open the file controllers/front/ParentOrderController.php you've got there (near line 500): if (!strpos($this->link_conditions, '?')) $this->link_conditions .= '?content_only=1'; else $this->link_conditions .= '&content_only=1'; change the value of the content_only to: content_only=0 voila Link to comment Share on other sites More sharing options...
Alejandrosi Posted November 26, 2014 Share Posted November 26, 2014 Hello! I am needing some help with this. I erased the terms and conditions CMS and then created it again. The problem is that in the order steps, when it asks to confrm the Terms, the link to read them gives a 404 error. I would like to know where can I fix this. Thanks a lot in advance! 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