Jump to content

PHP script for automatic order of virtual products


limonaderose

Recommended Posts

Hi,

 

I have this very long list of orders (payed but made elsewhere than my shop) with customer ID, virtual product ID, etc.

 

I would like to wrtie a scrit which read this file and create automatically  a corresponding order. I know that manual order from my BO send an email with dowloadable link to the product: i would like my script to do the same.

 

Honnestly, I have no clue where to start.

Which files from prestashop are called when an order is created mannually? What are the inputs?

Any other way to do that?

 

Thanks a lot evertbody!

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