> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-assign-order-to-customer-extension/assign-order-tab-in-frontend.md).

# Assign Order Tab in Frontend

In Frontend, your customer will able to find a separate tab under the hood of their account section to assign their guest order to the customer itself.

<figure><img src="/files/Wp1H8hZkILrBslWaJYA1" alt=""><figcaption></figcaption></figure>

Once the customer enters their guest order id in the box and clicks on the assign order button, the extension will show success message to the customers.

<figure><img src="/files/bteA24NEk4or1l2gxwGu" alt=""><figcaption></figcaption></figure>

If the order ID entered by the customer will not match the order email, the extension will show an error at the top for the same.

<figure><img src="/files/FYxs5GZk0N1urOFJfqzh" alt=""><figcaption></figcaption></figure>

If the customer enters the wrong guest order ID in the box, the extension will also show an error for the same.

<figure><img src="/files/mXXqfQRZ1PhXWIxy3MjP" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-assign-order-to-customer-extension/assign-order-tab-in-frontend.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
