Developer forum

Forum » Ecommerce - Standard features » Cart and Order

Cart and Order

Per Ljung
Reply
Hi!

When you look at the orders in the Ecom module, some orders are marked as cart and some as orders, what is the difference? First I thought "cart" were these orders that didn't have a customer number, but then I did a checkout without beeing logged in and that order got the status "order" too.

When is a cart created and when is an order created?

Best regards,
Per

Replies

 
Merethe Nielsen
Reply
Hi

Before checkout the "order" is marked as "cart". When you go to checkout, then the "cart" is converted to an "order".

The steps before checkout have the responsibility of showing the cart to the customer and
to get customer information from the customer, such as the delivery address.
The checkout step is a special step that performs all the logic of turning a cart into an
order. This includes letting the customer pay for the order through a payment gateway
such as DIBS or Quickpay.


Read more about the cart flow and checkout flow here:

Chapter 1.2 + 1.3:
 

http://developer.dynamicweb-cms.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fDevelopment%2feCommerce%2f(en-US)+Checkout+Handlers%2c+Shopping+Cart+v2.pdf

 

You must be logged in to post in the forum