Creating an invoice

For some stores, you need to create quotes or invoices for clients instead of being able to give them the typical e-commerce checkout experience. Maybe you need to calculate a custom shipping cost, give the user special pricing, or adjust the order to the quantities you actually have available.

Whatever the reason, you can manually create an invoice for a customer and send it to them. They can then view the invoice and pay for it.

How to do it…

For this recipe, we'll have to manually create a new order, assign the order to your customer, add all of the costs, and then send it to the customer.

  1. From the WordPress admin, go to WooCommerce | Orders.
  2. Click on Add Order:
    How to do it…
  3. Leave Order status as Pending Payment:
    How to do it…
  4. Select your customer from the Customer dropdown.

    Note

    It's much easier to already have the customer in your system.

    If you have a few extra moments, it's worth adding the customer to your site by going to Users | Add New and adding all of their details. When you're adding them, make sure to change their Role to Customer.

  5. Click on the pencil icon next to Billing Details.
  6. Click on Load billing address to load all of your customer details. If you don't have the customer in your system, you can manually fill out their billing details. You must fill out the Email field for them to receive any e-mails:
    How to do it…

    We've set all of the customer details. Now we need to configure the order itself. We'll have to add products, shipping costs, and taxes.

  7. Click on Add line item(s):
    How to do it…
  8. Click on Add product(s).
  9. Follow the directions in the pop-up window to add as many products as you like:
    How to do it…
  10. Once you've added the products to the order, you can adjust the quantities and product price by clicking on the pencil icon to edit the line item:
    How to do it…
  11. Click on Add shipping cost and then click on the pencil icon to manually enter the shipping cost and the name of the shipping cost as it appears to your customer (for example, USPS).
  12. Once you've added all of the products and shipping costs, click on the Save button:
    How to do it…
  13. Click on Calculate Taxes:

    How to do it…

  14. Click on Calculate Total.

    Alright, we're all done manually creating an order. Now we just need to send it to the customer.

  15. Scroll up and click on Save Order.

This will send out an e-mail to the customer, letting them know that they have a pending order, with a link to pay for the order. The pending order can also be found on their My Account page.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset