Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jul 2008
    Posts
    17
    Plugin Contributions
    0

    Default Removing Detailed Invoice link from order update emails

    I'm trying to remove the detailed invoice link that appears in emails that my customers receive when they get an email notifying them of order updates. Like so:

    Dear xxx,
    Store name
    Order Number: ###
    Detailed Invoice <-- I want to remove this link in both HTML & Text
    Date Ordered: Wednesday 04 February, 2009
    Your order has been updated to the following status:
    New status: Completed
    Please reply to this email if you have any questions.
    I've seen this thread: http://www.zen-cart.com/forum/showth...ght=remove+url

    and have updated my files according to the instructions, but the link is still showing up.

    Any ideas? I'm using the default template, no custom templates or anything. I do have the TY package tracker, if that makes a difference.

    I want to remove the link because it shows up as www.domainA.com/B in order update emails only (but not order confirmation emails which shows www.domainB.com), and I prefer to keep the two separate (www.domainA.com and www.domainB.com are sharing the same webspace; domainB is a subdomain of domainA, and it's just a custom URL that I purchased to redirect/mask the fact that I'm also using domainA). If I can't modify it, then I don't mind taking it out altogether.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Removing Detailed Invoice link from order update emails

    Quote Originally Posted by fairylite View Post
    I want to remove the link because it shows up as www.domainA.com/B in order update emails only (but not order confirmation emails which shows www.domainB.com), and I prefer to keep the two separate (www.domainA.com and www.domainB.com are sharing the same webspace; domainB is a subdomain of domainA, and it's just a custom URL that I purchased to redirect/mask the fact that I'm also using domainA). If I can't modify it, then I don't mind taking it out altogether.
    If the link is being generated wrong, then your /admin/includes/configure.php file has incorrect settings for these:
    Code:
      define('HTTP_CATALOG_SERVER', 'http://URL');
      define('HTTPS_CATALOG_SERVER', 'https://URL');
    
      define('DIR_WS_CATALOG', '/');
    
      define('DIR_WS_HTTPS_CATALOG', '/');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Removing Detailed Invoice link from order update emails

    Quote Originally Posted by DrByte View Post
    If the link is being generated wrong, then your /admin/includes/configure.php file has incorrect settings for these:
    Code:
      define('HTTP_CATALOG_SERVER', 'http://URL');
      define('HTTPS_CATALOG_SERVER', 'https://URL');
    
      define('DIR_WS_CATALOG', '/');
    
      define('DIR_WS_HTTPS_CATALOG', '/');
    I checked and you were right - it was pointing to DomainA. However, I just changed it all to point to DomainB and it's still showing up in the order updates as DomainA.

    Any other ideas? I appreciate your help!

  4. #4
    Join Date
    Jul 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Removing Detailed Invoice link from order update emails

    Spoke too soon! I used the Developer's tool kit and found that the configure file in my other subdirectory was causing the problem.

    Thanks so much! :)

  5. #5
    Join Date
    Aug 2008
    Location
    Isle of Skye, Scotland
    Posts
    92
    Plugin Contributions
    0

    Default Re: Removing Detailed Invoice link from order update emails

    This is exactly what I was looking for but I am having trouble figuring out what to put in the configure file to get the email link working.

    At the moment that part of my file reads as follows:

    define('HTTP_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_SERVER', 'https://www.plantperfection.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_CATALOG_SERVER', 'https://www.plantperfection.co.uk');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/~admin156/admin/');
    define('DIR_WS_CATALOG', '/~admin156/');
    define('DIR_WS_HTTPS_ADMIN', '/~admin156/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/~admin156/');

    Any thoughts would be much appreciated,

    Stuart

  6. #6
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Removing Detailed Invoice link from order update emails

    Stuart, it would help to know what the undesired link is showing up as, and what the desired link should be.
    Keep in mind that the link is built based on your SSL configuration, so will point to the HTTPS URL automatically. Having your own dedicated SSL will help with the appearances concern that I'm guessing you're having.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Aug 2008
    Location
    Isle of Skye, Scotland
    Posts
    92
    Plugin Contributions
    0

    Default Re: Removing Detailed Invoice link from order update emails

    Thanks for getting back to me. The link is showing with a 404 Not Found title and the following error: "The requested URL /achachleat/login.php was not found on this server." The address appearing in the title bar is "http://stargate.terrassl.net/NEWLOGINNAME/login.php" (JUST USING NEWLOGINNAME FOR TESTING) though I am typing "http://www.plantperfection.co.uk/NEWLOGINNAME" (I also tried the same but with https)

    I do have my own (not shared) ssl installed on the site.

    My admin configure.php file currently reads like this (I have only included what I think is the relevant area):

    define('HTTP_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_SERVER', 'https://www.plantperfection.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_CATALOG_SERVER', 'https://www.plantperfection.co.uk');

    define('DIR_WS_ADMIN', '/~admin156/admin/');
    define('DIR_WS_CATALOG', '/~admin156/');
    define('DIR_WS_HTTPS_ADMIN', '/~admin156/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/~admin156/');

    define('DIR_FS_ADMIN', '/var/www/html/admin/');
    define('DIR_FS_CATALOG', '/var/www/html/');


    I have been trying to change it as follows:

    define('HTTP_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_SERVER', 'https://www.plantperfection.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_CATALOG_SERVER', 'https://www.plantperfection.co.uk');

    define('DIR_WS_ADMIN', '/NEWLOGINNAME/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/NEWLOGINNAME/');
    define('DIR_WS_HTTPS_CATALOG', '/');


    define('DIR_FS_ADMIN', '/var/www/html/NEWLOGINNAME/');
    define('DIR_FS_CATALOG', '/var/www/html/');


    I have then renamed the 'admin' folder to 'NEWLOGINNAME' but no joy.

    And, like the previous poster, the reason I am trying to get it changed is that the order update emails currently generated by zen cart have the wrong link embedded which it seems from your post to him is because I have this file set up wrong.

    Thanks again for your help,

    Stuart

  8. #8
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Removing Detailed Invoice link from order update emails

    Assuming your storefront is working properly with SSL, what are those same settings from your storefront's /includes/configure.php file?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Aug 2008
    Location
    Isle of Skye, Scotland
    Posts
    92
    Plugin Contributions
    0

    Default Re: Removing Detailed Invoice link from order update emails

    Update:
    After contact with my hosts I have now realised what I was missing (my number within the server should have prefixed the '/admin/') and I have now managed to change the address so I can succesfully go to and use the admin at the new address.

    HOWEVER:
    It hasn't sorted the issue with order update emails - the embedded link is still dead!

    The info you asked about from the main storefront configure.php file (the storefront is all working ok):

    define('HTTP_SERVER', 'http://www.plantperfection.co.uk');
    define('HTTPS_SERVER', 'https://www.plantperfection.co.uk');

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/var/www/html/');

    Thanks again,

    Stuart

  10. #10
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Removing Detailed Invoice link from order update emails

    Quote Originally Posted by skyegospel View Post
    The info you asked about from the main storefront configure.php file (the storefront is all working ok):

    define('HTTP_SERVER', 'http://www.plantperfection.co.uk');
    define('HTTPS_SERVER', 'https://www.plantperfection.co.uk');

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/var/www/html/');
    So ... make your admin file's catalog-link-settings match your main settings:

    define('HTTP_CATALOG_SERVER', 'http://stargate.terrassl.net');
    define('HTTPS_CATALOG_SERVER', 'https://www.plantperfection.co.uk');

    define('DIR_WS_CATALOG', '/~admin156/');

    define('DIR_WS_HTTPS_CATALOG', '/~admin156/');

    ...

    would become something like:

    define('HTTP_CATALOG_SERVER', 'http://www.plantperfection.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.plantperfection.co.uk');

    define('DIR_WS_CATALOG', '/');

    define('DIR_WS_HTTPS_CATALOG', '/');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Remove Detailed Invoice Link from Email
    By pinksparklegirl in forum General Questions
    Replies: 11
    Last Post: 4 Nov 2011, 07:34 PM
  2. Replies: 0
    Last Post: 22 Jul 2011, 06:16 PM
  3. removing detailed invoice link from emails
    By craftzombie in forum General Questions
    Replies: 10
    Last Post: 24 Jan 2010, 12:43 AM
  4. Customer's detailed order invoice link not working...
    By scrappycat in forum Managing Customers and Orders
    Replies: 4
    Last Post: 25 Apr 2009, 04:09 AM

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