Tue. Jul 2nd, 2024

5. Magento. How to change “Terms and Conditions” page link in the Youama login form

1 min read
  1. 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.
  2. Open ajaxlogin.phtml file using any text editor:magento_how_to_change_terms_and_conditions__link_in_the_youama_login_module2
  3. Look for the following code:
    1
    2
    3
    <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>
  4. We are going to alter the $this->getUrl(‘privacy-policy-cookie-restriction-mode’) link.
  5. For example, to change the Privacy Policy link to Customer Service, replace the original:‘privacy-policy-cookie-restriction-mode’ with: ‘customer-service’

    magento_how_to_change_terms_and_conditions__link_in_the_youama_login_module3

    You need to use URL Key of target CMS page.

  6. Save this file and upload to the server replacing the original file.
  7. 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).

July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031