Page 24 of 67 FirstFirst ... 14222324252634 ... LastLast
Results 231 to 240 of 663
  1. #231
    Join Date
    Apr 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Recover Cart

    I think you may find that the fix suggests you add $cust_array = array(); below the $custlist = ''; and not replace that line.........

    Quote Originally Posted by bigjoed View Post
    On your file admin/stats_recover_cart_sales.php replace the following code on line 96:

    $custlist = '';

    Replace with:

    $cust_array = array();


    It was posted here.

  2. #232
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Recover Cart

    For ZenCart Version 1.3.8a the following install worked for me:

    From the ZenCart Downloads section:
    Download and install "Recover Cart Sales" V3.0 August 12 2007.

    Modify admin/stats_recover_cart_sales.php as follows:
    find around line 96:

    Code:
    $custlist = '';
    change to:

    Code:
    $custlist= '';
    $cust_array = array();

    Modify admin/recover_cart_sales.php as follows:
    Find around line 381:

    Code:
    if ((time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {
    change to:

    Code:
    if ($basket->fields['datemodified'] != '' && (time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {
    These modifications are the same as posted by Andrew Berezin in post #199. I can confirm that this modification works with ZenCart version 1.3.8a with the listed modifications installed.
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

  3. #233
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default Re: Recover Cart

    I have this installed with 1.38 and have applied the patches. When testing, existing customers receive the EMAIL_TEXT_NEWCUST_INTRO rather than the EMAIL_TEXT_CURCUST_INTRO.

    Can someone confirm that EMAIL_TEXT_CURCUST_INTRO is being sent on their install?

  4. #234
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,555
    Plugin Contributions
    70

    Default Re: Recover Cart

    If you receive an error message on line 153 of stats_recover_cart_sales.php regarding an invalid argument supplied for the foreach() function, then before line 119:

    PHP Code:
    if (!$orders->EOF) {
      
    $custknt++;
      
    $total_recovered += $orders->fields['value'];
      
    $cust_array[$custknt] = array_merge($scart->fields$orders->fields);

    add:

    PHP Code:
    $cust_array = array(); 

  5. #235
    Join Date
    Aug 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Recover Cart

    Hi,

    I have been editing the recover_cart_sales.php to customize the email sent out. I do want to make it more personal by having the customers first name only. Can anyone help with how I can achieve this. TIA

  6. #236
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: Recover Cart

    i have the fllowing error on the reports tool of this mod. getting this error,

    Warning: Invalid argument supplied for foreach() in /public_html/store/admin/stats_recover_cart_sales.php on line 153

    this is in the Amount section of the table. This is a fress install on 1.3.7. is this error because the mod has no detils to work with yet or is it a problem??

  7. #237
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Recover Cart

    Perhaps scrolling up 2 posts might give you the answer you're seeking?
    .

    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.

  8. #238
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: Recover Cart

    fixed thanks, i did see the post but thought i would post the whole error code as this help people searching for the error code etc

  9. #239
    Join Date
    Nov 2007
    Posts
    162
    Plugin Contributions
    0

    Default Re: Recover Cart

    Quote Originally Posted by naturalolive View Post
    Hi,

    I have been editing the recover_cart_sales.php to customize the email sent out. I do want to make it more personal by having the customers first name only. Can anyone help with how I can achieve this. TIA
    I would really like to know the answer to this, too. Using the last name in emails is just WAY too impersonal for my customers, too.

    Any help is welcomed and appreciated.

    Zencart ROCKS!
    www.ZenCrystals.com
    www.CraftMagick.com
    Magickal & Metaphysical supplies/services

  10. #240
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,555
    Plugin Contributions
    70

    Default Re: Recover Cart

    So as to not confuse anyone, my post had a mistake. The change should be added before the loop at around line 97 as someone else had mentioned.

 

 
Page 24 of 67 FirstFirst ... 14222324252634 ... 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