Преглед на файлове

docs(core): Add user guide docs for draft orders

Michael Bromley преди 3 години
родител
ревизия
ae85cdef84
променени са 2 файла, в които са добавени 32 реда и са изтрити 0 реда
  1. 0 0
      docs/content/user-guide/orders/_index.md
  2. 32 0
      docs/content/user-guide/orders/draft-orders.md

+ 0 - 0
docs/content/user-guide/orders/index.md → docs/content/user-guide/orders/_index.md


+ 32 - 0
docs/content/user-guide/orders/draft-orders.md

@@ -0,0 +1,32 @@
+---
+title: "Draft Orders"
+---
+
+# Draft Orders
+
+{{% alert "warning" %}}
+Note: Draft Orders are available from Vendure v1.8+
+{{% /alert %}}
+
+Draft Orders are used when an Administrator would like to manually create an order via the Admin UI. For example, this can be useful when:
+
+- A customer phones up to place an order
+- A customer wants to place an order in person
+- You want to create an order on behalf of a customer, e.g. for a quote.
+- When testing Promotions
+
+To create a Draft Order, click the **"Create draft order"** button from the Order List view.
+
+From there you can:
+
+- Add ProductVariants to the Order using the search input marked "Add item to order"
+- Optionally activate coupon codes to trigger Promotions
+- Set the customer, shipping and billing addresses
+- Select the shipping method
+
+Once ready, click the **"Complete draft"** button to convert this Order from a Draft into a regular Order. At this stage the order can be paid for, and you can manually record the payment details.
+
+{{% alert "primary" %}}
+Note: Draft Orders do not appear in a Customer's order history in the storefront (Shop API) while still
+in the "Draft" state.
+{{% /alert %}}