-
- adityak

-
Total Posts: 63
Joined: 2008-02-10
India
|
Where is the shopping cart data stored- in the database table or in cookies?
|
| |
-
- Posted: February 20 2008
-
| top
-
|
 |
 |
 |
|
|
|
|
-
- adityak

-
Total Posts: 63
Joined: 2008-02-10
India
|
Can you tell me the table name?
Also is there a way to store this data in cookies?
I want to do this to store the cart for guest users
|
| |
-
- Posted: February 20 2008
-
| top
| # 2
-
|
 |
 |
 |
|
|
|
|
-
- Mark_Kimsal

-
Total Posts: 186
Joined: 2007-09-12
Michigan, USA
|
adityak - 20 February 2008 05:17 AM
Also is there a way to store this data in cookies?
I want to do this to store the cart for guest users
Why do you really want to store the cart in cookies? It can’t be just for guest users. What is the real reason?
Secondly, do you mean *in* the cookies? Or in the session?
If you mean in the cookies, no, there’s no way to do it and there never will be. If you mean the second option. No, there’s no way to do it and there probably never will be.
|
| |
-
- Posted: February 20 2008
-
| top
| # 4
-
|
 |
 |
 |
|
|
-
- adityak

-
Total Posts: 63
Joined: 2008-02-10
India
|
Ok i have deviated from the real purpose…
Actually I want to show the user the last item seen by him when he logs in.
(e.g. “the last mobile phone seen by u")
And if the user is a guest, obviously this info can only be stored in a cookie… correct me if im wrong
I want to store this information in a cookie
|
| |
-
- Posted: February 20 2008
-
| top
| # 5
-
|
 |
 |
 |
|
|
-
- zburnham

-
Total Posts: 69
Joined: 2007-11-07
Westborough, MA
|
adityak - 20 February 2008 06:46 AM Ok i have deviated from the real purpose…
Actually I want to show the user the last item seen by him when he logs in.
(e.g. “the last mobile phone seen by u")
And if the user is a guest, obviously this info can only be stored in a cookie… correct me if im wrong
I want to store this information in a cookie
Correct me if I’m wrong, but wouldn’t that have privacy implications as well? Not everyone uses separate logins on the same computer, and just to take the most benign example, do you want little Susie knowing you were just looking at something that she’s getting for her birthday? At least if it’s a registered user, you can log out of your account and that information is no longer available.
|
| |
-
- Posted: February 20 2008
-
| top
| # 6
-
|
 |
 |
 |
|
|
-
- Mark_Kimsal

-
Total Posts: 186
Joined: 2007-09-12
Michigan, USA
|
adityak - 20 February 2008 06:46 AM Ok i have deviated from the real purpose…
Actually I want to show the user the last item seen by him when he logs in.
(e.g. “the last mobile phone seen by u")
And if the user is a guest, obviously this info can only be stored in a cookie.
This is going to be pretty involved, I’m not sure if there are classes to work with cookies that are not session cookies in Magento. I guess you could use raw php setcookie() calls in the Catalog/controllers/ProductController::viewAction(). That is how you can easily save the information, but in order to show it, that is more complicated because it depends exactly on how you want to show it.
|
| |
-
- Posted: February 20 2008
-
| top
| # 7
-
|
 |
 |
 |
|
|
-
- adityak

-
Total Posts: 63
Joined: 2008-02-10
India
|
I want to create a widget for this.
Any idea how i can create a new widget for this?
It should be like the mini-cart widget
|
| |
-
- Posted: February 20 2008
-
| top
| # 8
-
|
 |
 |
 |
|
|
-
- Michael

-
Total Posts: 826
Joined: 2007-08-31
|
Hi guys,
Recently Viewed Products functionality has been already implemented and will be avaialble in the next release
|
| |
-
- Posted: February 25 2008
-
| top
| # 9
-
|
 |
 |
 |
|
|
-
- adityak

-
Total Posts: 63
Joined: 2008-02-10
India
|
Thats cool
Micheal, can u tell me when this next release is expected?
|
| |
-
- Posted: February 28 2008
-
| top
| # 10
-
|
 |
 |
 |
|
|