Page 3 of 21 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 210
  1. #21
    Join Date
    Oct 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Nope. Installed a fresh copy of ZCv1.38a and SFL on the server. the same issue again It seems the problem is with the server setup. I really miss feature, it worked on my local machine. Is there any PHP4 specific setting i missed to configure.

    Also the phpMyAdmin shows an warning 'mbstring PHP extension was not found and without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results'. Is the error due to this?

  2. #22
    Join Date
    Oct 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Issue Solved

    In /includes/functions/extra_functions/sfl_functions.php

    Changed line 568
    Code:
     $cart->add_cart($_POST['products_id'], $cart->get_quantity(zen_get_uprid($_POST['products_id'], $real_ids))+($new_qty), $real_ids);
    to
    Code:
     $_SESSION['cart']->add_cart($_POST['products_id'], $_SESSION['cart']->get_quantity(zen_get_uprid($_POST['products_id'], $real_ids))+($new_qty), $real_ids);
    Also changed line 658
    Code:
     $cart->remove($_GET['product_id']);
    to
    Code:
     $_SESSION['cart']->remove($_GET['product_id']);
    Thanks for your support,
    Anoop

  3. #23
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,625
    Plugin Contributions
    123

    Default Re: Save For Later Support Thread

    I suspect this change will cause problems if the person's session times out and they press the shopping cart page button - no?
    The real fix for this problem is to upgrade to PHP5.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  4. #24
    Join Date
    Oct 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Checked for session time out, no errors were noticed. As long as this works, the issue is fixed for me. I will be using PHP5 for my next project.
    Thanks,
    Anoop

  5. #25
    Join Date
    Sep 2008
    Posts
    64
    Plugin Contributions
    0

    red flag Re: Save For Later Support Thread

    I have a problem with this. I've installed it and it's working fine but when all items are saved in the SFL section and there are no items in the shopping cart section then my right column is being distorted. If there is an item in both the shopping cart and saved cart then the column is undistorted? A solution is much appreciated. See attached picture.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	distorted right column.jpg 
Views:	414 
Size:	55.7 KB 
ID:	6366   Click image for larger version. 

Name:	undistorted.jpg 
Views:	397 
Size:	57.1 KB 
ID:	6367  
    Regards,

    GM

  6. #26
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Save For Later Support Thread

    Quote Originally Posted by globalmemory View Post
    I have a problem with this. I've installed it and it's working fine but when all items are saved in the SFL section and there are no items in the shopping cart section then my right column is being distorted. If there is an item in both the shopping cart and saved cart then the column is undistorted? A solution is much appreciated. See attached picture.
    Looks like a </div>(or one of the table tags) goes missing somewhere in between states of cart with products and only save for later, this is template specific because it hasn't happened on the sites that I implemented this on. Did you merge the tpl_shopping_cart_default.php file? If so then I think you might have missed a closing tag somewhere. So, look at the source on the shopping cart page to see if you can trace where there is a missing </div> or </tr> or </table> etc tag.

    Zen Cart and it's community are the best!!

  7. #27
    Join Date
    Sep 2008
    Posts
    64
    Plugin Contributions
    0

    red flag Re: Save For Later Support Thread

    Thanks for your response. I've copied the files exactly as they are? can i send you the file so you can have a look at it?
    Regards,

    GM

  8. #28
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Save For Later Support Thread

    A careful comparison between your original file and the modified file should show the difference. Did the template you are using come with an includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php file? If so, that means there were changes made to the default file which is why it's in your overrides directory and by just dropping in the file that came with save for later you lost the customizing that your template's file has.

    If you don't have a comparison tool yet, I would suggest winmerge, it's free and easy to use. You need to merge only those parts that have to do with save for later, sometimes there are other differences to do with using different version core files or other changes that have been made for other mods or templates.

    Zen Cart and it's community are the best!!

  9. #29
    Join Date
    Sep 2008
    Posts
    64
    Plugin Contributions
    0

    red flag Re: Save For Later Support Thread

    I first of all used winmerge to merge the files and then noticed this problem. I then copied the file as is and the problem still persists?
    Regards,

    GM

  10. #30
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,625
    Plugin Contributions
    123

    Default Re: Save For Later Support Thread

    Then the problem is a latent bug in your template that this change uncovered. Use an xhtml validator to track down the problem.
    That Software Guy. My Store: Zen Cart Modifications
    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.

 

 
Page 3 of 21 FirstFirst 1234513 ... LastLast

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: 145
    Last Post: 24 Oct 2023, 05:00 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

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