Create a cart order and check it out

Use the following procedure to programmatically create a cart order and check it out. You need to perform the following:

  1. Create a cart order
  2. Associate a user with the cart order.
  3. Create the order details.
  4. Associate a product with the cart order.
  5. Associate a shipping method with the cart order.
  6. Create a cart payment.
  7. Associate a payment method with the cart order.

Use the following code sample:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?