Results 1 to 10 of 226

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: Save For Later Support Thread

    Scott - one quick question and then I will leave you in peace.

    Why is it necessary to be logged in to save for later - a customer can add to cart without being logged in - as a shopper I would be confused.

    cheers, Mike

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,524
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    Just like it's necessary to be logged in to have a persistent cart. Things are keyed by customer id.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: Save For Later Support Thread

    Got this installed on a fresh Zen Cart v1.5.4, having made the changes suggested in the readme to get the button to display on the product_info page.

    The thing is, when the "Save for Later" button is clicked, the product is added to the cart not to the save-for-later list. Any suggestions as to where to start looking for the correction?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: Save For Later Support Thread

    Found it; the readme instructions are close:
    Code:
    b) In includes/main_cart_actions.php, change the block 
    
      case 'add_product' :
      $_SESSION['cart']->actionAddProduct($goto, $parameters);
      break;
    
    to
    
      case 'add_product' :
      if (isset($_POST['sfl'])) {
         actionSaveForLaterFromProductPage($goto, $parameters); 
      } else {
         $_SESSION['cart']->actionAddProduct($goto, $parameters);
      } 
      break;
    but should be:
    Code:
    b) In includes/main_cart_actions.php, change the block 
    
      case 'add_product' :
      $_SESSION['cart']->actionAddProduct($goto, $parameters);
      break;
    
    to
    
      case 'add_product' :
      if (isset($_POST['sfl_x'])) {
         actionSaveForLaterFromProductPage($goto, $parameters); 
      } else {
         $_SESSION['cart']->actionAddProduct($goto, $parameters);
      } 
      break;

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,524
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    There's definitely a bug in the instructions, but I don't think that's it - that doesn't seem to work either.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,524
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    OK got it. The $goto change in includes/classes/shopping_cart.php needs to be done for both zen_redirect calls. Posting an update shortly.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,524
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    Save For Later 1.4.1 was just released with corrected instructions for installing Save for Later on your product info pages.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v150 Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 151
    Last Post: 17 Feb 2026, 01:41 PM
  2. v151 Autoresponder+ for ZCv1.5.x [Support Thread]
    By countrycharm in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 19 May 2019, 04:39 PM
  3. Autoresponder+ for ZC v1.3.x [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 229
    Last Post: 28 Jun 2017, 12:32 AM
  4. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 5 Dec 2013, 05:44 AM
  5. Image Handler / Tabbed Products Pro ... and Save for Later
    By ksoup in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 Jan 2011, 12:11 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