Forcing a Cart Save |
Post Reply | Page <12 |
Author | ||
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
|
Hi Avalight, Good idea, I'll move it to Customizing ProductCart
|
||
avalight
Newbie Joined: 21-September-2007 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
|
Okay Brett
Here is the code I ended up using. Beginning with yours, I added a link for someone to jump directly to the login screen in case they weren't already logged in, and also once they were logged in, the link changes so they can view all their saved carts, not the page where they can rename their carts. As far as code placement , tried putting the code where you suggested, and it didn't show up. So thru trial and error, the only place I could get it to show up in a decent place in the storefront was just before the code section labeled BTO ADDON-S - Putting it here makes the links show up above the cart contents, under the checkout button. I couldn't get it to show up at the bottom of the page, where it would be more noticable. Maybe there is another asp file that gets loaded for that section of the page...who knows.
So there you have it. At least it is there and is functional. Thanks again curt |
||
Curt
|
||
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
|
hey Curt,
im glad you got it working! what's funny is the only tricky thing I really did was pull the save cart id and append that to the CustSavedCarts url. now all you've done is provide a link to the view or save cart page, which already exists in custpref.asp. however, i agree that it is far more useful on the shopping cart page, for this particular use. Here's my viewCart.asp, where I have the link just below the list of cart items and the <hr>. the problem with the previous code may have been a lack of table row and divisions. Here's a screenshot of the portion of the cart where you can see the link is displayed: viewcart.zip Here's the edited code:
I put it right above:
|
||
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
|
you might like this:
If they are logged out, it will show them the login link like you had. If they are logged in, it will show them a form to name and save the cart directly from the viewCart.asp page. The stipulation is this code must be OUTSIDE the other main <form> from the page. I put it right before the opening <form, just after "<% '// START main form %>" You could probably also put it after the end of that form, it just can't be inside because I guess you can't have a form within a form. |
||
Post Reply | Page <12 |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |