Magento1.7:Facing issue with shopping cart - magento

I am facing some critical issue in Magento:
When I logged in and added some products in cart and logged out, again logged in then those products were still remaining in shopping cart.
----> This should not have happened because I set "Clear Persistence on Log Out".
The steps involved in this case are:
I logged in.
Added 2 products to my cart.
Now I logged out.
Then without logging in , I browsed the website and added 4 products to cart.
After that, at the time of checking out I was requested to login, so I logged in.
Now instead of 4 products(which is intended), I see 2+4=6 products in my cart during payment.
I configure as below --
Enable Persistence -- Yes
Persistence Lifetime (seconds) -- 60
Enable "Remember Me" -- Yes
"Remember Me" Default Value --- No
Clear Persistence on Log Out -- Yes
Persist Shopping Cart -- Yes
But unable to figure out the problem, in configuration I put 60 second. I logged out and after 5 minutes again I logged in. I found products are remain in shopping cart.
According to configuration, product must be deleted from shopping cart after I logged out.
I messed up with this problem.
Kindly help me.

It's the persistent cart feature introduced in Magento 1.5. You can disable it at:
System->configuration->Persistent Shopping Cart

Related

How to perform action when woocommerce cart cleared by expired session?

I have set up custom session expiration times to be 5 minutes. I am making custom seat information unavailable when a WC product that is a seat is added to cart.
I was able to get the cart to clear when session expire in 5 minutes but I am not able to run an action to make that same seat available back again during cart cleaning process upon session expiration.
The actions "woocommerce_cart_emptied" "woocommerce_cart_item_removed" "woocommerce_remove_cart_item" doesnt seem to be run when the cart is cleared by expired session. Does any of you know how to perform a function when cart clear upon expired session?
You can try following hook woocommerce_cleanup_sessions

Magento Customer Account Sharing across multiple websites

I have a single magento installation (ver 1.6) and created 3 websites for USA, UK and Europe each has its own store and store view I want to implement multi-currency and sharing one shopping cart among all these three websites. Everything is fine but when I select
System>Configuration>Default>Customer Configuration>Share Customer
Accounts to Global
, I get the following error after successful login tries to redirect customer
Fatal error: Cannot unset string offsets in /home/wwwabc/public_html/lib/Varien/Object.php on line 293
Sometimes login successfully redirect to My Account page and this error displayed when customer clicks on "Logout" I think there is some session/cookie issue but could not figure it out.
Anyone can help quickly please...?
are u sharing cart on website level or store levels. Default magento share shopping cart on store view levels?

Magento cachen in header: welcome and cart when session expired

It seems my Magento is showing wrong information in my header. When the session expires, it still shows information for a specific user. When I return to the website after a day, I did still see "welcome rolandow!", but then when I click this to access "my account", it asks for my login details.
The welcome message I solved by checking in the Header block with IsLoggedIn() if the user is still logged in. But now it also shows my shopping cart while I am logged out.
It shows the actual shopping cart of the user account that I last used to log in. If I open another browser, alter my shopping cart, and then refresh the browser with expired session, the cart is renewed, so the data must be pulled out of the DB. When I click my account, or want to finish the checkout, it asks for login.
So this must be a cookie / cache problem.
I am using APC cache on the server. I don't have caching plugin's installed. Version is 1.6.2.0.
Any idea's?
Ok, sorry, this was probably just the setting "Persistent Shopping Cart" which can be found under System -> Configuration -> (Customers) Persistent Shopping Cart.

My Magento wishlist doesn’t work

I am running the Magento version 1.5.0.1 and I have a problem with the wishlist.
If the visitor clicks Add to wishlist without being logged in, the website redirects them to the login or register page, that's OK. The problem is that once the user create the account or log in, the wishlist is empty or that product never where added to the wishlist.
If the user is logged in and clicks "Add to wishlist" it works perfectly.
I appreciate any comment.

Magento cart stored client side or server side?

If a visitor adds items to their cart on a Magento site, could they follow a URL (maybe containing a session id?) from another machine an see the contents of their cart? Or is the cart stored in a cookie on the client side and therefore not available from another machine?
Thank You.
See the new persistent cart feature in 1.6 CE:
Magento stores a long-term cookie in each browser (per device) once the customer logs in or creates an account using that browser. The long term cookie allows us to re-create some of the session the user had when they were logged in previously. For example, a users shopping cart is re-created upon subsequent visits to the site. It does not allow the customer or another user to access sensitive information. The user will not be able to complete the checkout process or access account information unless they are officially logged in. Persistent shopping cart is completely configurable by merchants, provides an additional way for the merchant to strengthen customer satisfaction and loyalty and helps increase conversion rates.

Resources