Thu. Jul 4th, 2024

5. Magento. How to remove Newsletter Subscribe option in the “AjaxLogin” extension

1 min read

In this tutorial you will learn how to remove Newsletter Subscribe option in the “AjaxLogin” extension in Magento template(s).

magento_remove_newsletter_box_1

  1. Using FTP client or FileManager at your hosting Cpanel, connect to your server and navigate to app/design/frontend/default/themeXXX/template/youama/ajaxlogin directory. Open ajaxlogin.phtml file using any Text editor of your choice:

    magento_remove_newsletter_box_2

  2. Search for youama-newsletter id and remove the following code:
    1
    2
    3
    4
    <div class=”input-fly input-fly-checkbox youama-showhideme”>
      <input type=”checkbox” id=”youama-newsletter” name=”youama-newsletter” value=”ok” />
      <label for=”youama-newsletter”><?php echo $this->__(‘Subscribe to Newsletter’) ?></label>
      </div>

    magento_remove_newsletter_box_3

  3. Save this file and upload to the server replacing the original file.
  4. Reload your site to see the changes:
    magento_remove_newsletter_box_4

Thank you for reading this tutorial. Now you know how to remove Newsletter Subscribe option in the “AjaxLogin” extension in Magento template(s).

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