Jump to content

Create an order


e.negrobov

Recommended Posts

I am not good in server side, can anybody help me with the folowing:

I would like to implement a php script which creates an order in cart.

 

I am going to remove standart "Start checkout" button, add a new one. The button will open a popup with three fields only - name, phone and email. It will send a request to server, something like /createorder.php.

 

The script will get all products from cart, create a new user, select any default delivery and payment methods and create an order.

 

This information is enough for us.

 

I tried to use Order class but failed with filling all data. Is it possiblel to implement it easy?

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...