Results 1 to 10 of 673

Hybrid View

  1. #1
    kelvyn Guest

    Default Re: Recover Cart

    Quote Originally Posted by twi View Post
    can anyone tell me how to do the patch in admin>patch mysql?

    the readme instructions tells me to patch but did not specify how to patch. specific and detailed instructions would be greatly appreciated. I do not know

    p.s. how to use MySQL.
    ADMIN>TOOLS>INSTALL SQL PATCHES - paste the code and then press SEND!
    (backup first!)

  2. #2
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Recover Cart

    you mean to paste in and the click send (four times) for each of the following below?:


    scartid int(11) NOT NULL auto_increment,

    customers_id int(11) NOT NULL default '0',

    dateadded varchar(8) NOT NULL default '',

    datemodified varchar(8) NOT NULL default '',


  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Recover Cart

    Quote Originally Posted by twi View Post
    you mean to paste in and the click send (four times) for each of the following below?:


    scartid int(11) NOT NULL auto_increment,

    customers_id int(11) NOT NULL default '0',

    dateadded varchar(8) NOT NULL default '',

    datemodified varchar(8) NOT NULL default '',

    open the sql script in your text editor and then select all

    copy the entire sql script

    paste it into admin -> tools -> install sql patches and press the send button

  4. #4
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Recover Cart

    Thanks

  5. #5
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Recover Cart

    This script requires the full processing. I love the idea of the script, but did not like how it is programmed.
    Since I am no longer using this release, I have got only two corrections to the above errors.

    recover_cart_sales.php
    Find:
    Code:
    if ((time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {
    Replace by
    Code:
    if ($basket->fields['datemodified'] != '' && (time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {
    stats_recover_cart_sales.php
    Find:
    Code:
    $custlist = '';
    Add below
    Code:
    $cust_array = array();

  6. #6
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Recover Cart

    Thanks Andrew for the patch.

    To anyone else who wishes to work on improving or fixing bugs in this mod...

    Just to report that after a cart is "recovered", in ZC admin under "Reports" > Recovered Sales Results", the "order date" displays correctly but the "date added to SC" and "RC email sent" are incorrect.

    I added Andrew's patch but it did not appear to affect/correct this issue. Likely some other datetime functions are either translating the datetime entry incorrectly when being read from the DB or the datetime is incorrectly written to the database.

    Also in ZC admin, under "Tools" > "Recover Cart Sales" I observe a few "ghost" entries, that is entries without a customer name attached. And sometimes an entry has no "Cart Total" or "Set Contacted" link or "delete" button associated with it.

    Woody

  7. #7
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Recover Cart

    Hi Woody,
    Quote Originally Posted by Woodymon View Post
    Just to report that after a cart is "recovered", in ZC admin under "Reports" > Recovered Sales Results", the "order date" displays correctly but the "date added to SC" and "RC email sent" are incorrect.
    Screenshot please

    Quote Originally Posted by Woodymon View Post
    Also in ZC admin, under "Tools" > "Recover Cart Sales" I observe a few "ghost" entries, that is entries without a customer name attached. And sometimes an entry has no "Cart Total" or "Set Contacted" link or "delete" button associated with it.
    This is an very-very-very old "initial" bug.
    Before these records were also, but they showed no script. There are two options:
    1. to hide these records
    2. remove these records

 

 

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

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