simpson7647 Posted April 1, 2011 Share Posted April 1, 2011 hi all, i currently have a problem with my terms and conditions.Right, earlier i was looking to do a test purchase on my website so clicked some products, added to basket etc.. Came to the page where i choose which delivery method i'd like, i here also have to tick the Terms and Conditons box but here i came across the error:I clicked to read the terms and conditions and got this message:Page not available We're sorry, but the Web address you entered is no longer availableTo find a product, please type its name in the field belowPlease help, as it simply appears the link is not linking to the correct page, but i have no idea how to sort this out ://Many thanks! Link to comment Share on other sites More sharing options...
simpson7647 Posted April 1, 2011 Author Share Posted April 1, 2011 bumpp. someone please helpthanks Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted April 1, 2011 Share Posted April 1, 2011 As far as I know, the default link for Terms & Condition page is yourwebsite.com/cms.php?id_cms=3You might want to check the cms section, because this link will call a CMS page with id 3Go to back end, Tools - CMSIf there's no CMS page at all, u might want to create one (or three). Create a CMS page, untill it got 3 for the ID, and change the title n content into Tems & ConditionIf the ID already run over 3, you might want to change the value right from the database. Just open the ps_cms and ps_cms_lang table, and change one of it's ID and ID combination into 3 Link to comment Share on other sites More sharing options...
simpson7647 Posted April 1, 2011 Author Share Posted April 1, 2011 i searched mywebsite.com/cms.php?id_cms=3 And it saysPage not available We're sorry, but the Web address you entered is no longer availableTo find a product, please type its name in the field belowthanks for the replyEDITmy terms and conditons are at this linkmywebsite.com/cms.php?id_cms=20So how would i go about changing the cms=3 to cms=20?Where would i find the ps_cms and ps_cms_lang table please?thanks Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted April 2, 2011 Share Posted April 2, 2011 U can do the simple way : Create the page untill the ID hits the 20Or you can edit the databaseIf u want to edit the database, u should go to cpanel menu (usually at yourwebsite.com/cpanel)Choose phpmyadmin, select ur database, and find those table. But if u never done this before, I didn't recommend to edit the database directly Link to comment Share on other sites More sharing options...
simpson7647 Posted April 2, 2011 Author Share Posted April 2, 2011 hi there and thanks for the reply.I dont know if the creating new pages would work tbh.I just tried it again, added products, continued with the order and clicked to read the terms and conditions.the link it ws going to was : http://www.protectandenhance.co.uk/404.phpSo now i cant even see what page it was trying to go to :/I inspected the elements and received this:(read)Please help :/thanks Link to comment Share on other sites More sharing options...
simpson7647 Posted April 3, 2011 Author Share Posted April 3, 2011 help please?thanks Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted April 3, 2011 Share Posted April 3, 2011 Ok, I've found a simpler method.First of all, turn off your maintenence modeGo to back office - Preferences - Enable Shop: Yes - SaveThen, create a Terms & Condition page in Tools - CMS, and note it's IDOpen order-carrier.tpl in your theme folderfind this line {l s='I agree with the terms of service and I adhere to them unconditionally.'} {l s='(read)'} Change the cms.php?id_cms=3into cms.php?id_cms=(your Terms & Condition's ID)Save it, clear the smarty's cache ( delete all files in tools\smarty\compile), and refresh your pageHope that works Link to comment Share on other sites More sharing options...
simpson7647 Posted April 3, 2011 Author Share Posted April 3, 2011 thank you for the reply,Okay ill give it a go now Why does the smarty’s cache have to be deleted? Im a little uneasy about doing this, what are the consequences?thanks Link to comment Share on other sites More sharing options...
simpson7647 Posted April 3, 2011 Author Share Posted April 3, 2011 <form id="form" action="{$base_dir_ssl}order.php" method="post"> {if $conditions} {l s='Terms of service'} <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> {l s='I agree with the terms of service and I adhere to them unconditionally.'} {l s='(read)'} This is what i have, which bit would i edit?thanks Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted April 3, 2011 Share Posted April 3, 2011 Ok, try change into PS: Change the YOUR-TERMS-AND-CONDITION-ID with your terms & condition's ID Why does the smarty’s cache have to be deleted? Im a little uneasy about doing this, what are the consequences? If u dont delete the cache, the page will remain the same. Dont worry, prestashop will automaticly regenerate smarty's template with new-updated one Link to comment Share on other sites More sharing options...
simpson7647 Posted April 3, 2011 Author Share Posted April 3, 2011 EDITright, done that.Now what do i delete please?thanks Link to comment Share on other sites More sharing options...
simpson7647 Posted April 3, 2011 Author Share Posted April 3, 2011 I just tried without deleting the cache things and it seems to work so thank you very much Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted April 3, 2011 Share Posted April 3, 2011 Your welcome! Glad I could help Link to comment Share on other sites More sharing options...
quadroxt Posted April 25, 2011 Share Posted April 25, 2011 thank's solved for me Link to comment Share on other sites More sharing options...
digitalbana Posted July 15, 2011 Share Posted July 15, 2011 it helped for me too, but only after deleting the files in tools/smarty/compile and refreshing the page. Be careful, there is also an index.php file in this compile folder that should not be removed i suppose 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