Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default problem with emailed order status updates foot link of company name showing the admin

    hi.

    i have a problem, when i email a status order update, the part of the email at the bottom

    Your order has been updated to the following status:
    New status: PROCESSING
    Please reply to this email if you have any questions.
    [company name]
    copyright (c) 2020 [company name] <<< this part shows the company name but the link goes to my admin back end.

    i checked the template in /email/email_template_order_status.html and the code is right

    <!-- Footer Section -->
    <div class="footer">
    <div class="copyright">$EMAIL_FOOTER_COPYRIGHT</div>
    </div>

    where am i missing to correct this? thanks.

    v1.5.4

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: problem with emailed order status updates foot link of company name showing the a

    Check - YOUR_ADMIN/includes/languages/english/email_extras.php where that link originates:

    define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>');
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

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

    Default Re: problem with emailed order status updates foot link of company name showing the a

    Quote Originally Posted by twitchtoo View Post
    Check - YOUR_ADMIN/includes/languages/english/email_extras.php where that link originates:

    define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>');
    thank you for your reply. that is what exactly i have. so i do not know why it is linking to the back end. the welcome email and cc'd of orders do not show the back end link at the footer, only these order status updates.

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: problem with emailed order status updates foot link of company name showing the a

    I would then trace FILENAME_DEFAULT and STORE_NAME values then check if there's a module that bridged the two or if something was missing/overwritten starting at the email_extras in admin and reviewing what's going on in the live site/override system email_extras.php.

    Email me if you'd like me to have a quick look.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: problem with emailed order status updates foot link of company name showing the a

    Quote Originally Posted by travbacon View Post
    thank you for your reply. that is what exactly i have. so i do not know why it is linking to the back end. the welcome email and cc'd of orders do not show the back end link at the footer, only these order status updates.
    ... and that would be the issue. During admin processing, the function zen_href_link creates an admin-based link. That line should be changed (on the admin-side only) to use the zen_catalog_href_link function instead.

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

    Default Re: problem with emailed order status updates foot link of company name showing the a

    Hi. I created another thread just yesterday and did a search on my posts and sorry, I JUST saw your reply from last year. Can you still help? Thanks

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: problem with emailed order status updates foot link of company name showing the a

    Quote Originally Posted by travbacon View Post
    Hi. I created another thread just yesterday and did a search on my posts and sorry, I JUST saw your reply from last year. Can you still help? Thanks
    The suggestion in my previous post from 2020 still stands. You've apparently modified the /admin/includes/languages/english/email_extras.php to include the site's link, but you need to use the correct version of the zen_{catalog_}href_link function so that the link's generated for the storefront rather than the admin.

 

 

Similar Threads

  1. v151 Displaying the company name in the admin orders
    By wekalegs in forum General Questions
    Replies: 5
    Last Post: 23 Apr 2013, 10:39 PM
  2. Order status not showing in Admin page
    By juneloweelyn in forum Managing Customers and Orders
    Replies: 3
    Last Post: 18 May 2009, 03:35 PM
  3. Replies: 1
    Last Post: 10 May 2009, 11:20 PM
  4. Remove/delete order status updates
    By lkzone in forum Customization from the Admin
    Replies: 4
    Last Post: 22 Apr 2008, 10:05 PM
  5. order status updates
    By dstoops in forum Managing Customers and Orders
    Replies: 6
    Last Post: 22 May 2006, 03:02 PM

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