Jose Julio Campos Posted May 27, 2019 Share Posted May 27, 2019 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? Link to comment Share on other sites More sharing options...
Janett Posted May 27, 2019 Share Posted May 27, 2019 The page configured here exist ? Link to comment Share on other sites More sharing options...
Jose Julio Campos Posted May 27, 2019 Author Share Posted May 27, 2019 Hello Jannet Thanks for the help Yes the page exists. It can be acessed on the bottom, on CMS section. I already have 2 pages. 3 and 5. This is because I though that could by any bug into the page and I created a new one But the problem persists Link to comment Share on other sites More sharing options...
Janett Posted May 27, 2019 Share Posted May 27, 2019 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 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