Page 3 of 12 FirstFirst 12345 ... LastLast
Results 21 to 30 of 117
  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
    4,478
    Plugin Contributions
    121

    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.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  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
    61
    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:	301 
Size:	55.7 KB 
ID:	6366   Click image for larger version. 

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

    GM

  6. #26
    Join Date
    Jan 2007
    Posts
    1,086
    Plugin Contributions
    4

    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
    61
    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,086
    Plugin Contributions
    4

    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
    61
    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
    4,478
    Plugin Contributions
    121

    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.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

 

 
Page 3 of 12 FirstFirst 12345 ... LastLast

Similar Threads

  1. Simple SEO URL [support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 5039
    Last Post: 9 May 2013, 04:00 PM
  2. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM
  3. ZJ Silver Support Thread
    By anthonyd in forum Addon Templates
    Replies: 220
    Last Post: 5 Nov 2010, 03:30 PM
  4. SplitTaxLines mod support thread
    By pdprenty in forum All Other Contributions/Addons
    Replies: 80
    Last Post: 19 Dec 2009, 10:01 PM
  5. PO Box Ban [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 23
    Last Post: 28 Oct 2009, 11:58 PM

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
  •