Acting as a customer
Take a shopper's seat for a few minutes so you can place an order on their behalf, reproduce a checkout problem, or walk them through something they're stuck on.
When to use it
Acting as a customer is a short, time-limited session where you sign in to the site as one of your shoppers and do things on their behalf. You see exactly what they see, and any action you take is recorded as yours.
It's the right tool when:
- A shopper calls in and asks you to place an order for them using the card they already have on file.
- Someone reports a checkout problem and you need to reproduce what they see rather than guess from screenshots.
- A shopper is stuck partway through an order and wants you to finish it with them while they stay on the phone.
Who can act as a shopper
Acting as a customer is limited to market managers, who can act as any active shopper in their own market. For safety, a market manager can't act as another market manager. Growers, volunteers, and shoppers themselves can't use this feature at all—if a volunteer needs to help a shopper, a market manager has to do it.
A footnote on growers and volunteers: In rare cases you may need to act as a grower or volunteer account to troubleshoot something specific to that role. The same rules apply (you can act as them, but they can't act as you), and every action is logged the same way.
How to start
There are two places you'll find the "Act as" button:
- On the shoppers list at
/users/list, every row has an "Act as" button on the right side. Use this when you already know who you're looking for. - Inside the shopper detail modal (the one that opens when you click a shopper's name), there's an "Act as" button at the top. Use this when you want to glance at their account or cart first.
Either button opens a small dialog with an optional Reason field (up to 250 characters). The reason is for your own records and lands in the audit log—something short like "phone order, Tuesday pickup" or "reproducing failed checkout" goes a long way when you're reviewing the log a week later.
When you submit the dialog, the site signs you in as that shopper and drops you on their
storefront at /market.
Fill in the reason. It's optional, but future you (or your manager reviewing the log) will thank present you for it. One short phrase is plenty.
The banner and countdown
While you're acting as a shopper, a persistent banner sits at the top of every page. It shows:
- The shopper's name, so you never forget whose seat you're in.
- A countdown timer showing how long the session has left.
- A "Stop acting as [name]" button that ends the session immediately.
Sessions have two time limits, and whichever hits first wins:
- A 30-minute sliding window. Every action you take resets the timer back to 30 minutes. Active work keeps the session alive.
- A 2-hour hard cap from the moment you started. Even if you're actively clicking, the session ends two hours in.
The sliding window means you won't get kicked out mid-checkout, and the hard cap means a forgotten session can't linger all day.
What you can do
Most of the site works exactly as it does for the shopper:
- Browse the storefront the way they see it—with their pickup location, their pricing, and their available products.
- Manage their cart: add, remove, or change quantities on items.
- Place an order on their behalf using a card they already have on file. The order lands in their order history with a note identifying you as the market manager who placed it.
- Edit profile fields that you could already edit directly from customer management—name, email, mailing address, phone number, default pickup location.
In short: if it's a normal shopping or profile-tidying action, you can do it from inside an act-as session.
What's off-limits
Some actions are deliberately blocked while you're acting as someone else. If you try, you'll see a message telling you the action isn't available during an act-as session, and the attempt is recorded in the audit log.
The blocked actions are:
- Changing their password.
- Adding, saving, or removing a saved credit card. You can use a card that's already on file, but you can't add or delete one.
- Adding funds to their account balance. Adding funds charges a card right away, so the shopper has to do that part themselves.
- Deactivating their account.
- Toggling their email or mailing preferences.
Rule of thumb: if the action is an immediate charge or changes their credentials, saved cards, or account lifecycle, stop acting as them first and make the change through your normal admin tools instead. Everything else is fair game.
What the shopper sees
If the shopper happens to be signed in on their own device while you're acting as them, the site is upfront with them about it. A small banner on their side tells them:
- That "[Your first name] from your market is currently helping you" (filled in with your actual first name).
- When the session started.
- When it will auto-expire.
To keep the two of you from stepping on each other, their own cart and checkout writes are paused while the act-as session is active. They can browse, but they can't add to their cart or place an order of their own until you step out.
Orders you place during the session show up in their order history with a clear attribution note saying a market manager placed the order for them.
How to stop
You have three ways out of an act-as session:
- Click "Stop acting as [name]" in the banner at the top of the page. This is the normal way to end a session when you're done.
- Sign out. The signout flow notices you're acting as someone and pops a confirmation dialog that asks what you actually want: just stop acting as this shopper (and stay signed in as yourself), or sign out entirely.
- Do nothing. The session auto-expires after 30 minutes of inactivity or 2 hours total—whichever comes first.
Don't walk away from an open session. Auto-expiry is a safety net, not a workflow. If you're stepping away from your desk, stop the session first.
The audit log
Every act-as session is recorded. The log captures when a session starts, when it stops, every significant write made during it, every blocked action that was attempted, and whether the session ended cleanly or by expiry.
You can review your market's log at /admin/impersonation-audit.
Filters
You can narrow the log by:
- Date range.
- Event type: session started, session ended, action taken, action blocked, or session expired.
- Outcome: OK, blocked, or error.
- Manager name or email.
- Shopper name or email.
Downloading
A Download CSV button pulls down whatever matches your current filters, so you can hand a clean report to anyone who asks. Times are shown in your market's configured timezone.
Good habits
- Put the reason in when you start. A short phrase—"phone order," "checkout bug repro," "helping with membership"—makes the log readable when you or someone else reviews it later.
- Stop when you're done. Don't rely on auto-expiry. Hitting "Stop acting as [name]" is a one-click habit worth forming.
- Don't leave a session open while you walk away. Lock your screen at the very least, but ideally stop the session first.
- Confirm the order details out loud. If you're on the phone with a shopper, read the cart back to them before you place the order. It's easy to misread a quantity when you're typing for someone else.