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

Save For Later Support Thread

Views: 64,707

Results 1 to 20 of 226
19 Jan 2009, 9:07 AM
#1
swguy avatar

swguy

Administrator

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

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/zencart_saveforlater.html

The download is here: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_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.

10 Feb 2009, 11:38 AM
#2
setae719 avatar

setae719

New Zenner

Join Date:
Mar 2008
Posts:
6
Plugin Contributions:
0

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.

10 Feb 2009, 1:52 PM
#3
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
730
Plugin Contributions:
0

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:

17 Feb 2009, 5:27 PM
#4
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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.

17 Feb 2009, 6:29 PM
#5
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 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).

17 Feb 2009, 7:12 PM
#6
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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! :-)

18 Feb 2009, 11:44 PM
#7
tfgz avatar

tfgz

New Zenner

Join Date:
Aug 2006
Posts:
33
Plugin Contributions:
0

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?

19 Feb 2009, 1:32 AM
#8
swguy avatar

swguy

Administrator

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

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.

23 Feb 2009, 5:52 AM
#9
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

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:

<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 ```
<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.
23 Feb 2009, 12:15 PM
#10
swguy avatar

swguy

Administrator

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

Re: Save For Later Support Thread

Good suggestion; thank you.

23 Feb 2009, 5:20 PM
#11
jimmyx avatar

jimmyx

New Zenner

Join Date:
Feb 2009
Posts:
22
Plugin Contributions:
0

Re: Save For Later Support Thread

Sorry people but I have yet another n00b question.

I installed save for later no problems, but when I was going thru the optimizing tips I ran into a wall :frusty:

the following is from the read me:

  1. You can add descriptive text about Save For Later to the shopping cart help
    screen by modifying the files

includes/languages/english/<your template>/info_shopping_cart.php
includes/templates/<your template>/templates/tpl_info_shopping_cart_default.php

Simply follow the example given and define title and text 4. Or, if you prefer, update the string TEXT_INFORMATION in

includes/languages/english/<your template>/shopping_cart.php

it states follow the example given, I cannot find said example?? I suppose I am blind and if someone could point me in the right direction that would be great.

Id like to update the information on the Save For Later so customers really understand what it is and how it works. I just have no idea what I am supposed to edit / add to these files.

Any advice would be much appreciated.

Thank you all for your time

23 Feb 2009, 5:25 PM
#12
swguy avatar

swguy

Administrator

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

Re: Save For Later Support Thread

Copy the file

includes/languages/english/info_shopping_cart.php

into

includes/languages/english/<your template>/info_shopping_cart.php

Modify SUB_HEADING_TEXT_2 to describe Save For Later.

23 Feb 2009, 6:02 PM
#13
jimmyx avatar

jimmyx

New Zenner

Join Date:
Feb 2009
Posts:
22
Plugin Contributions:
0

Re: Save For Later Support Thread

ok so I would change

define('SUB_HEADING_TITLE_2', 'Members Cart');

to define('SUB_HEADING_TITLE_2', 'Save Cart for Later');

or something along those lines?

thanks for the quick reply.

27 May 2009, 4:01 PM
#14
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

Re: Save For Later Support Thread

im trying to add the shopping cart link in the header when there its empty but i cant figure out what lines to change. Info file says to edit the tpl_header.php but i dont see what line is to be changed?

27 May 2009, 9:58 PM
#15
swguy avatar

swguy

Administrator

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

Re: Save For Later Support Thread

The README file shows the exact block of code to change in the default template. If your template is different and/or you can't figure it out, put an ad in the commercial help wanted forum for someone to do it for you.

25 Jun 2009, 2:31 PM
#16
anoop avatar

anoop

New Zenner

Join Date:
Oct 2008
Posts:
15
Plugin Contributions:
0

Re: Save For Later Support Thread

TFGZ:

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?

Same issue here. Save for later button creates item in SFL cart but not removes from the shopping cart , also when clicking it in sfl cart, item does not move to shopping cart. May be something to do with the sessions or something?:dontgetit

26 Jun 2009, 5:49 AM
#17
anoop avatar

anoop

New Zenner

Join Date:
Oct 2008
Posts:
15
Plugin Contributions:
0

Re: Save For Later Support Thread

Some more details :
I am using Zen-Cart Version 1.38a
Server OS: Linux 2.6.9
PHP Version: 4.3.9
Database: MySQL 4.1.22
HTTP Server: Apache/2.0.52

May be SaveForLater is incompatible with PHP 4.:unsure:
Any ideas where is the problem, guys?

26 Jun 2009, 8:20 AM
#18
swguy avatar

swguy

Administrator

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

Re: Save For Later Support Thread

Try using the shopping cart template from my mod unchanged and see if that works. Most of the issues I've seen have been bad merges of this file.

27 Jun 2009, 10:29 AM
#19
anoop avatar

anoop

New Zenner

Join Date:
Oct 2008
Posts:
15
Plugin Contributions:
0

Re: Save For Later Support Thread

The cart template file was replaced with original SFL module file. Still shows the same error. Any ideas which page/file might be causing this error.

27 Jun 2009, 2:25 PM
#20
swguy avatar

swguy

Administrator

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

Re: Save For Later Support Thread

No idea. In a subdirectory, install a fresh download of 1.3.8a and install SFL on top of it and see if you can get that to work. If not, it's something with your hosting provider/setup.