5. Magento. How to change “Terms and Conditions” page link in the Youama login form
1 min read- Using your FTP client or FileManager in Hosting cPanel, go to app/design/frontend/tm_themes/themeXXX/template/youama/ajaxlogin or app/design/frontend/default/themeXXX/template/youama/ajaxlogin.
- Open ajaxlogin.phtml file using any text editor:
- Look for the following code:
123<label for=”youama-licence”><?php echo $this->__(‘I accept the’) ?><a href=”<?php echo $this->getUrl(‘privacy-policy-cookie-restriction-mode’) ?>” target=”_blank”><?php echo $this->__(‘Terms and Coditions’) ?></a></label>
- We are going to alter the $this->getUrl(‘privacy-policy-cookie-restriction-mode’) link.
- For example, to change the Privacy Policy link to Customer Service, replace the original:‘privacy-policy-cookie-restriction-mode’ with: ‘customer-service’
You need to use URL Key of target CMS page.
- Save this file and upload to the server replacing the original file.
- Open your site and reload the page to see the changes.
Thank you for watching this video tutorial. Now you know how to change Terms and Conditions page link in the Youama login form in Magento template(s).