osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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: ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Reply

 

LinkBack Thread Tools
  #1  
Old 03-16-2010, 04:32 PM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,624
Thanks: 152
Thanked 192 Times in 181 Posts
Rep Power: 13
ridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to behold
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-17-2010, 05:35 AM
wkdwich's Avatar
Active Member
 
Join Date: Jul 2007
Posts: 177
Thanks: 9
Thanked 4 Times in 3 Posts
Rep Power: 4
wkdwich is on a distinguished road
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:
Quote:
Login to your account here: ( http://www.mysite.com/catalog/FILENAME_CATALOG_LOGIN)
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-18-2010, 09:23 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 16,522
Thanks: 149
Thanked 652 Times in 558 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

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 User Manual - osCMax Templates - Advanced Template Tutorial


Last edited by michael_s; 03-19-2010 at 09:38 AM. Reason: added actual fix to post
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-19-2010, 10:39 AM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,624
Thanks: 152
Thanked 192 Times in 181 Posts
Rep Power: 13
ridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to beholdridexbuilder is a splendid one to behold
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-19-2010, 08:46 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 16,522
Thanks: 149
Thanked 652 Times in 558 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

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 User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Can't send email in Recover Cart Sales 2.22 ptt81 osCMax v2 Customization/Mods 20 06-30-2010 03:58 AM
Recover Cart Sales michael_s New osCommerce Contributions 2 01-28-2010 09:06 AM
Recover Cart Sales michael_s New osCommerce Contributions 0 04-15-2009 06:01 PM
Recover Cart Sales michael_s New osCommerce Contributions 0 04-01-2009 12:00 PM
Recover Cart Sales michael_s New osCommerce Contributions 0 11-30-2007 06:11 AM


All times are GMT -8. The time now is 07:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2010 osCmax
Inactive Reminders By Icora Web Design