Yeah, fix is working. Tested on responsive classic. Thank you.![]()
Yeah, fix is working. Tested on responsive classic. Thank you.![]()
Good plugin. Everything seems working smooth.
But it seems also, there is some usability issue there:
If I have some 'Saved For Later' products, but my shopping cart is empty (I've placed an order or simply emptied the cart and leaved 'cart'-page), how can see the list of 'Saved For Later' products? (or even - how can I realize I have some products in this list?)
My suggestion: by emptying the cart the 'Saved for later' goods must be automatically moved back to shopping cart (NOTIFIER_CART_RESET_END can be used ??)
Last edited by yesaul; 21 Nov 2019 at 09:19 PM.
As noted on the prior page of posts, the shopping cart page *is* displayed with the save for later items in the responsive classic template.
Study the differences between responsive classic and your template to see why yours doesn't do this.
As for moving the products to the cart upon emptying the cart - if you look at other carts that implement Save for Later type functionality, you'll find they don't do this. Most users would find it both astonishing and annoying.
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.
Thank you for your reply. And sorry, probably my explanations were not clear enough.
I try to test your addon on pure Zen Cart 156c, using Responsive Classic template by default.
Once again (for example): if I move all goods into the 'Saved For Later' list (no more products in 'cart') and then leave 'cart'-page - how can I realize, there still are some products in 'Saved For Later' list ?? (the 'cart'-sidebox is not being displayed, as there are no products in the main cart)
This is the design intent. Look at how Amazon does it.
If you really want to customize it to work the way you think it should work, go for it- but I wouldn't recommend it.
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.
Let me explain. I have just realize myself how it works on Amazon site. Say a week later when you return to the site you have shopped in, provided you've logged in, and knowing that you cart is empty there, see your cart indicator is "0" items. Despite this obvious fact you continue to your empty cart to see how it looks and voila! you got there "saved for later" items list. Bear in mind the feature is completely different to "wish list".
This module throws an error if using PHP 7.2 or above due to the each() function being deprecated.
Error log shows
PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /Users/sp/Developer/zc157/includes/functions/extra_functions/sfl_functions.php on line 160.
Should have added the offending line to the post!
Line 160 is
while (list($products_id, ) = each($contents)) {
For anyone else wanting to use PHP version 7.2 and above, replace
line 160
while (list($products_id, ) = each($contents)) {
with
foreach(array_keys($contents) as $products_id) {
Yep, there are a bunch of those. I will update the module soon.
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.
Bookmarks