User Guide | Orders

When saving a customers cart data as an order, there can be a lot of data that needs to be saved.

The flexi cart save functions simplify this process by automating the cart data that is saved to the order database table, by using configurable settings via the config file.

Below is a compiled list of functions related to the carts order data.

Order User Guide Index

Order Config | Get Order Helper Data | Set Order Session Data | Order Admin Data

Order Configuration

Customise the configuration of the order database tables via the config file.

Order Config. File Settings

Getting Data

Get data from the carts session or database.
Cart Session Data

Database / Helper Data

Setting Data

Set data to the carts session or database.
Cart Session Data

Order Data
  • save_order()
    Saves cart data and manually submitted data to the order tables.
  • resave_order()
    Re-saves cart data and manually submitted data from a reloaded order, to the order tables.

Admin Data

Run database management functions.
Order Management Functions
  • get_refund_itemised()
    Returns an itemised query of refund totals for all items that have been cancelled within an order.
  • get_refund_summary()
    Returns a summary of refund totals for all items that have been cancelled within an order.

Order Table CRUD Functions

Order Status CRUD Functions