Jump to content

[SOLVED] [Help with Terms and Conditons link please


Recommended Posts

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 available
To find a product, please type its name in the field below


Please 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

As far as I know, the default link for Terms & Condition page is yourwebsite.com/cms.php?id_cms=3

You might want to check the cms section, because this link will call a CMS page with id 3

Go to back end, Tools - CMS

If 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 & Condition

If 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

i searched mywebsite.com/cms.php?id_cms=3 And it says


Page not available

We're sorry, but the Web address you entered is no longer available
To find a product, please type its name in the field below




thanks for the reply


EDIT


my terms and conditons are at this link

mywebsite.com/cms.php?id_cms=20

So 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

U can do the simple way : Create the page untill the ID hits the 20
Or you can edit the database
If 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

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.php

So 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

Ok, I've found a simpler method.
First of all, turn off your maintenence mode

Go to back office - Preferences - Enable Shop: Yes - Save

Then, create a Terms & Condition page in Tools - CMS, and note it's ID

Open order-carrier.tpl in your theme folder

find 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=3
into
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 page

Hope that works :)

Link to comment
Share on other sites

<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

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

  • 3 weeks later...
  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...