> For the complete documentation index, see [llms.txt](https://docs.spacetree.org/spacetree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spacetree.org/spacetree/woocommerce/selling-ebooks.md).

# Selling eBooks

### Setting Up WooCommerce

1. **Install and activate WooCommerce** plugin on your WordPress site.
2. Follow the **setup wizard** to configure basic settings, including your store's location, currency, and preferred payment methods.

### Adding an eBook Product

1. **Go to Products** in the WordPress dashboard.
2. Click on **Add New** to create a new product.
3. **Enter the product title** and a detailed description of your eBook.

### Configuring Product Data

1. In the **Product Data** box, select **Simple product**.
2. Check the **Virtual** and **Downloadable** options.
3. Under the **General** tab, set the **regular price** of your eBook. You can also set a **sale price** if desired.
4. In the **Downloadable Files** section:
   * Click on **Add file**.
   * Enter the **file name** and **upload the eBook file**.
   * You can add multiple files if needed.
5. Set the **Download limit** and **Download expiry** if necessary.

### Setting Product Categories and Tags

1. On the right side of the screen, you can **assign your eBook to a product category** (e.g., eBooks).
2. Add relevant **tags** to help with product searches.

### Adding a Product Image

1. Set a **product image** by clicking on **Set product image**. Choose an image that represents your eBook cover.
2. You can also add **product gallery images** if you have additional visuals.

### Publishing Your eBook

1. Once you have filled in all the necessary information, click on the **Publish** button.

### Managing Sales and Downloads

1. **Monitor your eBook sales** through the WooCommerce **Orders** section.
2. Customers will receive a **download link** via email after completing their purchase.
3. You can view and manage **customer downloads** under the **Downloads** section in WooCommerce.

### Promoting Your eBook

1. **Use WooCommerce’s built-in marketing tools** to promote your eBook.
2. Create **discount codes and special offers** to attract more customers.
3. **Integrate with social media platforms** to share your eBook with a wider audience.

By following these steps, you can efficiently sell eBooks using WooCommerce on your WordPress site.


---

# 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.spacetree.org/spacetree/woocommerce/selling-ebooks.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.
