# Basic selling flow

This is the basic selling flow on the TheShop frontstore. It is the easiest way how to connect a frontstore to TheShop API and build an eCommerce channel that can sell.

1. A customer lands on a homepage.
2. They visit the product list.
3. They choose any listed product and see its detail.
4. They add product to the shopping cart.
5. They review items in the shopping cart.
6. They choose shipping and payment method.
7. They create an order in the checkout.

This flow describes only the parts that are connected via API. All other parts are hard-coded within the TheShop template.


---

# Agent Instructions: 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://wiki.theshop.dev/docs/frontstore/basic-selling-flow.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.
