Order processing in Shop-Script

Processing orders in Shop-Script means executing various actions on them. You may use default actions or also add your custom ones.

Basic order processing actions

Processing

Confirms that you have received an order and are ready to accept payment from a customer and to deliver ordered items.

On execution of “Processing” action, stock quantities of ordered products and their SKUs are reduced in the following cases:

  • If “Settings → Stocks → Update stock” setting is set to “Order was confirmed and accepted for processing”.
  • If “Settings → Stocks → Update stock” setting is set to “Order was placed” and the “Processing” action is executed on an order in “Refund” status.

Delete

Cancel processing of an order; e.g., if it’s a fake or test order.

What occurs on the execution of “Delete” action:

  • Loyalty bonuses received for a paid order are deducted from a customer’s account.
  • If “Settings → Stocks → Update stock” setting is set to “Order was placed” or “Order was confirmed and accepted for processing” and if stock quantities of ordered products and SKUs have been reduced during previous order processing, and if the “Delete” action is executed on an order not in “Refund” status, then stock quantities are restored.
  • Payment date of a paid order is cleared.
  • Sales reports data are re-calculated.
  • Customer’s total purchases’ amount is re-calculated.

Paid

Mark an order as paid to confirm to a customer that you have received their payment and so that your other staff knows that an order is ready for delivery.

What occurs on the execution of “Paid” action:

  • Loyalty bonuses are added to a customer’s account.
  • If “Settings → Analytics → Transaction date” setting is set to “Order was marked as paid or completed”, then current date is saved as order payment date; otherwise, order creation date is saved as the payment date.
  • Sales reports data are re-calculated.
  • Customer’s total purchases’ amount is re-calculated.
  • If “Settings → Stocks → Update stock” setting is set to “Order was confirmed and accepted for processing” and if stock quantities of ordered products and SKUs have not been reduced during previous order processing, then stock quantities are reduced.

Sent

Mark an order as delivered to a customer so that your staff knows that it’s time to prepare finalizing documents for an order to be completed. When this action is executed, there is an option to enter a tracking ID for yourselves and a customer to be able to track the delivery status.

What occurs on the execution of “Paid” action:

  • If “Settings → Stocks → Update stock” setting is set to “Order was placed” or “Order was confirmed and accepted for processing” and if stock quantities of ordered products and SKUs have not been reduced during previous order processing, then stock quantities are reduced.

Mark as Completed

Execute this action on a paid and delivered order to remove it from the list of not yet completed orders.

What occurs on the execution of “Mark as Completed” action:

  • Loyalty bonuses are added to a customer’s account.
  • If “Settings → Analytics → Transaction date” setting is set to “Order was marked as paid or completed”, then current date is saved as order payment date; otherwise, order creation date is saved as the payment date.
  • Sales reports data are re-calculated.
  • Customer’s total purchases’ amount is re-calculated.
  • If “Settings → Stocks → Update stock” setting is set to “Order was confirmed and accepted for processing” and if “Mark as Completed” action is executed on an order in “New” status, then stock quantities are reduced.

Refund

Execute this action if a customer has requested their money back and you agree to do so. Order status will be changed to “Refund”, and your staff will know that they may, and must, prepare documents required for an order refund in your organization.

What occurs on the execution of “Refund” action:

  • Online payment can be returned to a customer if “Actual refund” option is enabled when this action is executed.


  • Loyalty bonuses received for a paid order are deducted from a customer’s account.
  • Order payment date is cleared.
  • If “Settings → Stocks → Update stock” setting is set to “Order was placed” or “Order was confirmed and accepted for processing” and if stock quantities of ordered products and SKUs have been reduced during previous order processing, then stock quantities are restored.
  • Sales reports data are re-calculated.
  • Customer’s total purchases’ amount is re-calculated.

Restore

Change order status back to the one it had before deletion.

What occurs on the execution of “Restore” action:

  • Previously canceled loyalty bonuses are restored.
  • Previously cleared payment date of a paid order is restored.
  • Stock quantities of ordered products and their SKUs are reduced if they have been reduced during previous processing of an order before it was deleted and if “Restore” action is executed on an order in a status different from “Refund”.
  • Customer’s total purchases’ amount is re-calculated.

To execute an order action, click its button on the order-viewing page in “Orders” section.

Additional order actions

Edit order

Change any data related to a customer, including their address and name, to ordered items, and to the order in general, such as discount, shipping and payment methods.

Edit shipping details

Edit shipping tracking ID and courier delivery date and time.

Contact customer

Send messages to a customer whenever you require additional information on an order or to update a customer on the current order status. Messages can be sent by email or as text SMS. The latter is possible only if a telephone number is specified in a customer‘s profile and you have set up connection to an SMS provider.

To execute these additional actions, use links on the right.

Special actions

Add comment

A link to execute this action is located at the bottom of the order contents viewing area. Click it and type a message for yourself or a colleague of yours. It will not be visible to a customer.

Payment gateway callback

It’s a system action, which cannot be executed manually by a user. It is executed automatically when a payment gateway sends a special request to your online store; e.g., to update an order’s status. Information about its execution is stored in the order processing history.

Custom order processing actions

If you implement a complex workflow for processing orders in your online store, you may need to set up custom actions in section “Settings → Order states” using “Add action” link.

Read more about creating custom order actions.

Execution of order processing actions

Upon execution of an order action a log record is added to the order history block at the bottom of the order-viewing page. It is useful to handle various special cases when processing orders.

Most actions change the order status. For example, action “Processing” change order status from “New” to “Processing”. Some actions do not; e.g., “Contact customer” and “Add comment”.

For your custom actions set up in “Settings → Order states” section you are free to define whether they must or must not change the order status.

Availability of order payment in customer online account

For each order status you can decide whether an order in that status can be paid for in the customer online account. If online payment is marked as available, then a button to pay for an order is visible on the order-viewing page.

If it is important for to check every order before a customer can pay for it, enable “customers can pay for orders in this state in their personal accounts” option only for the status to which you will transfer orders after approval. For example, you may disable this option for all statuses except for “Confirmed” or any of your custom statuses; e.g., “Approved”.

0 comments

    Add comment

    To add a comment please sign up or login