Zen Cart Logo
Forums / All Other Contributions/Addons / Save For Later Support Thread

Save For Later Support Thread

Views: 64,707

Results 181 to 200 of 226
15 Aug 2020, 6:46 PM
#181
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Save For Later Support Thread

Save for Later has been updated for Zen Cart 1.5.7.

16 Aug 2020, 1:27 PM
#182
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Save For Later Support Thread

It appears that this plugin is not compatible with SBA. All that i get is a blank checkout page.

16 Aug 2020, 5:58 PM
#183
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

Can you post the debug log that was produced ?

16 Aug 2020, 7:34 PM
#184
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Save For Later Support Thread

[16-Aug-2020 08:23:41 CST6CDT] PHP Parse error: syntax error, unexpected '<' in /home/tennes60/public_html/shop/includes/templates/responsive_ttf/templates/tpl_shopping_cart_default.php on line 170

[16-Aug-2020 08:23:41 CST6CDT] Request URI: /shop/index.php?main_page=shopping_cart&zenid=bd9f6dc4d4b4ed39ef66df3edd231475, IP address: 69.137.114.242
--> PHP Parse error: syntax error, unexpected '<' in /home/tennes60/public_html/shop/includes/templates/responsive_ttf/templates/tpl_shopping_cart_default.php on line 170.

16 Aug 2020, 8:13 PM
#185
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

This means you have made a mistake during merging. Just take my copy of the file to start with (from the Save for Later zip), then introduce your changes.

4 Mar 2021, 8:47 AM
#186
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Save For Later Support Thread

I've stumbled across a problem with SFL.
If you have products that have a max quantity limit set and you already have the maximum allowed in cart, but also have the item in SFL list, it will allow you to move the item into the cart, taking you over the max allowed limit.
Admittedly, it will tell you this once you go to checkout, but the preferred behaviour would be that it doesn't allow such items to be moved from SFL to cart in the first place, with a notification to the use explaining this.

Is this something you could look into doing, or perhaps offer me some pointers on where I need to look to implement a fix myself?

23 Feb 2022, 12:17 AM
#187
planetjune avatar

planetjune

New Zenner

Join Date:
Jul 2008
Posts:
36
Plugin Contributions:
0

Re: Save For Later Support Thread

Does SFL need updating for later versions of PHP? My install is throwing several PHP Warnings as follows:

--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /XXX/public_html/shop/includes/functions/extra_functions/sfl_functions.php on line 629.

--> PHP Warning: Use of undefined constant button - assumed 'button' (this will throw an Error in a future version of PHP) in /XXX/public_html/shop/includes/templates/MYTEMPLATE/templates/tpl_shopping_cart_default.php on line 236.

--> PHP Warning: Use of undefined constant button_movetocart - assumed 'button_movetocart' (this will throw an Error in a future version of PHP) in /XXX/public_html/shop/includes/templates/MYTEMPLATE/templates/tpl_shopping_cart_default.php on line 236.

(My shopping cart template page is heavily customized, so the line number mentioned won't be standard.)

23 Feb 2022, 5:38 AM
#188
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

What PHP version are you using? (The VERSION link in admin will show you.)

23 Feb 2022, 12:12 PM
#189
planetjune avatar

planetjune

New Zenner

Join Date:
Jul 2008
Posts:
36
Plugin Contributions:
0

Re: Save For Later Support Thread

PHP version 7.3.33.

26 Feb 2022, 3:36 PM
#190
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

Fixes for PHP 7.3+ submitted.

27 Feb 2022, 3:11 PM
#191
planetjune avatar

planetjune

New Zenner

Join Date:
Jul 2008
Posts:
36
Plugin Contributions:
0

Re: Save For Later Support Thread

Thank you! Confirming that your update has fixed the problems :)

20 Aug 2023, 2:44 PM
#192
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Save For Later Support Thread

I am having a bit of trouble where I have inserted the plugin into my new v.1.5.8, ran the SQL stmt and the tables show in my database along with the attributes inside of them (info did not transfer from previous database so tables are empty).

When I add a product to my shopping cart, I click the Move To Wishlist button and it takes me back to my website's main page but when I return to my shopping cart, it has not moved it to Wishlist. There are also no Debug files generated in the /logs folder so I am not sure where I've gone wrong.

I am running PHP v 7.4.33 on my site, and have the plug in working correctly on my live version 1.5.7b site.

Hoping someone else might have had a similar problem and can point me in the right direction as to what I've done wrong.

Thank you in advance for any help!

20 Aug 2023, 3:55 PM
#193
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

Move to Wishlist is different from Save for Later. You will have to go to that Plugin's support thread.

20 Aug 2023, 4:29 PM
#194
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Save For Later Support Thread

Sorry for this mis-description in my previous post....it is the Save For Later plugin (v.1.8)that I am using.

20 Aug 2023, 5:13 PM
#195
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

Does the button you are pressing say Add to Wishlist (or something like that)? If so you'll have to go to another forum thread.
Does it say "Save for Later" (or something like that)? If so, I will investigate.

20 Aug 2023, 5:55 PM
#196
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Save For Later Support Thread

Hi swguy,

It definitely is the Save For Later plug in as this is the folder and files I am working with.

Thanks for your help!

20 Aug 2023, 7:39 PM
#197
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Save For Later Support Thread

Ok there's a new version now in the plugins library that fixes this issue which occurs in Zen Cart 1.5.8.

21 Aug 2023, 12:36 PM
#198
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Save For Later Support Thread

Thanks very much swguy for your reply and work on this...I appreciate it!

I'll grab it and get it installed

21 Aug 2023, 2:42 PM
#199
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Save For Later Support Thread

Again....thank you swguy for your updated plugin. I have now installed it and it all works perfectly!

17 Oct 2023, 12:40 PM
#200
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: Save For Later Support Thread

If a customer is not logged in and deleted the last item from their cart an error like this is thrown:

17-Oct-2023 07:30:51 America/Chicago] Request URI: /shopping_cart, IP address: 73.67.37.4, Language id 1
#0 /includes/templates/pcs_bootstrap/templates/tpl_shopping_cart_default.php(28): zen_debug_error_handler()
#1 /includes/templates/pcs_bootstrap/common/tpl_main_page.php(216): require('/i...')
#2 /index.php(94): require('/i...')
--> PHP Warning: Undefined variable $flagHasSavedContents in /includes/templates/pcs_bootstrap/templates/tpl_shopping_cart_default.php on line 28.

I think it's a matter of checking if $flagHasSavedContents is defined before checking if either $flagHasCartContents or $flagHasSavedContents is set, but I can't seem to wrap my head around the syntax this morning...
As always, any help is greatly appreciated!