Page 1 of 2 12 LastLast
Results 1 to 10 of 673

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    I always wondered what that gobblydeegook was at the end of some of the URL's we get sent.... Is there a way to switch them off at all?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Recover Cart

    Probably, but I do not use this add on so I cannot speculate on the customization that you would need ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    Quote Originally Posted by Ajeh View Post
    Probably, but I do not use this add on so I cannot speculate on the customization that you would need ...
    If you have ecommerce stores then I'd recommend this mod. It's definitely a good sale clincher as it gets you back in contact with any bailed cart customers. I find that nine times out of ten they'll get back in touch because of this mod. Definitely a good add-on to use...... If you do decide to download it, maybe you can have a look at the weird URL with attributes selected issue :)

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    Probably just a simple swith in this code:

    PHP Code:
                // BEGIN OF ATTRIBUTE DB CODE
                
    $prodAttribs ''// DO NOT DELETE
                
    if (RCS_SHOW_ATTRIBUTES == 'true') {
                    
    $attribrecs $db->Execute("SELECT cba.products_id,
                                                                                         po.products_options_name poname,
                                                                                         pov.products_options_values_name povname
                                                                            FROM " 
    TABLE_CUSTOMERS_BASKET_ATTRIBUTES " cba,
                                                                                     " 
    TABLE_PRODUCTS_OPTIONS " po,
                                                                                     " 
    TABLE_PRODUCTS_OPTIONS_VALUES " pov,
                                                                                     " 
    TABLE_LANGUAGES " l
                                                                            WHERE cba.products_id ='" 
    . (int)$basket->fields['products_id'] . "'
                                                                                AND cba.customers_id = " 
    $curcus "
                                                                                AND po.products_options_id = cba.products_options_id
                                                                                AND pov.products_options_values_id = cba.products_options_value_id
                                                                                AND po.language_id =" 
    . (int)$_SESSION['languages_id'] . "
                                                                                AND pov.language_id =" 
    . (int)$_SESSION['languages_id']);
                    
    $hasAttributes false;
                    if (
    $attribrecs->RecordCount() > 0){
                        
    $hasAttributes true;
                        
    $prodAttribs '<br />';
                        while (!
    $attribrecs->EOF){
                            
    $prodAttribs .= '<small><i> - ' $attribrecs->fields['poname'] . ' ' $attribrecs->fields['povname'] . '</i></small><br />';
                            
    $attribrecs->MoveNext();
                        }
                    }
                }
                
    // END OF ATTRIBUTE DB CODE 
    If I was any good with PHP I'm sure I'd see how to turn it off, but I amn't and I can't :)

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Recover Cart

    See what happens if you change the references on $cline and $mline for:
    $basket->fields['products_id']

    to be:
    (int)$basket->fields['products_id']
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    Well, I wasn't 100% sure what you meant about the $cline and $sline so I just replaced all eleven instances with the new (int)$basket->fields['products_id'] and it seems to have done the trick.... Thank you Ajeh, your genious is inspiring!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Recover Cart

    You really do not want to do that ...

    Looking further at this file, I would first try a ...

    Search of the file:
    /your_secret_admin/recover_cart_sales.php

    and search for:
    $mline

    and only on references to this $mline make the change ...

    I am pretty sure if you do make this change in other places that you may actually break things on this program ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    Hi Ajeh,

    I've taken your advice, gone back to the original file and replaced only the two instances with the $mline. It was only this line then:

    PHP Code:
                $mline .= $basket->fields['customers_basket_quantity'] . ' x ' $products->fields['name'] . "\n";
                
    $mline .= '   <blockquote><a href="' zen_catalog_href_link(FILENAME_PRODUCT_INFO'products_id='. (int)$basket->fields['products_id'] ) . '">' zen_catalog_href_link(FILENAME_PRODUCT_INFO'products_id='. (int)$basket->fields['products_id'] ) . "</a></blockquote>\n\n";
                
    $basket->MoveNext(); 
    Just need to run some tests and make sure it's still picking up on bailed carts.

  9. #9
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    OK, how did you simulate a bailed cart? It's just that when I simulate a bailed cart by logging in and adding an item to cart as a customer.... when I cose the browser (bail) and go back to recover cart sales... it doesn't appear there as a recoverable record. It used to :)

  10. #10
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Recover Cart

    Hang on, it's working! It just seems to take quite a while to propagate bailed carts into the recover cart area! It's working!!

 

 
Page 1 of 2 12 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

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