Jump to content

Creating on order on the backend


Asaf Levy

Recommended Posts

Hello, I'm writing a POS module and would like to create an Order object by using only a list of products and a customer.

The problem when creating this is that I do not have an associated cart and I don't know how the product_list variable should be populated, what is the structure needed for this?

Thanks in advance

Link to comment
Share on other sites

I have written a module that on the backend makes a list of product ids that I wish to be added to a new order, that currently doensn't exist, and i'm how the data should be formatted to the member product_list and what other members have to be populated before I call the add() method?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...