Save for Later has been updated for Zen Cart 1.5.7.
Printable View
Save for Later has been updated for Zen Cart 1.5.7.
It appears that this plugin is not compatible with SBA. All that i get is a blank checkout page.
Can you post the debug log that was produced ?
[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.
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.
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?
Does SFL need updating for later versions of PHP? My install is throwing several PHP Warnings as follows:
(My shopping cart template page is heavily customized, so the line number mentioned won't be standard.)Quote:
--> 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.
What PHP version are you using? (The VERSION link in admin will show you.)
PHP version 7.3.33.
Fixes for PHP 7.3+ submitted.