Save For Later Support Thread
When you're shopping on Amazon.com, you may have noticed that on the shopping cart page, items can be deleted from the cart but they can also be "saved for later." These items remain visible to the customer but are not included in the current checkout.
This functionality is now available in Zen Cart with my Save For Later mod. You can see screenshots and a link to a cart where you can try it out on my home page at http://www.thatsoftwareguy.com/zenca...eforlater.html
The download is here: http://www.zen-cart.com/index.php?ma...oducts_id=1246
All the files in this mod are new except for the shopping cart template; significant changes were made on this page, and my recommendation is that you install the version from this mod and then merge your changes in rather than vice versa.
This mod is aligned with Zen Cart 1.3.8; it has not been tested with (and is not recommended for) older versions.
If you like and profit from this mod (or indeed any of my contributions), donations are encouraged; PayPal to help at thatsoftwareguy dot com.
Re: Save For Later Support Thread
I am using v1.3.8, First I'm a zencart newbie so please bear with me. I am trying to figure out what I did wrong for this module. My arrow are not showing up int the shopping cart and I'm not sure how to merge the shopping cart php file. I couldn't find the one that's suppose to be in the save for later files?:unsure:
Any help would be greatly appreciated.
Re: Save For Later Support Thread
There should be a folder called Custom or Your_Template in the includes/template path.
Or the instructions might be in the readme or docs file.
Google Winmerge - this is great for comparing your files with modified files.
:smile:
Re: Save For Later Support Thread
Yet another very useful and well written mod by swguy! Thank you!!!:bigups:
I have a suggestion for a future release. Allow saved carts for visitors. I am not sure how this would work, perhaps with a cookie or only requiring an email address which could be inputted on the shopping cart page so it can be saved to the database? I think this would increase conversions without a doubt.
Re: Save For Later Support Thread
This would be more of a Zen Cart feature than a Save for Later feature. The point of Save for Later is to allow you to go through checkout with a subset of the items in the cart. Saving visitor carts is something that would require core changes and additional configuration (i.e. extensions to the current "visitor's cart" behavior).
Re: Save For Later Support Thread
Ah, ok, thanks for the explanation. I haven't looked through the v2 roadmap completely so I don't know if this is something that will be included in the next ZC release. But, perhaps with the new core structure it will be easy to make this implementation without changing core code. By then, I think my coding chops will be up to the level that I can start coding a mod from scratch! :-)
Re: Save For Later Support Thread
I'm using v1.3.8 and everything appears correctly, however, Save for Later is not removing the item from the cart when it creates an instance of the item in the Saved area. And when an item is Moved to Cart, it is removed from the Save area but it does not reappear in the cart.
Any idea what has gone wrong with my install?
Re: Save For Later Support Thread
Check includes/main_cart_actions.php against a copy from a fresh download of 1.3.8a. Other than that, I have no idea.
Re: Save For Later Support Thread
Great mod, working perfectly for me. Thanks Scott!
One recommendation for some code to add to your new "tpl_shopping_cart_default.php".
At line 145, I inserted these two lines from the standard cart:
Code:
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
This should be just above
Code:
<h1><?php echo SFL_HEADING_TITLE; ?></h1>
This will display the "Continue Shopping" link in it's traditional place, allowing the user to more easily carry one with product browsing. If the cart is empty, this button is normally hidden.
Re: Save For Later Support Thread
Good suggestion; thank you.