Jump to content

[Solved] how to repair my terms condition link....?


Recommended Posts

i mean this one , the read link , i made a new page for my terms and conditions.

Home>Shipping
ShippingSummary Login Address Shipping Payment Terms of service
I agree with the terms of service and I adhere to them unconditionally. (read)

Choose your delivery method

kind regards

Link to comment
Share on other sites

  • 4 weeks later...

I also got some trouble with the READ. It want to use this link: {$base_dir}cms.php?id_cms=3&content_only=1&TB_iframe=true&width=450&height=500&thickbox=true

I have 4 languages on my shop www.augdal.net and I want the terms to work.

I could direct it toward some TXT file like I did on some Norwegian shop, but since this is a multi-language webshop I would like to get this fixed.

What I did was go into the augdal.net/admin and edit in TOOLS/CMS/Terms of service.

There I wrote everything in English.. translated in German, Finish, French by clicking the flag and saved.

But now when I press READ it just show a thickbox We're sorry, but the Web address you entered is no longer available .


so how do I fix this? I would LOVE some tutorial where it show where I could put in each language to make it correct.

I use the original Prestashop theme and have Powered by PrestaShop™ [ forum & contact ] - Version 1.1.0.5 - 0.079s



My CMS.PHP file look like this:

<?php

include(dirname(__FILE__).'/config/config.inc.php');
include(dirname(__FILE__).'/init.php');

if (($id_cms = intval(Tools::getValue('id_cms'))) AND $cms = new CMS(intval($id_cms), intval($cookie->id_lang)) AND Validate::isLoadedObject($cms))
{
include(dirname(__FILE__).'/header.php');
$smarty->assign(array(
'cms' => $cms,
'content_only' => intval(Tools::getValue('content_only'))
));
$smarty->display(_PS_THEME_DIR_.'cms.tpl');
include(dirname(__FILE__).'/footer.php');
}
else
Tools::redirect('404.php');

?>





And my CMS.TPL


{if $cms}
{if $content_only}


{$cms->content}

{else}
{$cms->content}
{/if}
{else}
{l s='This page does not exist.'}
{/if}


{if !$content_only}

{l s='Home'}{l s='Home'}


{/if}
Link to comment
Share on other sites

  • 2 weeks later...

To change the (read) link on the carrier page when checking out, change the following line in order-carrier.tpl at about line 30:

{l s='(read)'}



Replace id_cms=3 with the id of the page you want to display (find it on the Tools > CMS page). You could replace the entire url too if you wanted.

Link to comment
Share on other sites

  • 2 months later...

Not sure if i understood that one entirely.

Replace id_cms=3 with the id of the page you want to display (find it on the Tools > CMS page). You could replace the entire url too if you wanted.


Would this make the Terms of service to link to a page?.. But how would that work if I have different languages. I would like to have Terms of Service in English, French, German, Italian, Norwegian and have it change automatic like all other language in my shop.

Link to comment
Share on other sites

  • 11 months later...
To change the (read) link on the carrier page when checking out, change the following line in order-carrier.tpl at about line 30:

{l s='(read)'}



Replace id_cms=3 with the id of the page you want to display (find it on the Tools > CMS page). You could replace the entire url too if you wanted.



Where in BO do I go to replace it?
Link to comment
Share on other sites

You can't change the ID of the terms and conditions link in the Back Office in PrestaShop v1.3.1. You must modify order.php (or order-address.tpl in PrestaShop v1.2.5). The option to choose a CMS page for the "Terms and conditions" has been added to PrestaShop v1.4 though.

Link to comment
Share on other sites

You can't change the ID of the terms and conditions link in the Back Office in PrestaShop v1.3.1. You must modify order.php (or order-address.tpl in PrestaShop v1.2.5). The option to choose a CMS page for the "Terms and conditions" has been added to PrestaShop v1.4 though.


So in v1.4 I can Solve this problem? (btw, Is v1.4 only e test version?)

Since I have v.1.3.1, what should I do to solve this problem?
Link to comment
Share on other sites

  • 2 years later...
  • 3 years later...

I'm working in the v.1.6.17

 

The correct way to change that URL is doing so through Backoffice > Preferences > Orders > CMS page for the Conditions of use

 

In this option you'll be able to select the CMS page - of course you need to have it created before reaching this point. In the CMS page you can make as many translations as needed. 

 

Hope this helps. 

Best

Link to comment
Share on other sites

×
×
  • Create New...