Jump to content

TERMS AND CONDITION PAGE ON ORDER PAGES


Recommended Posts

I use prestashop 1.6.1.13


On the check out i use 5 steps process


On the carrier page the user has to check the checkbox agreeing withe terms and conditions


Next to this checkbox is a link to the cms page "terms and conditions"


When the user clicks on it he receives an error


I tried every think even to put the cms page url on the order_carrier.tpl file.


I need urgent help


Anyone?

image.thumb.png.14fa0cb4cce760083a7814d51e28e56f.png

image.thumb.png.9aa69601e5a7372f08736ee76051ddb6.png

Link to comment
Share on other sites

This link is created here : https://github.com/PrestaShop/PrestaShop/blob/70d12a5ffbd9f1123e76cded1be8d2f78d5f015c/themes/default-bootstrap/order-carrier.tpl#L364

The value of href is generated here : https://github.com/PrestaShop/PrestaShop/blob/70d12a5ffbd9f1123e76cded1be8d2f78d5f015c/controllers/front/ParentOrderController.php#L519

The CMS identifier associated to PS_CONDITIONS_CMS_ID is the value of the field I posted in my last message.

So if this doesn't work maybe you have to check this value is correct, clear Smarty cache, check your template.

Did you use multishop functionnality ? If yes, maybe PS_CONDITIONS_CMS_ID for this shop is not good. Check if you use the right shop context on the configuration page.

Link to comment
Share on other sites

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