↑↓ selectEnter openEsc closeAll results

  1. Elbuz
  2. Elbuz User Guide
  3. Elbuz CMS online store
  4. Settings in the app
  5. Store modules
  6. Security

How to keep a guest's cart and a customer's login

3 min readUpdated

The store remembers customers between visits. A guest's cart is kept for days, not an hour, and a customer with “Remember me” skips the password. One screen in the Elbuz app sets it up.

When you need this:

  • A pricey purchase takes days to decide — the guest returns to a full cart.
  • Regular customers keep forgetting their password — they stay signed in for up to 365 days.
  • A signed-in laptop is lost — after a password change, no device signs in on its own.

Where to start: “Store settings” → “Security” → the “Saved cart and login” card → the “Enabled” switch.

What saved cart and login can do

How to turn it on

In a new store the module is off: a guest cart lasts an hour, and a login lasts until the browser is closed.

  1. Open “Store settings”, the “Security” section, the “Saved cart and login” card.
  2. Turn on the “Enabled” switch at the top of the screen.
  3. Check the two blocks: “Long sign-in” and “Guest cart”. Both parts are already on, with periods of 365 and 7 days.
  4. Click “Save”.
Saved cart and login module window with the long sign-in and guest cart blocks
1Enabled switch
2Remember login, days
3Remember logins without the tick
4Keep guest cart for, days
  1. Off in a new store: the guest cart then lives for one hour.
  2. From 1 to 3650 days, counted from the customer's last visit.
  3. Also remembers sign-ins made during checkout, registration or through social networks.
  4. From 1 to 365 days, 7 by default, counted from the moment the product was put in the cart.

The screen header shows the status, for example “sign-in — 365 days, guest cart — 7 days”. The parts work independently: you can keep only the cart or only the login. How “Save” works and how changes reach the store — see Store settings.

How long a guest cart is kept

A guest is a customer who hasn't signed in to an account. Without the module, the store deletes their cart after an hour. With it, after the number of days set in “Keep guest cart for, days”.

  • The period counts from when the item was added to the cart, not from the last visit.
  • The browser remembers the guest for the same number of days. When they come back, the items are still there, even if the browser was closed.
  • Once the guest signs in, the guest cart becomes the customer's cart.

The cart is tied to the browser. On a phone and a laptop the guest sees different carts, and once cookies are cleared, the cart can't be found. The same cart on every device is only available after signing in.

The store deletes old carts by itself whenever site pages are opened. A long period such as 365 days makes the store database grow — 7–30 days is usually enough.

How “Remember me” works

The site's sign-in page and sign-in window have a “Remember me” tick box when the module and “Remember customer login” are on. With it, the login survives closing the browser; without it, it doesn't.

Storefront login form with e-mail and password fields and the Remember me checkbox
1Remember me
  1. Remember me — when ticked, the customer stays signed in even after restarting the browser; when not, they are signed out as soon as the browser is closed.

The period in “Remember login for, days” counts from the last visit: every return to the site starts it over. A customer who visits monthly doesn't type the password for years.

Sign-in without the tick

Signing in during checkout, after registration or through social networks has no tick box. Such a login is remembered only if “Remember logins without the tick” is on. It's off by default: that's safer when customers order from other people's or shared computers.

How to sign out of every device

What happenedWhat happens to the long sign-in
The customer clicked “Log out”This device is forgotten, the others stay signed in
The password was changed — in the account, via “Forgot password?” or by the storeAll the customer's devices are forgotten: none signs in on its own anymore
The customer was disabled in the storeAutomatic sign-in doesn't work
The period passed with no visitsThe customer has to sign in with a password

If a laptop or phone signed in to the account is lost, change the password. No device will sign in on its own anymore; a tab left open is signed out after the site's inactivity timeout.

The password isn't stored in the browser: there's only a random key that changes on every sign-in. A stolen copy of the key stops working after that.

If you turn off “Remember customer login” or the whole module, the store stops signing customers in automatically: they type their password as usual.

Scenarios

Home appliances: choosing a fridge takes a week

Set “Keep guest cart for, days” to 14. The customer talks it over with the family and comes back ten days later — the fridge is in the cart, ready for checkout.

Gifts: a cart filled over a month

Before the holidays set 30 days, and switch back to 7 afterwards. The cart grows along with the gift list, and old carts don't pile up later.

Regular wholesale customers

Keep the 365-day login and turn on “Remember logins without the tick” if customers order from their own work computers. They see their prices and history without a password.

Orders from a tablet in the shop

If customers place orders on a shared tablet, keep “Remember logins without the tick” off. The next visitor won't end up in someone else's account.

FAQ

Can a guest see their cart on another device?

No, a guest cart lives in one browser. Only a signed-in customer has the same cart on every device.

Why was a customer signed out of their account?

They didn't tick “Remember me”, changed the password, clicked “Log out” or stayed away longer than the period. Or the store turned off the module or “Remember customer login” — then the site has no tick box — or disabled the customer.

Does the store remind a guest about the cart?

This module only keeps the cart. Reminder emails are covered in cart reminders.

Won't a long period bloat the database?

It will if there are many guests and the period is a year. For most stores 7–30 days is enough: old carts are deleted automatically.

What happens if I turn the module off?

A guest cart will again last an hour, and customers will sign in with a password. The settings are kept until you turn it on again.

Where it is and who has access

Menu
Store and ads → Store settings → “Security” → Saved cart and login
Access rights
the “Store settings” window in group permissions

Related topics

Was this article helpful?

Missing a feature? Tell us.

We will add it for free if other users need it too.

If only you need it, we will agree on it separately.

Article contents

Suggest an improvement

Try Elbuz free