Page 62 of 67 FirstFirst ... 12526061626364 ... LastLast
Results 611 to 620 of 663
  1. #611
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Recover Cart

    Hmmm ... I did some more digging, and I see now that it's trying to combine the name<email> into one parameter, but would be better letting the application do that properly.
    I wonder if the following rewrite to that section may be helpful:

    Code:
            $custname = $basket->fields['fname']." ".$basket->fields['lname'];
            $outEmailAddr = '"' . $custname . '" <' . $basket->fields['email'] . '>';
            if( zen_not_null(RCS_EMAIL_COPIES_TO) )
                $outEmailAddr .= ', ' . RCS_EMAIL_COPIES_TO;
    
    
            $html_msg['EMAIL_MESSAGE_HTML'] = nl2br($email) . zen_db_prepare_input($_POST['message_html']);
            $email = strip_tags($email . "\n\n" . zen_db_prepare_input($_POST['message']));
            $from = zen_db_prepare_input($_POST['from']); // STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS
            $subject = zen_db_prepare_input($_POST['subject']); // EMAIL_TEXT_SUBJECT
            zen_mail('', $outEmailAddr, $subject, $email, '', $from, $html_msg);
    to
    Code:
            $custname = $basket->fields['fname']." ".$basket->fields['lname'];        $outEmailAddr = '"' . $custname . '" <' . $basket->fields['email'] . '>';
            $html_msg['EMAIL_MESSAGE_HTML'] = nl2br($email) . zen_db_prepare_input($_POST['message_html']);
            $email = strip_tags($email . "\n\n" . zen_db_prepare_input($_POST['message']));
            $from = zen_db_prepare_input($_POST['from']); // STORE_OWNER . ' <' . STORE_OWNER_EMAIL_ADDRESS . '>'
            $subject = zen_db_prepare_input($_POST['subject']); // EMAIL_TEXT_SUBJECT
            zen_mail($custname, $basket->fields['email'], $subject, $email, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS, $html_msg);
            if (zen_not_null(RCS_EMAIL_COPIES_TO)) {
              zen_mail('', RCS_EMAIL_COPIES_TO, $subject, $email, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS, $html_msg);
            }
    
    .

    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.

  2. #612
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Recover Cart

    Quote Originally Posted by DrByte View Post
    Hmmm ... I did some more digging, and I see now that it's trying to combine the name<email> into one parameter, but would be better letting the application do that properly.
    I wonder if the following rewrite to that section may be helpful:

    Code:
            $custname = $basket->fields['fname']." ".$basket->fields['lname'];
            $outEmailAddr = '"' . $custname . '" <' . $basket->fields['email'] . '>';
            if( zen_not_null(RCS_EMAIL_COPIES_TO) )
                $outEmailAddr .= ', ' . RCS_EMAIL_COPIES_TO;
    
    
            $html_msg['EMAIL_MESSAGE_HTML'] = nl2br($email) . zen_db_prepare_input($_POST['message_html']);
            $email = strip_tags($email . "\n\n" . zen_db_prepare_input($_POST['message']));
            $from = zen_db_prepare_input($_POST['from']); // STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS
            $subject = zen_db_prepare_input($_POST['subject']); // EMAIL_TEXT_SUBJECT
            zen_mail('', $outEmailAddr, $subject, $email, '', $from, $html_msg);
    to
    Code:
            $custname = $basket->fields['fname']." ".$basket->fields['lname'];        $outEmailAddr = '"' . $custname . '" <' . $basket->fields['email'] . '>';
            $html_msg['EMAIL_MESSAGE_HTML'] = nl2br($email) . zen_db_prepare_input($_POST['message_html']);
            $email = strip_tags($email . "\n\n" . zen_db_prepare_input($_POST['message']));
            $from = zen_db_prepare_input($_POST['from']); // STORE_OWNER . ' <' . STORE_OWNER_EMAIL_ADDRESS . '>'
            $subject = zen_db_prepare_input($_POST['subject']); // EMAIL_TEXT_SUBJECT
            zen_mail($custname, $basket->fields['email'], $subject, $email, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS, $html_msg);
            if (zen_not_null(RCS_EMAIL_COPIES_TO)) {
              zen_mail('', RCS_EMAIL_COPIES_TO, $subject, $email, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS, $html_msg);
            }
    
    That worked.

  3. #613
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

    Default Re: Recover Cart

    I'm having the weirdest error happen. This module has worked great for years and now it's giving the error "WARNING: An Error occurred, please refresh the page and try again." Is there any reason this would randomly happen? No changes has been made to the site as far as I'm aware. We just did out quarterly PCI compliance, surely that doesn't have anything to do with it.
    http://www.youtube.com/c/csgodeimos - New Videos Wednesday & Saturday
    Gaming Content / Deimos

  4. #614
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Recover Cart

    Quote Originally Posted by CSGODeimos View Post
    I'm having the weirdest error happen. This module has worked great for years and now it's giving the error "WARNING: An Error occurred, please refresh the page and try again." Is there any reason this would randomly happen? No changes has been made to the site as far as I'm aware. We just did out quarterly PCI compliance, surely that doesn't have anything to do with it.
    Check your error logs folder. What version of PHP are you using?

  5. #615
    Join Date
    May 2016
    Posts
    188
    Plugin Contributions
    0

    Default Re: Recover Cart

    Quote Originally Posted by jeking View Post
    Check your error logs folder. What version of PHP are you using?

    Turns out a PCI scanner created a customer and did something weird which caused the module to fail. We deleted their customer account and it's back to normal.
    http://www.youtube.com/c/csgodeimos - New Videos Wednesday & Saturday
    Gaming Content / Deimos

  6. #616
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,541
    Plugin Contributions
    9

    Default Re: Recover Cart

    Is this module actually compatible with 1.5.5e? I haven't been able to install the sql patch. I can't install it from admin patches because I get a 500 Internal error and I can't install it from phpadmin because it says:
    #1048 - Column 'configuration_group_id' cannot be null
    I haven't seen any real solution to the problem here, has anyone installed it successfully on 1.5.5e?


    Add. Info:
    PHP Version: 5.6.30 (Zend: 2.6.0)
    Database: MySQL 5.6.35
    Last edited by ideasgirl; 25 Jun 2017 at 04:11 AM.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  7. #617
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Recover Cart

    Did you do a Copy & Paste or upload file?

    If a previous install attempt went bad then suggest you upload the "uninstall.sql" file (and hopefully there is one) to remove any partial install of the module. Disregard any error msgs. from the uninstall. Then use the upload sql method and start fresh. If you still get an error msg. then contact your Hoster as odds are a Server Firewall rule is blocking your attempt and they can white-list the rule for your Hosting account.

  8. #618
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,541
    Plugin Contributions
    9

    Default Re: Recover Cart

    Quote Originally Posted by Website Rob View Post
    Did you do a Copy & Paste or upload file?

    If a previous install attempt went bad then suggest you upload the "uninstall.sql" file (and hopefully there is one) to remove any partial install of the module. Disregard any error msgs. from the uninstall. Then use the upload sql method and start fresh. If you still get an error msg. then contact your Hoster as odds are a Server Firewall rule is blocking your attempt and they can white-list the rule for your Hosting account.
    Copy+Paste

    WOW! We are always told not to do uploads.

    Thanks!
    Last edited by ideasgirl; 25 Jun 2017 at 04:31 AM. Reason: Run the sql and wanted to post results
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  9. #619
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Recover Cart

    Things changed somewhere around the 1.5.5 and up versions so that the DB_PREFIX was properly included in an sql file upload, and it now works the way it should.

  10. #620
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,541
    Plugin Contributions
    9

    Default Re: Recover Cart

    Now, as per the readme file (and I remember long time ago I installed this mod on a 1.3.9 store) the Tools > Recover Cart Sales doesn't appear. I only have the Configuration > Configure RCS, a Customers > Abandoned Carts and a Reports > Recover Cart Sales Report

    I'm missing a page.

    ------------
    Nevermind, I figured it out!
    Last edited by ideasgirl; 25 Jun 2017 at 04:47 AM. Reason: Nvmd
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

 

 
Page 62 of 67 FirstFirst ... 12526061626364 ... LastLast

Similar Threads

  1. Shipping Rates in Cart [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 95
    Last Post: 12 May 2023, 02:39 AM
  2. Shopping Cart Steps Images [Support Thread]
    By Trinity14 in forum Addon Templates
    Replies: 21
    Last Post: 11 Apr 2021, 05:35 AM
  3. v151 AJAX Add to Cart [Support Thread]
    By balihr in forum All Other Contributions/Addons
    Replies: 133
    Last Post: 20 Oct 2020, 02:16 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 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