osCmax v2.5 User Manual
Results 1 to 5 of 5

Possible bug in Recover Cart Sales Email

This is a discussion on Possible bug in Recover Cart Sales Email within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; There looks to be an issue with the email which is sent out to the customer. Line 281 of catalog/admin/recover_cart_sales.php: ...

      
  1. #1
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Exclamation Possible bug in Recover Cart Sales Email

    There looks to be an issue with the email which is sent out to the customer.
    Line 281 of catalog/admin/recover_cart_sales.php:
    PHP Code:
            tep_mail(''$outEmailAddrEMAIL_TEXT_SUBJECT$email''STORE_OWNER EMAIL_FROM); 
    The Store Owner and email address are concatenated. Adding in a space helps but appears to cause issues with the customer when using "Reply To".
    A workaround is to remove STORE_OWNER . (remember the trailing dot).
    I'm sure there is a far better way.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  2. #2
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default Re: Possible bug in Recover Cart Sales Email

    Found another small issue with the catalog/admin/recover_cart_sales.php

    the email to the customer shows:
    Find:
    Code:
    if( EMAIL_USE_HTML == 'true' )
    $email .= ' <a HREF="' . tep_catalog_href_link(FILENAME_CATALOG_LOGIN, '', 'SSL') . '">' . tep_catalog_href_link(FILENAME_CATALOG_LOGIN, '', 'SSL') . '</a>';
    else
    $email .= ' (' . tep_catalog_href_link(FILENAME_CATALOG_LOGIN, '', 'SSL') . ')';
    REPLACE WITH:
    Code:
     
    if( EMAIL_USE_HTML == 'true' )
    $email .= ' <a HREF="' . tep_catalog_href_link(FILENAME_LOGIN, '', 'SSL') . '">' . tep_catalog_href_link(FILENAME_LOGIN, '', 'SSL') . '</a>';
    else
    $email .= ' (' . tep_catalog_href_link(FILENAME_LOGIN, '', 'SSL') . ')';
    Debbie D
    NY & VA

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Possible bug in Recover Cart Sales Email

    For the first issue, here is the fix to properly format the email header:

    PHP Code:
    tep_mail(''$outEmailAddrEMAIL_TEXT_SUBJECT$email''EMAIL_FROM); 
    I tested it out and now works fine. This is also fixed in the upcoming 2.0.25 which I am now packaging up for release.
    Last edited by michael_s; 03-19-2010 at 09:38 AM. Reason: added actual fix to post
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Post Re: Possible bug in Recover Cart Sales Email

    You changed it! Now the same as I have said above.
    (Sorry, just found time to try your previous version - but it's gone! )
    Hosting plans with installation, configuration, contributions, support and maintenance.

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Possible bug in Recover Cart Sales Email

    The other code I posted did not work correctly, and was using the wrong constants.

    The correct constant to use is EMAIL_FROM , and if that is properly set up there is no need to use the STORE_OWNER constant at all. I posted it again without the STORE_OWNER constant to avoid any confusion. This is what got committed to 2.0.25
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Can't send email in Recover Cart Sales 2.22
    By ptt81 in forum osCmax v2 Customization/Mods
    Replies: 20
    Last Post: 06-30-2010, 03:58 AM
  2. Recover Cart Sales
    By michael_s in forum New osCommerce Contributions
    Replies: 2
    Last Post: 01-28-2010, 09:06 AM
  3. Recover Cart Sales
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-15-2009, 06:01 PM
  4. Recover Cart Sales
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-01-2009, 12:00 PM
  5. Recover Cart Sales
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-30-2007, 06:11 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
  •