Våra sajter
Litium Studio Knowledgecenter

Knowledge Center för Litium Studio

Litium Scensum Knowledge Center

Knowledge Center för Litium Scensum

Litium Partner

Återfinns information som partner till Litium.

Support

Order

A customer order placed in ECommerce is kept in a entity object called "Order". The Order object has following main components:

  • Order: Keeps basic information about order, and calculated fields of total order. (See Pricing Feileds of an order)
  • Order Rows: Products purchased & its quantity
  • Delivery and Delivery Rows: Information about Delivery
  • Customer Info: Information about customer
  • Payment Info: Information about payment
  • Addresses: Address information of delivery, customer and billing
  • Discounts and Fees: Discounts and fees applicable to the order
  • Order Campaigns: Campaings applicable at order level
  • Additional Info: Additional information about Order, Delivery or Payment

Following is a ER Diagram, as how the order object appears from a relational data perspective:

 

Prerequisites for Creating a Order Entity Object

To create a order object, you will need to have following enitities

  1. A Currency: This is found in Foundation. You can create currencies from Litium Studio Control Panel.
  2. Delivery Provider: You can create the providers from ECommerce Settings.
  3. Delivery Methods: You can create the delivery methods from Ecommerce Settings.
  4. Payment Providers: You have to configure payment providers you would like to use.

ECommerce campaigns are optional, they will give you special prices. You don't need to specifically attach a campaign to a order when creating the order, they will get applied by themselves into the order when order total calculations are running. see more info on Campaigns.

Creating the Order Object

To create the order object, rely on yourCheckout Flow. The checkout flow has a method specifically for creating the order, which you can change and implement yourself. You should rely on the checkout flow for creating all other information, such as Customer Information, Deliveries, Etc.

 

 


Share this

| More

Comments made

No comments are made

You need to be logged in to make a comment

Username*  


Password*  





Create your own user account!