The Orders Page in the Sales section provides merchants with an efficient way to create, manage, and process orders. With the introduction of the Order SQID (Sequence ID), merchants can now easily track the sequence of orders placed in their store, ensuring better order organization and reference.
Step 1: Customer and Reference
Merchants initiate the order creation by selecting a customer. The customer is identified using their email address. This can be done through a dropdown list populated via AJAX, allowing the merchant to search for the customer’s email. The customer’s details will be automatically populated once an email is selected.
Step 2: Order Management
After creating the order, the merchant will be directed to a modal displaying the order details and controls.
The Billing Address and Shipping Address sections are integral to the order details. Merchants can update these addresses directly within the modal.
- Bill-to Address: This is the address to which the invoice will be sent. Merchants can edit this address by clicking the "Edit" button.
- Ship-to Address: This is the address where the order will be delivered. Similar to the billing address, this section is editable via an "Edit" button.
After creating the order, merchants can add products or custom items to the order. The order items are displayed in a table within the modal, showing the following details for each item:
- Item Name: The name of the product or custom item.
- Quantity: The number of units ordered.
- Subtotal: The total amount for the item (before discounts and taxes).
- Discount: Any discount applied to the item.
- Taxes: The taxes applied to the item.
- Amount: The final amount for the item after applying the discount and taxes.
- Status: The current status of the item (e.g., Pending, Shipped, Delivered).
Pricing Details
For each item, the following pricing information needs to be specified:
- Quantity: The number of items in the order.
- Price: The selling price for the item.
- Setup Fee: Any setup fees associated with the item (if applicable).
- Subtotal: The total price for the item (calculated as price multiplied by quantity).
- Discount: Any discounts applied to the item.
- Taxes: The percentage of taxes applied to the item.
Once the items are added to the order, the grand total for the order is automatically calculated and displayed at the bottom of the modal. This total includes all items, taxes, discounts, and any other adjustments.
Controls and Actions
Merchants can perform several actions within the order management modal:
- Apply Coupon: If a coupon is applicable, it can be applied to the order, affecting the subtotal or overall discount.
- Publish Order: Once order details are completed, merchants can publish the order directly by clicking the publish button.
Processing Published Orders
After publishing an order, merchants can start processing it:
- Create or Ship Items: Begin shipping items directly to the customer's address using the selected shipping method or process manually.
- Add Payment: Add payments to the order, including selecting a payment gateway and entering transaction details.
- Process Items and Shipments: For shippable orders, start shipping items using integrated shipping methods.
- Add Credit/Debit Notes: Reflect any billing changes by adding credit or debit notes to the order.