<p>I don't think there is an easy workaround here as you're dealing with logged in user functionality, and by definition that's not really designed to be easy to workaround.  </p>

<p>Probably the easiest thing is for the admin to use the 'log in as XXX' functionality, and then complete the order for the customer (assuming the customer had a Craft account which is not, per se, a given with Commerce).  If they're guest customers, the admin should probably jsut log out, complete the order as a guest, and then log back in, basically.</p>

<p>Order entry for admins (via the backend) is on the Commerce plans, though, so a better solution may well appear.</p>

CC BY-SA 3.0
2017-02-15T04:16:58.667Z
2017-02-15T04:16:58.667Z
Jeremy Daalder
<p>The provided addresses template for the Craft Commerce checkout only shows the email to logged-out users. We need logged-in admin staff to be able to put orders through on behalf of a customer, over the phone. So, I'm showing the email input to logged-in users as well.</p>

<p>When the admin person arrives at the addresses template, the email field is pre-populated with the admin person's address. They replace their email with the customer's email. They submit.</p>

<p>The cart email remains the admin person's email address.</p>

<p>Can anyone think of a workaround for this?</p>

CC BY-SA 3.0
2017-02-14T15:12:22.557Z
Will these customers be Craft users or are they guests?
Luke Pearce
CC BY-SA 3.0
2017-02-15T09:36:00.850Z
The customers are guests.
Clive Portman
<users><plugin-craftcommerce><emails>
Cannot change cart email within Craft Commerce while logged-in
# Cannot change cart email within Craft Commerce while logged-in

(Asked by: username_0 on 2017-02-14)

The provided addresses template for the Craft Commerce checkout only shows the email to logged-out users. We need logged-in admin staff to be able to put orders through on behalf of a customer, over the phone. So, I'm showing the email input to logged-in users as well.

When the admin person arrives at the addresses template, the email field is pre-populated with the admin person's address. They replace their email with the customer's email. They submit.

The cart email remains the admin person's email address.

Can anyone think of a workaround for this?

**Tags:** users, plugin-craftcommerce, emails
> **Comments:**
> **username_1**: Will these customers be Craft users or are they guests?  
> **username_0**: The customers are guests.  

---

## 1 answers

### Answer by username_2 on 2017-02-15. Score: 2 | Accepted answer

I don't think there is an easy workaround here as you're dealing with logged in user functionality, and by definition that's not really designed to be easy to workaround.

Probably the easiest thing is for the admin to use the 'log in as XXX' functionality, and then complete the order for the customer (assuming the customer had a Craft account which is not, per se, a given with Commerce). If they're guest customers, the admin should probably jsut log out, complete the order as a guest, and then log back in, basically.

Order entry for admins (via the backend) is on the Commerce plans, though, so a better solution may well appear.


---

