Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default footer issue in email order updates

    Hi, so when an order is updated, it sends an email update to the customer and us. So in the footer in the where the year and clickable company name at the bottom, when you click it, it goes to the website admin page, no the front end website page. where would i go to fix this? thank you.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: footer issue in email order updates

    Quote Originally Posted by travbacon View Post
    Hi, so when an order is updated, it sends an email update to the customer and us. So in the footer in the where the year and clickable company name at the bottom, when you click it, it goes to the website admin page, no the front end website page. where would i go to fix this? thank you.
    i would look here:

    https://github.com/zencart/zencart/b...extras.php#L38
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: footer issue in email order updates

    Quote Originally Posted by carlwhat View Post
    Yes, but for the admin, there's /admin/includes/languages/english/email_extras.php that doesn't include that href-link.

  4. #4
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default Re: footer issue in email order updates

    ........
    Last edited by travbacon; 13 May 2021 at 06:16 PM.

  5. #5
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default Re: footer issue in email order updates

    Thank you but that did not do it.

    My email extras shows line 38 but that shows ZENCART blah blah blah and mine has our company name, so I do not think that matches.

    THIS DOESN'T HAPPEN with the INITIAL EMAIL when a customer places an ordeR. IT ONLY HAPPENS when you send an update on the order, I.E. PROCESSING, COMPLETE, ETC.

    Thanks.

  6. #6
    Join Date
    Jan 2010
    Posts
    48
    Plugin Contributions
    0

    Default Re: footer issue in email order updates

    Quote Originally Posted by lat9 View Post
    Yes, but for the admin, there's /admin/includes/languages/english/email_extras.php that doesn't include that href-link.
    I have changed the admin to:
    Code:
      define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_catalog_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a>. Powered by <a href="https://www.zen-cart.com">Zen Cart</a>');
    It's now consistent with the catalog side.

    I suspect that the admin side in the OP used zen_href_link when it should have used zen_catalog_href_link.

  7. #7
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default Re: footer issue in email order updates

    Is it okay to modify that "stock" file because I am using a template and there is no template directory in the admin side for the languages. I was told this was bad for when you do ZC updates and the updates override the stock files that you modify. Thanks.

  8. #8
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default Re: footer issue in email order updates

    My /admin/includes/languages/english/email_extras.php

    has

    define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

    This doesn't make since? Since when updating orders, it shows our company name and something totally different that Powered by?

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: footer issue in email order updates

    Use your admin's Tools :: Developers' Tool Kit and search for EMAIL_FOOTER_COPYRIGHT in all admin/catalog .php files.

  10. #10
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default Re: footer issue in email order updates

    Hi this is what i found.

    /var/www/vhosts/xxxxx.com/httpdocs/THEBACKEND/includes/languages/english/email_extras.php

    Line #27 : define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');



    /var/www/vhosts/xxxxx.com/httpdocs/includes/classes/order.php

    Line #1233 : if (defined('EMAIL_FOOTER_COPYRIGHT')) $email_order .= "\n-----\n" . EMAIL_FOOTER_COPYRIGHT . "\n\n";




    /var/www/vhosts/xxxxx.com/httpdocs/includes/functions/functions_email.php

    Line #506 : if (!isset($block['EMAIL_FOOTER_COPYRIGHT']) || $block['EMAIL_FOOTER_COPYRIGHT'] == '') $block['EMAIL_FOOTER_COPYRIGHT'] = 'copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>';



    /var/www/vhosts/xxxxx.com/httpdocs/includes/languages/english/email_extras.php

    Line #30 : define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>.');


    /var/www/vhosts/xxxxcom/httpdocs/includes/languages/english/premium9a/email_extras.php

    Line #31 : define('EMAIL_FOOTER_COPYRIGHT','copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>');

    Line #32 : define('EMAIL_FOOTER_COPYRIGHT_NEW','copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>');

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Email Stopped working for new Customer Signup, Nesletters, Orders, Updates to order..
    By anandbir in forum Managing Customers and Orders
    Replies: 6
    Last Post: 22 Aug 2012, 06:28 AM
  2. Html email not working on order updates?
    By philip937 in forum General Questions
    Replies: 1
    Last Post: 29 May 2011, 01:46 PM
  3. Another Email Footer Copyright Issue
    By ScriptJunkie in forum General Questions
    Replies: 3
    Last Post: 22 Aug 2008, 05:15 AM
  4. email footer spacing issue
    By troikken in forum General Questions
    Replies: 1
    Last Post: 2 May 2008, 06:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR